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
    startup()
  File "/usr/lib/zope/lib/python/Zope/__init__.py", line 47, in startup
    _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
    quota=self.config.quota)
  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__
    lock_file(self._fp)
  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.
spade99Asked:
Who is Participating?
 
mish33Connect With a Mentor Commented:
Stop Zope before adding user via command line (or add users from inside Zope).
0
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.