[Zope] Upgrade to 2.7.2 results in all content unavailable

Dan Fairs dan.fairs at gmail.com
Mon Apr 14 04:55:25 EDT 2008


> Wes Modes wrote at 2008-4-11 10:44 -0700:
>> ...
>>     File "/usr/lib/zope/lib/python/ZODB/lock_file.py", line 63, in
>>   __init__
>>       lock_file(self._fp)
>>     File "/usr/lib/zope/lib/python/ZODB/lock_file.py", line 42, in
>>   lock_file
>>       fcntl.flock(file.fileno(), _flags)
>>   IOError: [Errno 11] Resource temporarily unavailable
>
> This may be the essential hint.
>
> It tells you that the storage file is still used by a different
> process. In such a case, the ZODB cannot be opened.
>
> Ensure that no process uses the storage file.
>
>>


If this was an (ahem) 'unscheduled upgrade', the old Zope process(es)  
may be hanging around using the file. The 'ps', 'lsof' and 'kill'  
commands may help you here.

Cheers,
Dan

--
Dan Fairs <dan.fairs at gmail.com> | http://www.stereoplex.com/



More information about the Zope mailing list