<br><br><div><span class="gmail_quote">On 6/15/07, <b class="gmail_sendername">Maciej Wisniowski</b> <<a href="mailto:maciej.wisniowski@coig.katowice.pl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
maciej.wisniowski@coig.katowice.pl</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> Greetings<br>> thank you for your help.<br>> first i want to ask if i should reply to you like what i am doing now,<br>> or send the message to <a href="mailto:zope@zope.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
zope@zope.org</a> <mailto:
<a href="mailto:zope@zope.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">zope@zope.org</a>>? I am new<br>> to mailing lists and don't know the rules.<br>You should always stay on the list. It is common to just use 'Reply all'
<br>option when replying.
<br><br>> In my zope/log folder there is no event.log file, just a simple line<br>> readme.txt file.<br>> running the zopectl fg displayed the following:<br>><br>> /** OUTPUT **/<br>> /tmp/zope/bin/runzope -X debug-mode=on
<br>> 2007-06-15 09:33:41 INFO ZServer HTTP server started at Fri Jun 15<br>> 09:33:41 2007<br>> Hostname: <a href="http://0.0.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
0.0.0.0</a> <<a href="http://0.0.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://0.0.0.0</a>><br>> Port: 8080
<br>> 2007-06-15 09:33:51 INFO Zope Ready to handle requests<br>> Traceback (most recent call last):<br>> File "/opt/Zope-2.10/lib/python/Zope2/Startup/run.py", line 56, in ?<br>> run()<br>> File "/opt/Zope-
2.10/lib/python/Zope2/Startup/run.py", line 21, in run<br>> starter.prepare()<br>> File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line<br>> 111, in prepare<br>> self.setupFinalLogging
()<br>> File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line<br>> 372, in setupFinalLogging<br>> self.setupConfiguredLoggers()<br>> File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line
<br>> 254, in setupConfiguredLoggers<br>> self.cfg.eventlog()<br>> File<br>> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/factory.py", line<br>> 32, in __call__<br>> self.instance
= self.create()<br>> File<br>> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/logger.py", line<br>> 42, in create<br>> handler = handler_factory()<br>> File<br>> "/opt/Zope-
2.10/lib/python/ZConfig/components/logger/factory.py", line<br>> 32, in __call__<br>> self.instance = self.create()<br>> File<br>> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/handlers.py",
<br>> line 69, in create<br>> logger = self.create_loghandler()<br>> File<br>> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/handlers.py",<br>> line 87, in create_loghandler<br>> handler =
loghandler.FileHandler(path)<br>> File "/opt/Zope-<br>> 2.10/lib/python/ZConfig/components/logger/loghandler.py", line 34, in<br>> __init__<br>> StreamHandler.__init__(self, open(filename, mode))
<br>> IOError: [Errno 13] Permission denied: '/tmp/zope/log/event.log'<br>> /** END **/<br>So seems that you have incorrect permissions<br>set for /tmp/zope/log/event.log and<br>you need to change them or start zope as different user.
</blockquote>BTW you've chosen strange place (/tmp) to install your zope ;)
<div><br>what is strange is that event.log does not actually exist in the log folder, <br>I deleted the /tmp/zope folder and deleted the opt/Zope-2.10 , and installed zope again and created a new instance in /opt/zope.<br>
I am still working in root, and the problem still exist. running ./zopectl fg couldn't continue : <br><br>/** OUTPUT **/<br>[root@localhost bin]# ./zopectl fg<br>/opt/zope/bin/runzope -X debug-mode=on<br>2007-06-15 11:39:34 INFO ZServer HTTP server started at Fri Jun 15 11:39:34 2007
<br> Hostname: <a href="http://0.0.0.0">0.0.0.0</a><br> Port: 8080<br>2007-06-15 11:39:34 CRITICAL Zope A user was not specified to setuid to; fix this to start as root (change the effective-user directive in
zope.conf)<br>Traceback (most recent call last):<br> File "/opt/Zope-2.10/lib/python/Zope2/Startup/run.py", line 56, in ?<br> run()<br> File "/opt/Zope-2.10/lib/python/Zope2/Startup/run.py", line 21, in run
<br> starter.prepare()<br> File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line 98, in prepare<br> self.dropPrivileges()<br> File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line 234, in dropPrivileges
<br> return dropPrivileges(self.cfg)<br> File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line 403, in dropPrivileges<br> raise ZConfig.ConfigurationError(msg)<br>ZConfig.ConfigurationError: A user was not specified to setuid to; fix this to start as root (change the effective-user directive in
zope.conf)<br>/** END **/<br><br>When everything was ok in the past I was able to run zope through ./zopectl start (as a root)<br>but now the stop command displays that the daemon manager is not open.<br></div><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
--<br>Maciej Wisniowski<br><br><br><br></blockquote></div><br>