Support Requests item #608229, was opened at 2002-09-12 02:56
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=608229&group_id=3152
Category: Configuration: First-Time Startup
Group: aolserver4_0
Status: Open
Resolution: None
Priority: 5
Submitted By: Ho-seung Ahn (saaakan)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cant I use port 80?
Initial Comment:
I built and Installed Aolsever 4.0
But It cant operate using port 80. I'm using my workstation in
Firewall. This made only use port 80.
But only port 80 isn't listen to nssock.
< Error message >
nssock:fail to listen XXX.XXX.XXX.XXX:80 permission denied
What can I do for this status?
----------------------------------------------------------------------
>Comment By: Dossy Shiobara (dossy)
Date: 2002-10-19 17:49
Message:
Logged In: YES
user_id=21885
I would strongly urge that you DO not setuid root your nsd binary as
damickjj suggested. It is a very easy local root exploit at that point.
The correct thing to do is to run nsd as root but specify a non-privileged
user with -u and group with -g.
Ho-seung, did you resolve your problem? Can I close this ticket?
If not, could you please make sure that you're not running another
webserver on that machine, such as Apache, Tomcat, etc. If you are,
and they are already bound to port 80, you will not be able to start
AOLserver on port 80 to an IP that is already bound by another process.
-- Dossy
----------------------------------------------------------------------
Comment By: Jeffrey Damick (damickjj)
Date: 2002-09-16 22:12
Message:
Logged In: YES
user_id=50698
you must setuid the nsd to root, chown root:root bin/nsd, and
chmod 4755 bin/nsd, and then you can run it: su - nsadmin
bin/nsd -t sample.tcl -u nsadmin -g users
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2002-09-15 18:00
Message:
Logged In: NO
I experience the same problem.
It's impossible to start aolserver by use this option.
nsd -ft nsd.tcl -u root -g root
then it can't start with root.
----------------------------------------------------------------------
Comment By: Ho-seung Ahn (saaakan)
Date: 2002-09-13 00:13
Message:
Logged In: YES
user_id=610030
My Lab. partner found it that is no spport port 80. My
partner fix some codes and now excute to use port 80.
----------------------------------------------------------------------
Comment By: Ho-seung Ahn (saaakan)
Date: 2002-09-12 03:11
Message:
Logged In: YES
user_id=610030
I'm using Sparc Solaris 8.
Compile is well done.
I was run like this as root.
bin/nsd -ft sample-config.tcl -u saaakan -g root
If SERVER_PORT make 8000, 8001 or 81 then well work.
But using 80 make this error.
----------------------------------------------------------------------
Comment By: Andrew Piskorski (apiskors)
Date: 2002-09-12 03:01
Message:
Logged In: YES
user_id=43168
You need to give more information. How did you start
AOLserver? Give the command line you used, for instance.
Are you starting AOLserver as root? You must, as only root
is allowed to listen on port 80.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=203152&aid=608229&group_id=3152