ZEO default install doesn't work with the 'user zope' directive in zeo.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.mkzeoinstance |
Invalid
|
Low
|
Unassigned |
Bug Description
Create a default install of Zope.
Run bin/mkzeoinstan
Chown -R all files in the ZEO instance directory to be owned by 'zope'.
edit $INSTANCE/
Attempt to start zeo as the root user. Parent process will spin and child processes will die silently.
The problem is that the logfile ($INSTANCE/
Therefore, the parent process needs to create the logfile as the 'zope' user (or whatever is defined in zeo.conf).
TRACEBACK:
[zope@directender zeo]$ bin/zeoctl start
. Traceback (most recent call last):
File "/zope/
main()
File "/zope/
d.main(args)
File "/zope/
self.
File "/zope/
RunnerOptio
File "/zope/
ZDOptions.
File "/zope/
self.
File "/zope/
RunnerOptio
File "/zope/
obj.startup()
File "/zope/
self()
File "/zope/
self.instance = self.create()
File "/zope/
handler = handler_factory()
File "/zope/
self.instance = self.create()
File "/zope/
logger = self.create_
File "/zope/
handler = loghandler.
File "/zope/
StreamHandl
IOError: [Errno 13] Permission denied: '/zope/
affects: | zope2 → zope.mkzeoinstance |
Changed in zope.mkzeoinstance: | |
status: | New → Confirmed |
Changes: submitter email, importance (medium => low), new comment
There is usually no need to install Zope/ZEO as root.
It is "best practice" to install Zope/ZEO as unprivileged user.