Re: DirectoryStorage + Zope 2.8 troubleshotting

Toby Dickenson <[email protected]> Wed, 8 Mar 2006 17:15:43 +0000
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Wednesday 08 Mar 2006 15:29, [email protected] wrote:
> Hi All,
>
> I have a small doubt. I'm currently running a Zope 2.8 and want to use
> DirectoryStorage to storage my DB instead of single data.fs file. When I
> follow the steps of the "install.txt" doc i have problems in step 11 while
> trying to restart Zope.
>
> The error message I get is: "Storage is locked by another process".
>
> Can anyone tell me what to do, or where to get related information?

You need to find out which process has taken the lock. Most likely this is 
another Zope that is already running.

On linux (and probably other unixes too) 'lsof' will tell you for sure:

sudo /usr/sbin/lsof +D /path/to/my/storage

-- 
Toby Dickenson


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642