• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

Python Errors when I attempt to set a password for Zope user

My objective is to install Plone

I am using Centos Linux 4.0
Python 2.4

Based on my findings I require Zope up and running
First I tried Zope version 3.2.1 from a tar.gz package
zopetest failed so I decided to find an RPM package to simplify the install.

Found Zope 2.7.2 RPM and that installed ok
Started up the zope server
tried to login via port 8080/manager
Initial page said I require users
attempted to add users with "zopectl adduser admin 1234"

Following errors came up:

Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/zope/lib/python/Zope/__init__.py", line 51, in app
  File "/usr/lib/zope/lib/python/Zope/__init__.py", line 47, in startup
  File "/usr/lib/zope/lib/python/Zope/App/startup.py", line 57, in startup
    DB = configuration.dbtab.getDatabase('/', is_root=1)
  File "/usr/lib/zope/lib/python/DBTab/DBTab.py", line 96, in getDatabase
    db = self._createDatabase(name, is_root)
  File "/usr/lib/zope/lib/python/DBTab/DBTab.py", line 113, in _createDatabase
    db = factory.open()
  File "/usr/lib/zope/lib/python/Zope/Startup/datatypes.py", line 172, in open
    DB = self.createDB()
  File "/usr/lib/zope/lib/python/Zope/Startup/datatypes.py", line 169, in createDB
    return ZODBDatabase.open(self)
  File "/usr/lib/zope/lib/python/ZODB/config.py", line 97, in open
    return ZODB.DB(section.storage.open(),
  File "/usr/lib/zope/lib/python/ZODB/config.py", line 128, in open
  File "/usr/lib/zope/lib/python/ZODB/FileStorage.py", line 232, in __init__
    self._lock_file = LockFile(file_name + '.lock')
  File "/usr/lib/zope/lib/python/ZODB/lock_file.py", line 62, in __init__
  File "/usr/lib/zope/lib/python/ZODB/lock_file.py", line 42, in lock_file
    fcntl.flock(file.fileno(), _flags)
IOError: [Errno 11] Resource temporarily unavailable

Not sure how to resolve this problem.
1 Solution
Stop Zope before adding user via command line (or add users from inside Zope).

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now