i'm having the same problem with a little twist.  i'm trying to get
nsopenssl working as well, so i need to bind to two privileged ports.

if i bind to only one port like in one of the following lines:

/usr/local/aolserver/bin/nsd -t /etc/aolserver/newsite.tcl -u nsadmin -g
nsadmin -b 216.167.89.78:80

or

/usr/local/aolserver/bin/nsd -t /etc/aolserver/newsite.tcl -u nsadmin -g
nsadmin -b 216.167.89.78:443

then i have the same issues mentioned in the previous posts - i have to
stop, wait a few seconds, then restart, otherwise i get a permission
denied error.

however, if i try to bind to both ports:

/usr/local/aolserver/bin/nsd -t /etc/aolserver/newsite.tcl -u nsadmin -g
nsadmin -b 216.167.89.78:80 -b 216.167.89.78:443

or

/usr/local/aolserver/bin/nsd -t /etc/aolserver/newsite.tcl -u nsadmin -g
nsadmin -b 216.167.89.78:443  -b 216.167.89.78:80

then whichever is listed first will NEVER bind, no matter how long i wait
before restarting.

so the only workaround that i could figure out was that in my startup
script, i call BOTH lines:
/usr/local/aolserver/bin/nsd -t /etc/aolserver/newsite.tcl -u nsadmin -g
nsadmin -b 216.167.89.78:80 -b 216.167.89.78:443
AND
/usr/local/aolserver/bin/nsd -t /etc/aolserver/newsite.tcl -u nsadmin -g
nsadmin -b 216.167.89.78:443  -b 216.167.89.78:80

with each line, one of the ports won't be bound and the other will, but
the end result is that both end up being bound.  just so you know, when i
started typing this post, i hadn't though of this workaround, and that's
why i was posting.  but midway through my typing, aha!  and now it works
like a charm (assuming of course i wait a few seconds after stopping).

mkm


--
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