Server Won't Start--Any help?
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? [root@admin zope-sleeter.com]# /var/zope-inst/zope-sleeter.com/lib/python/ts_regex.py:15: DeprecationWarning: the regex module is deprecated; please use the re module import regex, regsub #, Sync /usr/local/lib/python2.1/regsub.py:15: DeprecationWarning: the regsub module is deprecated; please use re.sub() DeprecationWarning) ------ 2002-11-01T22:03:37 INFO(0) ZODB Opening database for mounting: '144910640_1023761487.549956' ------ 2002-11-01T22:03:37 INFO(0) ZODB Mounted database '144910640_1023761487.549956' at /temp_folder ------ 2002-11-01T22:03:38 INFO(0) ZExternalNews NewsManager[deactivate], ------ 2002-11-01T22:03:38 PROBLEM(100) ZODB Could not import class 'Connection' from module 'Products.ZPyGreSQLDA.DA' ------ 2002-11-01T22:03:39 INFO(0) ZExternalNews NewsChannel[deactivate], ------ 2002-11-01T22:03:39 INFO(0) ZExternalNews NewsChannel[deactivate], ------ 2002-11-01T22:03:39 INFO(0) ZExternalNews NewsChannel[deactivate], ------ 2002-11-01T22:03:39 PROBLEM(100) ZExternalNews Restarting ZExternalNewsManager AutoUpdate,even if object STILL exist, Channels------ 2002-11-01T22:03:39 ERROR(200) ZExternalNews Problem updating ZExternalNewsChannel '' (exceptions.AttributeError: _timestamp). Ignored. ------ 2002-11-01T22:03:39 INFO(0) ZExternalNews NewsChannel[setstate], ------ 2002-11-01T22:03:39 INFO(0) ZExternalNews NewsChannel[setstate], ------ 2002-11-01T22:03:39 INFO(0) ZServer HTTP server started at Fri Nov 1 14:03:39 2002 Hostname: 216.127.76.237 Port: 8080 ------ 2002-11-01T22:03:39 INFO(0) ZServer HTTP server started at Fri Nov 1 14:03:39 2002 Hostname: 216.127.76.237 Port: 8081 ------ 2002-11-01T22:03:39 INFO(0) ZServer FTP server started at Fri Nov 1 14:03:39 2002 Hostname: admin.webslate.com Port: 2121 ------ 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' ------ 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' ------ 2002-11-01T22:03:47 INFO(0) Script (Python) Some of your Scripts have stale code cached. Since Zope cannot use this code, startup will be slightly slower until these Scripts are edited. You can automatically recompile all Scripts that have this problem by visiting /manage_addProduct/PythonScripts/recompile of your server in a browser.
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
participants (2)
-
Chris A. Bruce -
Dieter Maurer