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/", line 51, in app
  File "/usr/lib/zope/lib/python/Zope/", line 47, in startup
  File "/usr/lib/zope/lib/python/Zope/App/", line 57, in startup
    DB = configuration.dbtab.getDatabase('/', is_root=1)
  File "/usr/lib/zope/lib/python/DBTab/", line 96, in getDatabase
    db = self._createDatabase(name, is_root)
  File "/usr/lib/zope/lib/python/DBTab/", line 113, in _createDatabase
    db =
  File "/usr/lib/zope/lib/python/Zope/Startup/", line 172, in open
    DB = self.createDB()
  File "/usr/lib/zope/lib/python/Zope/Startup/", line 169, in createDB
  File "/usr/lib/zope/lib/python/ZODB/", line 97, in open
    return ZODB.DB(,
  File "/usr/lib/zope/lib/python/ZODB/", line 128, in open
  File "/usr/lib/zope/lib/python/ZODB/", line 232, in __init__
    self._lock_file = LockFile(file_name + '.lock')
  File "/usr/lib/zope/lib/python/ZODB/", line 62, in __init__
  File "/usr/lib/zope/lib/python/ZODB/", line 42, in lock_file
    fcntl.flock(file.fileno(), _flags)
IOError: [Errno 11] Resource temporarily unavailable

Not sure how to resolve this problem.
Who is Participating?
mish33Connect With a Mentor Commented:
Stop Zope before adding user via command line (or add users from inside Zope).
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.