[Zope] help me!

Vital Lobachevsky tick at web.vi
Sun Oct 3 02:53:54 EDT 2004


宋文文 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3146 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.zope.org/pipermail/zope/attachments/20041003/e1651c6a/smime.bin


More information about the Zope mailing list