On 8/23/06, Kamal Gill <[EMAIL PROTECTED]> wrote:
The error is caused by an improper permission setting in /log/zeo.log when the daemon starts up.
Hi Kamal, thanks for responding but the problem still stands. The tutorial included instructions to change the permissions (to 755, not 775 - which I followed). I changed the permissions as you suggested, but it hasn't stopped the error occuring. I even tried 777 for the log directory and the log file, so I don't think that's it. Looking at the .py file it seems the error is around opening a socket (and perhaps setting it to 700 as well). I'll try the Zope list if there's no more ideas as to the resolution - that .py file is beyond my understanding Perhaps it has something to do with the user private groups in RHEL? I'm using: CentOS 3.7 Python 2.4.3 Zope 2.9.4 Plone 2.5 -- Ben
This is an annoying bug that probably should be reported to the Zope development team. For a workaround, see the following lines the the Plone 2.5 Unified (UNIX/Linux) Installer's install.sh script. --snip-- ########################################### # Pre-initialize log file and set appropriate permissions # (if unset, ZEO server refuses to start as an unprivileged user via 'zeoctl start') touch $ZEOSERVER_HOME/log/zeo.log chmod 775 $ZEOSERVER_HOME/log/zeo.log --snip-- HTH, Kamal On Aug 22, 2006, at 1:28 AM, Ben wrote: > I am receiving error messages when attempting to start ZEO in daemon > mode. I have looked up several tutorials, but they are all out of > date, or don't help. > > I have setup ZEO according to: > http://plone.org/documentation/tutorial/robust-installation > which is why I'm posting here, rather than on the Zope lists. > > I receive an error message and a progressive series of dots when I > attempt to start ZEO: > > [EMAIL PROTECTED] zope]$ zeo/bin/zeoctl start > . Traceback (most recent call last): > File "/opt/zope/zope/lib/python/zdaemon/zdrun.py", line 719, in ? > main() > File "/opt/zope/zope/lib/python/zdaemon/zdrun.py", line 716, in main > d.main(args) > File "/opt/zope/zope/lib/python/zdaemon/zdrun.py", line 243, in main > self.run() > File "/opt/zope/zope/lib/python/zdaemon/zdrun.py", line 256, in run > self.opensocket() > File "/opt/zope/zope/lib/python/zdaemon/zdrun.py", line 278, in > opensocket > sock.bind(tempname) > File "<string>", line 1, in bind > socket.error: (13, 'Permission denied') > . . . . . . . . [dots continue to appear at a regular interval] > > If I start ZEO using: > zeo/bin/runzeo > > then all is fine, the Zope clients connect, etc. but it logs to the > console and I want to run in daemon mode. > > TIA > > Ben > > _______________________________________________ > Setup mailing list > [email protected] > http://lists.plone.org/mailman/listinfo/setup
_______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
