--On 7. April 2006 10:34:08 +0200 Sven Jacobs <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]   Web: www.zopyx.com, www.zopyx.de         -
  -----------------------------------------------------------------------

Attachment: pgpGkGTIUREtE.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to