Re: [Zope] can't create user with zopectl - Resource temporarily unavailable
Thanks. I set up a new instance but yes that would be the issue. I hadn't stopped the zope server. By the way I had a couple of issues running the mkzopesintance.py file as non-root. Had to use a browser based webadmin tool to assign permissions. Would you know the unix syntax to assign read, write and execute permissions to a user on a whole directory which is required for running mkzopesintance.py under the non-root user? I tried chgrp and chmod but couldn't get it working command line. On 1/21/06, Andreas Jung <lists@andreas-jung.com> wrote:
--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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 michael nt milne wrote:
Thanks. I set up a new instance but yes that would be the issue. I hadn't stopped the zope server.
By the way I had a couple of issues running the mkzopesintance.py file as non-root. Had to use a browser based webadmin tool to assign permissions.
Would you know the unix syntax to assign read, write and execute permissions to a user on a whole directory which is required for running mkzopesintance.py under the non-root user?
I tried chgrp and chmod but couldn't get it working command line.
'chown -R' changes the ownership (including group, if specified) recursively; 'chmod -R' should apply the user-group-world settings recursively. 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 iD8DBQFD0nU8+gerLs4ltQ4RAos4AJ9HuasjpN50kOIvAOxl7vNUF+VMIwCZAVD1 axguVCWCue1cYGMHrSLNTCI= =QI39 -----END PGP SIGNATURE-----
On 21 Jan 2006, at 17:46, michael nt milne wrote:
Would you know the unix syntax to assign read, write and execute permissions to a user on a whole directory which is required for running mkzopesintance.py under the non-root user?
I tried chgrp and chmod but couldn't get it working command line.
Use the man pages: man chmod/man chown jens
participants (3)
-
Jens Vagelpohl -
michael nt milne -
Tres Seaver