All pastes #54353 Raw Edit

Stuff

public text v1 · immutable
#54353 ·published 2006-05-08 17:01 UTC
rendered paste body
On Friday 04 June 2004 09:28, Vincenzo Di Somma wrote:

> > Use ps to see if there are any stale processes from the server that
> > you attempted to stop. Sometimes I've had zope get wedged and refuse
> > to completely shut down.
> > kill -4 usually does the trick for me, and seems to be a bit less
> > harsh than kill -9.
>
> Already checked this and it doesn't solve the problem, thanks.

How did you check which process might need killing? I suggest 'lsof' on linux 
to see which processes have opened the file
/your/storage/directory/misc/sublock

> > > /usr/lib/zope/lib/python/ZODB/lock_file.py, line 33, in lock_file

If you cant find a process to kill, this file is where I suggest you start 
debugging.

> > > StorageSystemError: Could not lock the database file.  There must
> > > be another process that has opened the file.

Which versions of zope and directorystorage are you using? I dont see that 
exception text in the version I have here.