[Zope] Zope crashes on request of certain page

Andreas Jung lists at zopyx.com
Fri Apr 7 04:43:36 EDT 2006



--On 7. April 2006 10:34:08 +0200 Sven Jacobs <jacobs at tedsoft.de> wrote:

>
> The only thing special about this page are calls of external Python
> methods from a custom extension. These methods don't do any special
> magic. They just open a MySQL database (using the MySQLdb module version
> 0.9.1) and return some HTML output.

A buggy extension can crash Zope..but this is not a Zope problem but a 
problem of the extension. Check for core dumps, enable core dumps using 
(ulimit from the shell), use gdb to debug core dumps if you can find some.
...that's the way to hunt down the problem.


>
> I was able to catch a somewhat informative error message when Zope was
> running in debug mode:
>
> 2006-03-27T12:18:57 PANIC(300) z2 Startup exception
> Traceback (innermost last):
>    File /opt/zope/z2.py, line 495, in ?
>      (Object: ZLogger)
>    File <string>, line 1, in ?
>    File /opt/zope/lib/python/Zope/__init__.py, line 37, in ?
>    File /opt/zope/lib/python/ZODB/FileStorage.py, line 202, in __init__
>    File /opt/zope/lib/python/ZODB/lock_file.py, line 29, in lock_file
> StorageSystemError: Could not lock the database file.  There must be
> another process that has opened the file.

Possibly a followup error. Check if there is some other process locking the 
file (using lsof). If not, remove the Data.fs.lock file.


>
> Operating system is SuSE Linux 8.0, Zope version is 2.5.0,

2.5.0? To be honest: upgrade _at_least_ to the latest 2.5.X version.
Don't expect that anyone seriously cares about a) very old releases
and b) .0 releases.

-aj

    -----------------------------------------------------------------------
   -   Andreas Jung            ZOPYX Ltd. & Co KG                        -
  -   E-mail: info at zopyx.com   Web: www.zopyx.com, www.zopyx.de         -
   -----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060407/692df8bd/attachment.bin


More information about the Zope mailing list