[Zope] Re: can't create user with zopectl - Resource temporarily unavailable
-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 [EMAIL PROTECTED] 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- ___ 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 )
[Zope] Re: can't create user with zopectl - 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 [EMAIL PROTECTED] 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- ___ 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 )