I have heard there were some security updates to PHP recently. If you have been applying patch updates to the operating system, then it is possible you installed the PHP updates. It is then possible that the newer PHP version is linking against a different version of a shared library than what some Python module is linking against. This can cause a crash on startup.
These issues can be fun to track down. All I can suggest you try is as documented in: http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_Crashes_With_GDB That is, run Apache manually under gdb as 'httpd -X' and see if you can work out where it is crashing. Provided the distro doesn't strip too many symbols out, which unfortunately they do, then you might get an indication of what shared library it was calling into when it crashed. The only other way is to run ldd on the PHP .so and any PHP .so extension modules and then also run ldd on all Python .so extension modules and library and see if you can spot what shared library of different version is being loaded. Usual culprits are libexpat, and SSL libraries. Graham On 10 February 2012 22:11, sylock <[email protected]> wrote: > Whaw. It works disabling the php website and php5 module! > Do you have an idea why this behavior? > > This server is in production since some months with a php website and > the django one. Everything were working fine untill yesterday! > > Today I restarted apache to take some new code into account and then > the errors comes. > > I'd like to understand ^^ > > Regards, > Nicolas > > On 10 fév, 12:02, Graham Dumpleton <[email protected]> wrote: >> Can you try disabling PHP from Apache temporarily? >> >> Graham >> >> On 10 February 2012 21:54, sylock <[email protected]> wrote: >> >> >> >> >> >> >> >> > I just tried it and I have the exact same problem with the "Hello >> > world" wsgi. >> > So what would be the problem cause and how could I resolve it? >> >> > The errors in the log file appears as soon as I restart apache2 >> > (before doing any http request). >> >> > Regards, >> > Nicolas >> >> > On 10 fév, 11:35, Graham Dumpleton <[email protected]> wrote: >> >> Have you tried mod_wsgi with a simple hello world program to see if >> >> that works first before trying to get your Django application running? >> >> >>http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#WSGI_Ap... >> >> >> Graham >> >> >> On 10 February 2012 21:27, sylock <[email protected]> wrote: >> >> >> > Hello guys, >> >> >> > I have a very strange error with mod_wsgi for a django application >> >> > served by apache 2.2.14. Here are the logs in debug mode : >> >> >http://dpaste.com/700868/ >> >> >> > My django application doesn't seems to be the problem since I can run >> >> > it with ./manage.py runserver 0.0.0.0:port and I can access it with my >> >> > browser. >> >> >> > The same version on the django application is running fine on my >> >> > virtualbox dev guest with the same distrib (Ubuntu 10.04) and same >> >> > version of apache 2.2.14 >> >> >> > Is someone have an idea? >> >> >> > Thank you very very much, >> >> > Nicolas >> >> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups "modwsgi" group. >> >> > To post to this group, send email to [email protected]. >> >> > To unsubscribe from this group, send email to >> >> > [email protected]. >> >> > For more options, visit this group >> >> > athttp://groups.google.com/group/modwsgi?hl=en. >> >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "modwsgi" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group >> > athttp://groups.google.com/group/modwsgi?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
