[Zope] StorageSystemError: Could not lock the database file.

Paul Winkler pw_lists at slinkp.com
Fri Nov 21 14:21:32 EST 2003


On Fri, Nov 21, 2003 at 08:16:39PM +0100, Andre Meyer wrote:
> Oh dear, my Zope can start any longer! What can I do?
> This is what I get:
> 
> 
> [meyer at localhost meyer]$ zope/start
> ------
> 2003-11-21T20:13:23 INFO(0) zdaemon Started subprocess: pid 3607
> ------
> 2003-11-21T20:13:24 PANIC(300) z2 Startup exception
> Traceback (innermost last):
>   File /home/meyer/zope/z2.py, line 585, in ?
>   File /home/meyer/zope/lib/python/Zope/__init__.py, line 46, in startup
>     (Object: startup)
>   File /home/meyer/zope/lib/python/Zope/App/startup.py, line 53, in
> startup
>   File /home/meyer/zope/lib/python/ZODB/FileStorage.py, line 225, in
> __init__
>   File /home/meyer/zope/lib/python/ZODB/lock_file.py, line 33, in
> lock_file
> StorageSystemError: Could not lock the database file.  There must be
> another process that has opened the file.
> <p>
> [meyer at localhost meyer]$

1) Make sure you aren't actually still running zope.
maybe you have a process that you thought was dead, but isn't.

ps wax | grep python
ps wax | grep z2.py


2) If there's really no zope process running, delete the lock file.

ls -l var/Data.fs.lock
rm var/Data.fs.lock

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's NOBBY IDIOT SOCK!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list