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

Posted on 2006-05-10
Last Modified: 2010-04-16
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.
Question by:spade99
    1 Comment
    LVL 15

    Accepted Solution

    Stop Zope before adding user via command line (or add users from inside Zope).

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    The really strange introduction Once upon a time there were individuals who intentionally put the grass seeds to the soil with anticipation of solving their nutrition problems. Or they maybe only played with seeds and noticed what happened... Som…
    This article will show the steps for installing Python on Ubuntu Operating System. I have created a virtual machine with Ubuntu Operating system 8.10 and this installing process also works with upgraded version of Ubuntu OS. For installing Py…
    Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
    Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now