Zope crashed when running RDFSummaryUpdate script
I just experienced a strange problem. I'm running Zope 2.44, Python 2.13 and Apache 1.3.22. I was attempting to run my RDFSummaryUpdate script: <dtml-with RDF> <dtml-in "objectValues('RDF Summary')"> <dtml-with sequence-item> <dtml-call "update()"> </dtml-with> </dtml-in> </dtml-with> and it apparently hosed Zope. It appeared to be locked up as it was not responding to anything any longer. I tried stopping and re-starting Zope and it made no difference. I tried stopping and restarting Apache and I got this message: Syntax error on line 260 of /usr/local/apache/conf/httpd.conf: FastCgiIpcDir /tmp: can't create dynamic directory "/tmp/dynamic": access for server (uid -1, gid -1) failed: read not allowed /usr/local/apache/bin/apachectl start: httpd could not be started The following first line is line 260 on httpd.conf: FastCgiIpcDir /tmp FastCgiExternalServer /usr/local/apache/htdocs/zope \ -socket zope.soc \ -pass-header Authorization This is apparently the only error, as when i commented this out Apache started fine. Any ideas on how to recover Zope, and could the update script have actually caused this, or was this just some weird timing, coincience thing? Here is the entry to nohup file: ------ 2002-11-04T18:49:42 PROBLEM(100) Init Ambiguous name for method of Products.SiteAccess.SiteRoot.SiteRoot: "manage" != "manage_main" ------ 2002-11-04T18:49:43 PANIC(300) z2 Startup exception Traceback (innermost last): File /usr/local/zope/z2.py, line 564, in ? File <string>, line 1, in ? File /usr/local/Zope-2.4.4-src/lib/python/Zope/__init__.py, line 110, in ? File /usr/local/zope/lib/python/ZODB/FileStorage.py, line 267, in __init__ File /usr/local/zope/lib/python/ZODB/lock_file.py, line 101, in lock_file StorageSystemError: Could not lock the database file. There must be another process that has opened the file. <p> michael
Michael writes:
... Syntax error on line 260 of /usr/local/apache/conf/httpd.conf: FastCgiIpcDir /tmp: can't create dynamic directory "/tmp/dynamic": access for server (uid -1, gid -1) failed: read not allowed Please check the permissions of "/tmp/dynamic".
Apparently, the Apache process cannot read this directory. Dieter
Thanks Dieter, Apparently when it went down, it ripped FastCgi out of the path. The directory is still there but Apache is looking in /tmp/dynamic instead of /tmp/fastcgi/dynamic. We changed the permissions on tmp/dynamic and it appears to work fine. Thanks again. michael On Tuesday 05 November 2002 12:36 pm, Dieter Maurer wrote:
Michael writes:
... Syntax error on line 260 of /usr/local/apache/conf/httpd.conf: FastCgiIpcDir /tmp: can't create dynamic directory "/tmp/dynamic": access for server (uid -1, gid -1) failed: read not allowed
Please check the permissions of "/tmp/dynamic".
Apparently, the Apache process cannot read this directory.
Dieter
participants (2)
-
Dieter Maurer -
Michael