For whatever reason I managed to mess up Apache quite bad (Ubuntu 12.04). The output below complains about configtest failing and a segmentation fault. However, I can't find anything in /var/log/apache2/error.log
. How can I debug this "configtest"?
jeroen@jeroen-ubuntu:~$ sudo service apache2 stop
* Stopping web server apache2
* The apache2 configtest failed, so we are trying to kill it manually. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now!
... waiting [ OK ]
jeroen@jeroen-ubuntu:~$ sudo service apache2 start
* Starting web server apache2
Segmentation fault
Action 'start' failed.
The Apache error log may have more information.
[fail]
Edit: the problem is related to the loading of an apache2 module. I found some traces of the problem in/var/log/kern.log
:
Mar 14 20:44:27 jeroen-ubuntu kernel: [13267.367260] show_signal_msg: 9 callbacks suppressed
Mar 14 20:44:27 jeroen-ubuntu kernel: [13267.367264] apache2[20784]: segfault at b638f7b5 ip b638f7b5 sp b5ed42e0 error 14
Mar 14 20:44:27 jeroen-ubuntu kernel: [13267.367268] apache2[20786]: segfault at b638f7b5 ip b638f7b5 sp b383f2e0 error 14
I have been using this module for years and it has always been stable. I have recently been installing some backports from PPA repositories, I suspect that one of these packages has broken my system...