[Zope] Unable to start Zope
Troy Farrell
troy@entheossoft.com
Fri, 25 Oct 2002 14:35:40 -0500
Please don't send HTML messages to the list.
It looks to me like your start script is not correct. You need to tell
zope a user to change to. As the instructions below say, you should
read the doc/SETUID.txt file:
If you do need to have ZServer listening on low ports, you will need to
start 'z2.py' as the 'root' user, and also specify what user ZServer
should 'setuid()' to. Do this by specifying the '-u' option followed
by a username or UID, either in the 'start' script or on the 'z2.py'
command line. The default used to be 'nobody'; however if any other
daemon on a system that ran as 'nobody' was compromised, this would
have opened up your Zope object data to compromise.
Troy
Bin Zhang wrote:
> I just downloaded Zope 2.6.0 to a Linux Redhat 7.1 machine. The install
> went without an error. But when I tried to start Zope it failed with
> the following messages.
>
> [root@server1 Zope-2.6.0-linux2-x86]# ./start
> ------
> 2002-10-25T14:14:26 INFO(0) zdaemon Started subprocess: pid 31825
> ------
> 2002-10-25T14:14:32 INFO(0) ZODB Opening database for mounting:
> '144044264_1035539076.794052'
> ------
> 2002-10-25T14:14:32 INFO(0) ZODB Mounted database
> '144044264_1035539076.794052' at /temp_folder
> ------
> 2002-10-25T14:14:33 INFO(0) ZServer HTTP server started at Fri Oct 25
> 14:14:33 2002
> Hostname: server1.datawisehawaii.com
> Port: 8080
> ------
> 2002-10-25T14:14:33 INFO(0) ZServer FTP server started at Fri Oct 25
> 14:14:33 2002
> Hostname: server1
> Port: 8021
> ------
> 2002-10-25T14:14:33 INFO(0) ZServer PCGI Server started at Fri Oct 25
> 14:14:33 2002
> Unix socket: /var/www/Zope-2.6.0-linux2-x86/var/pcgi.soc
> ------
> 2002-10-25T14:14:33 PANIC(300) z2 Startup exception
> Traceback (innermost last):
> Module __main__, line 836, in ?
> SystemExit: A user was not specified to setuid to; fix this to start as
> root (see doc/SETUID.txt)
> [root@server1 Zope-2.6.0-linux2-x86]#
>
> Can someone tell me what is wrong and how do I fix it? Thanks.
>
> BZ