Addedum - [mod_python] could not import mod_python.apache.

Graham Dumpleton grahamd at
Wed Jan 11 18:08:32 EST 2006

Hans-Joachim Ehlers wrote ..
> TRUSS output 
> I did a 
> $ export PYTHONPATH=/usr/local

That seems to be a strange location to be setting PYTHONPATH to.

> $ truss -f  "./bin/httpd -XA
> If you take a look at the long output from truss you will see:
> open("/usr/local/lib/python2.4/lib-dynload/", O_RDONLY) = 9
> 2506852:        kioctl(9, 22528, 0x00000000, 0x00000000)        Err#25
> Does that mean: That the system is not able to load the program ''
> from the python installation ?

No. the open() call is succeeding quite happily as it returns a file descriptor
number. The following line is about something else.


More information about the Mod_python mailing list