Newbie question: Can't run on port 80
I've been running Zope 2.0.0b5 for a while on port 8080 under my own user id on my Linux box. However, I decided to try to run it on the standard port 80, but have not been having any luck. Here is what I did: - added '-w 80' option when starting Zope (i.e. ZServer) - 'chown nobody.nobody var' (to make 'nobody' the owner of the 'var' directory) - started Zope as su (superuser) It almost works, but right at the end of the Z2.py file where it tries to open the 'Z2.pid' file for writing, it gets a 'permission denied'. I'm not really much of a Unix/Linux expert, so I'm not sure what else I need to do to get the permissions set up correctly (BTW, there is no 'Z2.pid' file already in 'var' when I attempt to start Zope. I rm'ed it manually since it was owned by my normal user id from previous Zope sessions). Can any Linux gurus spare me a clue? TIA Dave Morrill
On Mon, Oct 18, 1999 at 04:56:17PM -0500, David C. Morrill wrote:
I've been running Zope 2.0.0b5 for a while on port 8080 under my own user id on my Linux box. However, I decided to try to run it on the standard port 80, but have not been having any luck. Here is what I did: - added '-w 80' option when starting Zope (i.e. ZServer) - 'chown nobody.nobody var' (to make 'nobody' the owner of the 'var' directory) - started Zope as su (superuser)
It almost works, but right at the end of the Z2.py file where it tries to open the 'Z2.pid' file for writing, it gets a 'permission denied'. I'm not really much of a Unix/Linux expert, so I'm not sure what else I need to do to get the permissions set up correctly (BTW, there is no 'Z2.pid' file already in 'var' when I attempt to start Zope. I rm'ed it manually since it was owned by my normal user id from previous Zope sessions). Can any Linux gurus spare me a clue? TIA
I belive port 80 is for privileged processes, i.e. the process must have root permission. I am no guru though ;) Regards, Rafa
Dave Morrill
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(Related lists - please, no cross posts or HTML encoding!
To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
-- Linux. The Choice of a GNU Generation! -> http://www.debian.org
participants (2)
-
David C. Morrill -
Rafael Cordones Marcos