I've been staring at this problem for a while now and can't seem to place my
finger on it.

I've compiled nsopenssl 3.x (CVS HEAD) against OpenSSL 0.9.7d, loading
nsopenssl in AOLserver 4.0 r3 appears to go flawless. Except for a OpenSSL
memory callback warning. The port nsopenssl listens to (443) has been
pre-bound but in the end openssl fails to listen to the port because
permission is denied.

Root started AOLserver w/ same user and group (nsadmin/web) which previously
worked well with nsopenssl 2.x and AOLserver 3.x.

See the relvant entries from the log below:

Notice: prebind: bound: 192.168.1.2:80
Notice: prebind: bound: 192.168.1.2:443

     42:[02/May/2004:21:27:36][21728.1024][-main-] Notice: modload: loading
'/usr/local/aolserver/bin/nsopenssl.so'
     43:[02/May/2004:21:27:37][21728.1024][-main-] Warning: nsopenssl:
OpenSSL memory callbacks failed in InitOpenSSL
     44:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): loading SSL context '7-sisters.com_ctx'
     45:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_ctx' ciphers loaded successfully
     46:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_ctx' using SSLv2 protocol
     47:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_ctx' using SSLv3 protocol
     48:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_ctx' using TLSv1 protocol
     49:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_ctx' key loaded successfully
     50:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_ctx' certificate loaded successfully
     51:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_ctx' CA file loaded successfully
     52:[02/May/2004:21:27:37][21728.1024][-main-] Notice: 7-sisters.com_ctx
(nsopenssl): session cache is turned on for sslcontext '7-sisters.com'
     53:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): loading SSL context '7-sisters.com_client_ctx'
     54:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_client_ctx' ciphers loaded successfully
     55:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_client_ctx' using SSLv2 protocol
     56:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_client_ctx' using SSLv3 protocol
     57:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_client_ctx' using TLSv1 protocol
     58:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_client_ctx' key loaded successfully
     59:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_client_ctx' certificate loaded successfully
     60:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): '7-sisters.com_client_ctx' CA file loaded successfully
     61:[02/May/2004:21:27:37][21728.1024][-main-] Notice:
7-sisters.com_client_ctx (nsopenssl): session cache is turned on for
sslcontext '7-sisters.com'
     62:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): default SSL context for server is 7-sisters.com_ctx
     64:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): default SSL context for client is 7-sisters.com_client_ctx
     66:[02/May/2004:21:27:37][21728.1024][-main-] Notice: nsopenssl
(7-sisters.com): loading '7-sisters.com_drv' SSL driver
   3471:[02/May/2004:21:28:29][21728.1024][-main-] Error: nsopenssl: failed
to listen on 192.168.1.2:443: Permission denied

/Bart


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to