can't create user with zopectl - Resource temporarily unavailable
Hi I've been trying to use adduser through zopectl on a dev instance of zope but get the following error. Is the lock file the problem? Thanks File "/opt/Zope-2.8/lib/python/ZODB/FileStorage/FileStorage.py", line 114, in __init__ self._lock_file = LockFile(file_name + '.lock') File "/opt/Zope-2.8/lib/python/ZODB/lock_file.py", line 63, in __init__ lock_file(self._fp) File "/opt/Zope-2.8/lib/python/ZODB/lock_file.py", line 42, in lock_file fcntl.flock(file.fileno(), _flags) IOError: [Errno 11] Resource temporarily unavailable
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 michael nt milne wrote:
Hi
I've been trying to use adduser through zopectl on a dev instance of zope but get the following error. Is the lock file the problem? Thanks
File "/opt/Zope-2.8/lib/python/ZODB/FileStorage/FileStorage.py", line 114, in __init__ self._lock_file = LockFile(file_name + '.lock') File "/opt/Zope-2.8/lib/python/ZODB/lock_file.py", line 63, in __init__ lock_file(self._fp) File "/opt/Zope-2.8/lib/python/ZODB/lock_file.py", line 42, in lock_file fcntl.flock(file.fileno(), _flags) IOError: [Errno 11] Resource temporarily unavailable
If you aren't running the appserver with a ZEO storage, you will need to stop the appserver before running 'inituser'. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD0lTN+gerLs4ltQ4RAtihAJ9yWGdsfdurhthOCpIdqDMcWBeflgCgx7mX g484NSG+1/7VuPvpONucW9c= =bp5N -----END PGP SIGNATURE-----
--On 21. Januar 2006 15:16:35 +0000 michael nt milne <michael.milne@gmail.com> wrote:
File "/opt/Zope-2.8/lib/python/ZODB/FileStorage/FileStorage.py", line 114, in __init__ self._lock_file = LockFile(file_name + '.lock') File "/opt/Zope-2.8/lib/python/ZODB/lock_file.py", line 63, in __init__ lock_file(self._fp) File "/opt/Zope-2.8/lib/python/ZODB/lock_file.py", line 42, in lock_file fcntl.flock(file.fileno(), _flags) IOError: [Errno 11] Resource temporarily unavailable
Try it again while your Zope instance is shutdown. -aj
participants (3)
-
Andreas Jung -
michael nt milne -
Tres Seaver