[Zope] Update to: Zope crashed when running RDFSummaryUpdate script

Michael michael@exasource.com
Mon, 4 Nov 2002 14:04:17 -0700


I tried once again to stop and restart zope and it started up fine.  Apache 
would still not start, giving the same error 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

I then commented out the lines in httpd.conf referring to FastCGI, restarted 
Apache, with Zope running and everything seems to work fine.  I don't 
understand.

Michael

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

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

-------------------------------------------------------

-- 
Michael Lewis
Nichestaffing.com
Web: http://www.nichestaffing.com
Email: mlewis@nichestaffing.com
Phone: 970-472-1241
Fax: 970-472-8497

"Whatever you can conceive and believe, you can achieve"