Forum OpenACS Q&A: Re: 5.0: Installation: missing clue (running on port 80)

i've done this sudo trick on debian testing (aka sarge) and i can start it from the command line without a problem, but when i install a package and go to the page http://service0/acs-admin/server-restart i get this at start up:

[15/Feb/2004:20:48:10][6358.16384][-main-] Notice: nsmain: AOLserver/4.0 running
[15/Feb/2004:20:48:10][6358.16384][-main-] Notice: nsmain: security info: uid=1002, euid=1002, gid=103, egid=103
[15/Feb/2004:20:48:10][6358.32771][-sched-] Notice: sched: starting
[15/Feb/2004:20:48:10][6358.16384][-main-] Error: nssock: failed to listen on 67.119.161.85:80: Permission denied
[15/Feb/2004:20:48:10][6358.131081][-driver-] Notice: starting
[15/Feb/2004:20:48:10][6358.131081][-driver-] Notice: driver: accepting connections

why would a restart from the web server side give this error but running the run command as the service0 user work? Also i can do a killall nsd and daemontools starts it up just fine. Anybody have any ideas how to solve this?
Collapse
Posted by Vinod Kurup on
Hi Matthew,

There was a shutdown problem in AOLserver 4 that has only been recently fixed. Prior to the fix, it would take a kill -9 (or perhaps 2 kill's) to shutdown the AOLserver, thus causing the inability to bind to your desired port on restart. If you're not running AOLserver 4.01 or higher, then I'd try that.