Thank you read my letter. I install the Zope first , there is some error , I can't fix it . Can you help me ? After I install zope2.7.2 , I run it . Those error find in the screen: 2004-10-03T10:07:42 INFO(0) ZServer HTTP server started at Sun Oct 3 10:07:42 2 004 Hostname: localhost.localdomain Port: 8080 ------ 2004-10-03T10:07:42 INFO(0) ZServer FTP server started at Sun Oct 3 10:07:42 20 04 Hostname: localhost.localdomain Port: 8021 ------ 2004-10-03T10:07:42 PANIC(300) Zope A user was not specified to setuid to; fix t his to start as root (change the effective-user directive in zope.conf) Traceback (most recent call last): File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/run.py", line 50, in ? run() File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/run.py", line 19, in run start_zope(opts.configroot) File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/__init__.py", line 48, in sta rt_zope starter.dropPrivileges() File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/__init__.py", line 203, in dr opPrivileges return dropPrivileges(self.cfg) File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/__init__.py", line 313, in dr opPrivileges raise ZConfig.ConfigurationError(msg) ZConfig.ConfigurationError: A user was not specified to setuid to; fix this to s tart as root (change the effective-user directive in zope.conf) The Zope server can't be run , I think I do something wrong .But I don't know where I wrong . Thank you !
宋文文 wrote:
Thank you read my letter. I install the Zope first , there is some error , I can't fix it . Can you help me ? After I install zope2.7.2 , I run it . Those error find in the screen:
2004-10-03T10:07:42 INFO(0) ZServer HTTP server started at Sun Oct 3 10:07:42 2 004 Hostname: localhost.localdomain Port: 8080 ------ 2004-10-03T10:07:42 INFO(0) ZServer FTP server started at Sun Oct 3 10:07:42 20 04 Hostname: localhost.localdomain Port: 8021 ------ 2004-10-03T10:07:42 PANIC(300) Zope A user was not specified to setuid to; fix t his to start as root (change the effective-user directive in zope.conf) Traceback (most recent call last): File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/run.py", line 50, in ? run() File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/run.py", line 19, in run start_zope(opts.configroot) File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/__init__.py", line 48, in sta rt_zope starter.dropPrivileges() File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/__init__.py", line 203, in dr opPrivileges return dropPrivileges(self.cfg) File "/root/Zope-2.7.2-0/lib/python/Zope/Startup/__init__.py", line 313, in dr opPrivileges raise ZConfig.ConfigurationError(msg) ZConfig.ConfigurationError: A user was not specified to setuid to; fix this to s tart as root (change the effective-user directive in zope.conf)
The Zope server can't be run , I think I do something wrong .But I don't know where I wrong .
You can run runzope as a non-root user and leave effective-user unset in zope.conf file OR set effective-user to a non-root user in zope.conf and execute runzope as root. See "effective-user" directivers in zope.conf for more details. -- -tick
participants (2)
-
Vital Lobachevsky -
宋文文