Has anyone seen this problem on Solaris? Brad Chick wrote on 12/2/03, 10:43 AM:
> On Tue, 2 Dec 2003 13:41:04 -0000, Bas Scheffers <[EMAIL PROTECTED]> > wrote: > > I'll vouch for the non-restarting unless the -b flag is provided. That > behavior has been consistent since the move to 4. > > Relatedly, it is difficult to restart aolserver, because aolserver > seems to > hang on to port 80. > > We have aolserver in the inittab with > > /usr/local/aolserver4/bin/nsd -it /usr/local/aolserver4/nsd.tcl -u > nsadmin > -b 209.133.111.72:80 > > But when it hangs (which is often), we can't just kill all the processes, > because when we do, we always get: > > [02/Dec/2003:15:28:22][21164.1024][-main-] Error: nssock: failed to > listen > on 209.133.111.72:80: Permission denied > > when inittab tries to bring it up again. > > So, we have to kill the processes twice. And you have to wait a couple of > seconds before you kill them again, or it will have the same nssock > error. > > Thanks > > >Artur Meski said: > >> I would like to know if it's possible to set httpport in the > >> configuration file or I have to specify it on the command line (if > it's > >> privileged port). > >Well, it should be possible. And it was possible in 3.5.6, which I was > >using before last week. I wasn't running on a privileged port on 4.0, > so I > >didn't notice this bug, which I now think it is. > > > >To recap: > >starting the server as root on a port <1024 defined in nsd.tcl, > switching > >to an unprivileged user "nsd" with -u: > >[02/Dec/2003:13:24:44][26609.3209707648][-main-] Error: nssock: > failed to > >listen on 127.0.0.1:81: Permission denied > > > >Starting as root with the same command line, but adding "-b > 127.0.0.1:81", > >server starts fine. > > > >Starting the server on a port >1024 defined in the config file works > fine > >as well. > > > >Another bug(?): when I send the server a normal kill (TERM), it comes so > >far as: > >[02/Dec/2003:13:35:48][26689.3209711744][-main-] Notice: nsmain: > >AOLserver/4.0 stopping > >[02/Dec/2003:13:35:48][26689.3209711744][-main-] Notice: serv: stopping > >server: server1 > >[02/Dec/2003:13:35:48][26689.3209711744][-main-] Notice: serv: > connection > >threads stopped > >[02/Dec/2003:13:35:48][26689.3209711744][-main-] Notice: driver: > shutdown > >complete > > > >But doesn't actualy exit. I need to send it another TERM to make it > exit. > > > >This is all running on "Linux wombat 2.4.22-1.2088.nptl #1 Thu Oct 9 > >20:39:56 EDT 2003 i686 athlon i386 GNU/Linux" which is the Fedora final > >beta distribution. ("Severn") > > > >Bas. > > > > > >-- > >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. > > > -- > 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. > -- 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.