Feghhi, Jalil
JFeghhi at visa.com
Sun Jan 30 16:34:37 EST 2005
I compiled and installed mod_python on RH Linux using Python 2.4 and libdb 4.2 and now get the following error when running my application. I did not have this issue with Python 2.3 and libdb 4.0. I also created and ran a simple python program with the same function that throws exception under mod_python and did not get any exception when ran it under Python 2.4. But when I turned my program into psp, I got the exact same exception as below. Does anybody know how to debug this? -Jalil Mod_python error: "PythonHandler mod_python.psp" Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/local/lib/python2.4/site-packages/mod_python/psp.py", line 297, in handler p.run() File "/usr/local/lib/python2.4/site-packages/mod_python/psp.py", line 191, in run session = Session.Session(req) File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 389, in Session timeout=timeout, lock=lock) File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 294, in __init__ timeout=timeout, lock=lock) File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 124, in __init__ if self.load(): File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 185, in load dict = self.do_load() File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 315, in do_load dbm = self._get_dbm() File "/usr/local/lib/python2.4/site-packages/mod_python/Session.py", line 302, in _get_dbm result = self._dbmtype.open(self._dbmfile, 'c') File "/usr/local/lib/python2.4/anydbm.py", line 83, in open return mod.open(file, flag, mode) File "/usr/local/lib/python2.4/dbhash.py", line 16, in open return bsddb.hashopen(file, flag, mode) File "/usr/local/lib/python2.4/bsddb/__init__.py", line 285, in hashopen e = _openDBEnv() File "/usr/local/lib/python2.4/bsddb/__init__.py", line 339, in _openDBEnv e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | db.DB_INIT_LOCK | db.DB_INIT_MPOOL) DBError: (154070928, 'Unknown error 154070928') -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050130/ecb6b1d9/attachment.html
|