Forum OpenACS Q&A: Another nsopenssl problem

Collapse
Posted by Luis Garcia on
OK, I got to pass the last problem following the advise of    
David Walker to check the error log file. I got that problem fixed.   
It was looking for a directory that did not exist.
Anyway, now it gets to pass all that and fails at the end. The   
error is as follows (this is the last line after about 100 pages of  
queries, etc.):
   
[12/May/2002:08:04:17][8926.1024][-main-] Fatal: nsssl: could not   
listen on 127.0.0.2:443: Permission denied   
   
Now, when I start the server without nsopenssl, it writes to the log   
file:   
   
nssock listening on 127.0.0.2:8000   
   
I did notice that it says 127.0.0.2:443 and not 127.0.0.2:8443. I   
don't know if that has anything to do with it. The truth is that the   
server still would not start with nsopenssl. Any ideas would be   
appreciated.   
Collapse
Posted by David Walker on
Look for the following lines in your config file and make sure they are commented out.
  ns_param nsssl ${bindir}/nsssle.so 
  ns_param nsssl ${bindir}/nsssl.so

When you do get around to trying to run your server on ports 80 and 443 you will need to start as root so that the server can use low numbered ports.
Collapse
Posted by Patrick Giagnocavo on
Unless the server is started as the root user, no ports numbered below 1025 can be used.

Either start the server as root, or modify your configuration file to have the server listen on 8443 instead of 443 (or any other number above 1024).

For instance, instead of

set httpsport              443

use

set httpsport              8443

This should fix the problem you are seeing - take heart, it's almost working!