Re: [Zope] can't create user with zopectl - Resource temporarily unavailable

2006-01-21 Thread Jens Vagelpohl


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

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] can't create user with zopectl - Resource temporarily unavailable

2006-01-21 Thread michael nt milne
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 <[EMAIL PROTECTED]> wrote:
--On 21. Januar 2006 15:16:35 + michael nt milne<
[EMAIL PROTECTED]> 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 unavailableTry it again while your Zope instance is shutdown.-aj
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] can't create user with zopectl - Resource temporarily unavailable

2006-01-21 Thread Andreas Jung



--On 21. Januar 2006 15:16:35 + michael nt milne 
<[EMAIL PROTECTED]> 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





pgpyBhI9Y1uHB.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )