[Zope] Server Won't Start--Any help?
Dieter Maurer
dieter@handshake.de
Sun, 3 Nov 2002 00:14:52 +0100
Chris A. Bruce writes:
> I am trying to start the server and I get the following error. The
> server will not respond to any http requests, it just hangs. Any ideas?
> ....
> 2002-11-01T22:03:38 PROBLEM(100) ZODB Could not import class
> 'Connection' from module 'Products.ZPyGreSQLDA.DA'
You you make extensive use of PostgreSQL, e.g. in your top level
UserFolder?
Then a problem to successfully loads the "DA" module may be at the
root of your problem.
> ....
> 2002-11-01T22:03:40 ERROR(200) ZODB Couldn't load state for
> '\x00\x00\x00\x00\x00\x05f\x18'
> Traceback (innermost last):
> File /var/zope-inst/zope-sleeter.com/lib/python/ZODB/Connection.py,
> line 447, in setstate
> AttributeError: 'None' object has no attribute 'load'
That looks quite bad:
For unknown reasons, the "_storage" saved in the
ZODB connection is "None".
Apparently, something went seriously wrong during initialization.
I had similar problems (though not that drastic ones)
when I upgraded my Linux system and the (implicitly) newly installed
LDAP libraries (used for LDAPUserFolder) did no longer work
with my installed "python-ldap".
If necessary, I would see what happens in an interaction Python
interpreter:
python:
from Zope import app
R= app()
You will need to extend your "PYTHONPATH" to include "<zopedir>/lib/python".
Hopefully, you will get a good problem description.
If not, you will need to debug the "app()".
Dieter