[mod_python] Problems with mod_python after reboots

Morten W. Petersen morten at nidelven-it.no
Sun Apr 30 16:45:37 EDT 2006


Graham Dumpleton wrote:
> 
> On 30/04/2006, at 1:09 AM, Deron Meranda wrote:
> 
>> On 4/29/06, Morten W. Petersen <morten at nidelven-it.no> wrote:
>>> 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.
>>
>>> /usr/lib/python2.3/lib-dynload/math.so: undefined symbol: PyF
>>> PE_jbuf
>>
>> Do you have more than one version of Python installed?
> 
> I'd also probably suggest this may the problem. When started, mod_python
> uses the python first found in PATH. When auto restarted on bootup, the
> PATH is probably different to when you restart by hand and is finding the
> wrong version.

There are multiple python installations and it is using a different PATH
at boot time, so this is probably the cause of the bug.

I'll try fixing that, thanks for the help!

-Morten


More information about the Mod_python mailing list