I cannot start Apache, the following error is shown:
# /etc/init.d/apache2 start * Starting web server apache2 Apache server fails to start: "Segmentation fault"
/var/log/syslog file I see the following error:
kernel: [18992.333219] apache2: segfault at 7fff8e4e6760 ip 00007f201161da99 sp 00007fff8e4e6760 error 6 in libc-2.11.1.so[7f2011563000+17e000]
The issue is caused by OS packages conflicts - some of them are not from official repositories.
It is needed to disable Apache modules one by one to find out which modules cause "Segmentation fault" error.
Backup current configuration:
# mv /etc/apache2/mods-enabled /etc/apache2/mods-enabled.backup
Activate critical modules:
# mkdir /etc/apache2/mods-enabled # cd /etc/apache2/mods-enabled.backup # cp actions* alias* auth* dir* env* mime* php5* ssl* ../mods-enabled
Try to start Apache again:
# /etc/init.d/apache2 start
If it was successfully started enable other modules one by one to find which is broken. If Apache still fails to start, remove already activated modules one by one to find which is broken.