Cannot run backup script
Ed Leafe <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb.dirstorage |
|---|---|
| Message-ID | <[email protected]> |
Hi,
First, I want to thank Toby for all his help in recovering from a
recent hard drive failure on my server. Thanks to him, things are back
to normal now on the website.
I'm now trying to automate making backups via a script that runs from
a cron job that fires early every morning. But when it runs, either via
cron or manually, I get the following error:
Traceback (most recent call last):
File "snapshot.py", line 259, in ?
main()
File "snapshot.py", line 61, in main
s.acquire()
File "snapshot.py", line 108, in acquire
lock_file(f)
File "/usr/local/zope/2.7.1/lib/python/ZODB/lock_file.py", line 42,
in lock_file
fcntl.flock(file.fileno(), _flags)
IOError: [Errno 11] Resource temporarily unavailable
I'm running Zope 2.7.1 on Fedora Core 2, and the script is being run
by root's cron. Any idea what this error is, and how to correct it?
___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://dabodev.com/
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click