Morten W. Petersen
morten at nidelven-it.no
Sat Apr 29 10:39:46 EDT 2006
Hi, I have a server which always has problems with mod_python after a reboot, the only workaround I've found so far is to recompile/reinstall mod_python and take down apache completely and start it up again. This is not a good situation for us as we always want to have the most uptime on our servers, do you know what could be causing it? The error messages in error_log look like this: [Sat Apr 29 16:31:26 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: Traceback (most recent call last): [Sat Apr 29 16:31:26 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n log=debug) [Sat Apr 29 16:31:26 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 464, in import_module\n module = imp.load_module(mname, f, p, d) [Sat Apr 29 16:31:26 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/publisher.py", l ine 32, in ?\n import util [Sat Apr 29 16:31:26 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/util.py", line 2 4, in ?\n import tempfile [Sat Apr 29 16:31:26 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/lib/python2.3/tempfile.py", line 33, in ?\n from random im port Random as _Random [Sat Apr 29 16:31:26 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/lib/python2.3/random.py", line 42, in ?\n from math import log as _log, exp as _exp, pi as _pi, e as _e [Sat Apr 29 16:31:26 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: ImportError: /usr/lib/python2.3/lib-dynload/math.so: undefined symbol: PyF PE_jbuf [Sat Apr 29 16:31:27 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: Traceback (most recent call last): [Sat Apr 29 16:31:27 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req) [Sat Apr 29 16:31:27 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/publisher.py", l ine 213, in handler\n published = publish_object(req, object) [Sat Apr 29 16:31:27 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/publisher.py", l ine 411, in publish_object\n req.form = util.FieldStorage(req, keep_blank_values=1) [Sat Apr 29 16:31:27 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: AttributeError: 'module' object has no attribute 'FieldStorage' [Sat Apr 29 16:31:29 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: Traceback (most recent call last): [Sat Apr 29 16:31:29 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n log=debug) [Sat Apr 29 16:31:29 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/apache.py", line 464, in import_module\n module = imp.load_module(mname, f, p, d) [Sat Apr 29 16:31:29 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/publisher.py", l ine 32, in ?\n import util [Sat Apr 29 16:31:29 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.3/site-packages/mod_python/util.py", line 2 4, in ?\n import tempfile [Sat Apr 29 16:31:29 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/lib/python2.3/tempfile.py", line 33, in ?\n from random im port Random as _Random [Sat Apr 29 16:31:29 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: File "/usr/lib/python2.3/random.py", line 42, in ?\n from math import log as _log, exp as _exp, pi as _pi, e as _e [Sat Apr 29 16:31:29 2006] [error] [client 80.203.126.208] PythonHandler mod_python.publisher: ImportError: /usr/lib/python2.3/lib-dynload/math.so: undefined symbol: PyF PE_jbuf TIA, Morten
|