<br><br><div><span class="gmail_quote">On 6/15/07, <b class="gmail_sendername">Maciej Wisniowski</b> &lt;<a href="mailto:maciej.wisniowski@coig.katowice.pl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
maciej.wisniowski@coig.katowice.pl</a>&gt; 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>&gt; Greetings<br>&gt; thank you for your help.<br>&gt; first i want to ask if i should reply to you like what i am doing now,<br>&gt; 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> &lt;mailto:
<a href="mailto:zope@zope.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">zope@zope.org</a>&gt;? I am new<br>&gt; to mailing lists and don&#39;t know the rules.<br>You should always stay on the list. It is common to just use &#39;Reply all&#39;
<br>option when replying.
<br><br>&gt; In my zope/log folder there is no event.log file, just a simple line<br>&gt; readme.txt file.<br>&gt; running the zopectl fg displayed the following:<br>&gt;<br>&gt; /** OUTPUT **/<br>&gt; /tmp/zope/bin/runzope -X debug-mode=on
<br>&gt; 2007-06-15 09:33:41 INFO ZServer HTTP server started at Fri Jun 15<br>&gt; 09:33:41 2007<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hostname: <a href="http://0.0.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
0.0.0.0</a> &lt;<a href="http://0.0.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://0.0.0.0</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port: 8080
<br>&gt; 2007-06-15 09:33:51 INFO Zope Ready to handle requests<br>&gt; Traceback (most recent call last):<br>&gt;&nbsp;&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/run.py&quot;, line 56, in ?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; run()<br>&gt;&nbsp;&nbsp; File &quot;/opt/Zope-
2.10/lib/python/Zope2/Startup/run.py&quot;, line 21, in run<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; starter.prepare()<br>&gt;&nbsp;&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py&quot;, line<br>&gt; 111, in prepare<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; self.setupFinalLogging

()<br>&gt;&nbsp;&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py&quot;, line<br>&gt; 372, in setupFinalLogging<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; self.setupConfiguredLoggers()<br>&gt;&nbsp;&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py&quot;, line
<br>&gt; 254, in setupConfiguredLoggers<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; self.cfg.eventlog()<br>&gt;&nbsp;&nbsp; File<br>&gt; &quot;/opt/Zope-2.10/lib/python/ZConfig/components/logger/factory.py&quot;, line<br>&gt; 32, in __call__<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; self.instance

 = self.create()<br>&gt;&nbsp;&nbsp; File<br>&gt; &quot;/opt/Zope-2.10/lib/python/ZConfig/components/logger/logger.py&quot;, line<br>&gt; 42, in create<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; handler = handler_factory()<br>&gt;&nbsp;&nbsp; File<br>&gt; &quot;/opt/Zope-
2.10/lib/python/ZConfig/components/logger/factory.py&quot;, line<br>&gt; 32, in __call__<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; self.instance = self.create()<br>&gt;&nbsp;&nbsp; File<br>&gt; &quot;/opt/Zope-2.10/lib/python/ZConfig/components/logger/handlers.py&quot;,
<br>&gt; line 69, in create<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; logger = self.create_loghandler()<br>&gt;&nbsp;&nbsp; File<br>&gt; &quot;/opt/Zope-2.10/lib/python/ZConfig/components/logger/handlers.py&quot;,<br>&gt; line 87, in create_loghandler<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; handler = 
loghandler.FileHandler(path)<br>&gt;&nbsp;&nbsp; File &quot;/opt/Zope-<br>&gt; 2.10/lib/python/ZConfig/components/logger/loghandler.py&quot;, line 34, in<br>&gt; __init__<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; StreamHandler.__init__(self, open(filename, mode))
<br>&gt; IOError: [Errno 13] Permission denied: &#39;/tmp/zope/log/event.log&#39;<br>&gt; /** END **/<br>So seems&nbsp;&nbsp;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&#39;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&nbsp; , 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&#39;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hostname: <a href="http://0.0.0.0">0.0.0.0</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/run.py&quot;, line 56, in ?<br>&nbsp;&nbsp;&nbsp; run()<br>&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/run.py&quot;, line 21, in run
<br>&nbsp;&nbsp;&nbsp; starter.prepare()<br>&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py&quot;, line 98, in prepare<br>&nbsp;&nbsp;&nbsp; self.dropPrivileges()<br>&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py&quot;, line 234, in dropPrivileges
<br>&nbsp;&nbsp;&nbsp; return dropPrivileges(self.cfg)<br>&nbsp; File &quot;/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py&quot;, line 403, in dropPrivileges<br>&nbsp;&nbsp;&nbsp; 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&nbsp; 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>