Configure Apache Core Dump: Apache Segmentation fault
Greetinigs,
If you are getting following erron in your apache logs
Apache/2 (WebAppBETA) child pid 1256 exit signal Segmentation fault (11
then try the below process to get it resolve. Apache supports CoreDumpDirectory directive. This controls the directory to which Apache attempts to switch before dumping core. So all I need to do is put line as follows in httpd.conf:
Open httpd.conf:
# vi httpd.conf
Add following line main config section:
CoreDumpDirectory /tmp/apache2-gdb-dump
Create a directory /tmp/apache2-gdb-dump:
# mkdir -p /tmp/apache2-gdb-dump
Set permission:
# chown httpd:appserver /tmp/apache2-gdb-dump
# chmod 0777 /tmp/apache2-gdb-dump
Please note that we are using httpd user and group appserver. Please replace it with your actual Apache user:group combination.
And restart the Apache web server:
# /etc/init.d/httpd restart
OR kill Apache PID:
# killall -KILL httpd
# service httpd startssl
Now you will see core dumps in /tmp/apache2-gdb-dump directory:
# ls -l /tmp/apache2-gdb-dump
Enjoy..

















