[Zope] Listening on specific interfaces

Martijn Pieters mj@digicool.com
Tue, 7 Mar 2000 17:50:46 +0100


From: "Pearson, Brian Edward (GEA, 056278)" <BRIAN.PEARSON@APPL.GE.COM>
> $ ./start -a 3.130.232.27 -w 80 -f 8021 -m 8099
> Traceback (innermost last):
>   File "/opt/devnet-zope/Zope-2.1.4-solaris-2.6-sparc/z2.py", line 493, in
?
>     logger_object=lg)
>   File
> "/opt/devnet-zope/Zope-2.1.4-solaris-2.6-sparc/ZServer/medusa/http_server
> .py", line 552, in __init__
>     self.bind ((ip, port))
>   File
> "/opt/devnet-zope/Zope-2.1.4-solaris-2.6-sparc/ZServer/medusa/asyncore.py
> ", line 205, in bind
>     return self.socket.bind (addr)
> socket.error: (13, 'Permission denied')

Hmm.. are you sure you are starting Zope as a priviliged user, like root?
Zope can only bind to port 80 if started as a priviliged user (it will not
run as a priviliged user, rather, it will, by default, switch to 'nobody').

The permission denied error is clear pointer in this direction.

Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------