[Zope] zope stopped working suddenly

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Fri Jun 15 02:50:21 EDT 2007


> Greetings
> thank you for your help.
> first i want to ask if i should reply to you like what i am doing now,
> or send the message to zope at zope.org <mailto:zope at zope.org>? I am new
> to mailing lists and don't know the rules.
You should always stay on the list. It is common to just use 'Reply all'
option when replying.

> In my zope/log folder there is no event.log file, just a simple line
> readme.txt file.
> running the zopectl fg displayed the following:
>
> /** OUTPUT **/
> /tmp/zope/bin/runzope -X debug-mode=on
> 2007-06-15 09:33:41 INFO ZServer HTTP server started at Fri Jun 15
> 09:33:41 2007
>         Hostname: 0.0.0.0 <http://0.0.0.0>
>         Port: 8080
> 2007-06-15 09:33:51 INFO Zope Ready to handle requests
> Traceback (most recent call last):
>   File "/opt/Zope-2.10/lib/python/Zope2/Startup/run.py", line 56, in ?
>     run()
>   File "/opt/Zope-2.10/lib/python/Zope2/Startup/run.py", line 21, in run
>     starter.prepare()
>   File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line
> 111, in prepare
>     self.setupFinalLogging()
>   File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line
> 372, in setupFinalLogging
>     self.setupConfiguredLoggers()
>   File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line
> 254, in setupConfiguredLoggers
>     self.cfg.eventlog()
>   File
> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/factory.py", line
> 32, in __call__
>     self.instance = self.create()
>   File
> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/logger.py", line
> 42, in create
>     handler = handler_factory()
>   File
> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/factory.py", line
> 32, in __call__
>     self.instance = self.create()
>   File
> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/handlers.py",
> line 69, in create
>     logger = self.create_loghandler()
>   File
> "/opt/Zope-2.10/lib/python/ZConfig/components/logger/handlers.py",
> line 87, in create_loghandler
>     handler = loghandler.FileHandler(path)
>   File "/opt/Zope-
> 2.10/lib/python/ZConfig/components/logger/loghandler.py", line 34, in
> __init__
>     StreamHandler.__init__(self, open(filename, mode))
> IOError: [Errno 13] Permission denied: '/tmp/zope/log/event.log'
> /** END **/
So seems  that you have incorrect permissions
set for /tmp/zope/log/event.log and
you need to change them or start zope as different user.
BTW you've chosen strange place (/tmp) to install your zope ;)

-- 
Maciej Wisniowski





More information about the Zope mailing list