My site works fine when served by Zope (http://www.aim23.com:8080/) But I don't understand the error when I try to access through pcgi on NT4 (http://www.aim23.com/aim.cms) (<class ZODB.POSException.StorageSystemError at 0061996C>, 'Could not lock the database file. There must be\nanother process that has opened the file.\n<p>') <!-- Traceback (innermost last): File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 150, in publish_module File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 57, in publish File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 208, in get_module_info File C:\PROGRA~1\Zope\lib\python\Zope\__init__.py, line 37, in ? File C:\PROGRA~1\Zope\lib\python\ZODB\FileStorage.py, line 213, in __init__ File C:\PROGRA~1\Zope\lib\python\ZODB\lock_file.py, line 51, in lock_file ImportError: (see above) Any ideas? T.
Hi Tom, any hint on Your Zope version could possibly intesting when mailing tracebacks ;-> (I actually started considering NFS issues first before looking at the filenames in the traceback ...)
My site works fine when served by Zope (http://www.aim23.com:8080/)
But I don't understand the error when I try to access through pcgi on NT4 (http://www.aim23.com/aim.cms)
(<class ZODB.POSException.StorageSystemError at 0061996C>, 'Could not lock the database file. There must be\nanother process that has opened the file.\n<p>')
This is a hard boiled error message You get any time the method failed, for what reason whatever. Maybe You could patch the code temporarily in C:\PROGRA~1\Zope\lib\python\ZODB\lock_file.py from try: LockFile(un,0,0,1,0) # just lock the first byte, who cares except: raise error, ( "Could not lock the database file. There must be\n" "another process that has opened the file.\n" "<p>") to simply: LockFile(un,0,0,1,0 and look at the underlying error message. Either You lack permission to lock, or You have started two Zopes accidentially, one on port 8080 and a different for pcgi ? (Just a thought.) Cheers, Clemens
Tom Nixon writes:
But I don't understand the error when I try to access through pcgi on NT4 (http://www.aim23.com/aim.cms)
(<class ZODB.POSException.StorageSystemError at 0061996C>, 'Could not lock the database file. There must be\nanother process that has opened the file.\n<p>') There is already a Zope process running...
Dieter
participants (3)
-
Clemens Klein-Robbenhaar -
Dieter Maurer -
Tom Nixon