0

when I start /etc/httpd/httpd -k start it works fine. But when I try with apachectl start, I see lots of [httpd] defunct process that come and go and a bunch of messages in the logs:

[core:notice] [pid 15126:tid 139966078363520] AH00052: child pid 15517 exit signal Segmentation fault (11)

I tried adding CoreDumpDirectory /tmp/apache-cores in the httpd.conf but never got any core dumps. I'm using Apache 2.4.6.

2
  • Which OS/Distro ?
    – user9517
    Feb 6, 2015 at 17:55
  • I'm using Centos 7 and PHP 5.4.16 (cli)
    – geo
    Feb 6, 2015 at 18:03

1 Answer 1

1

Presuming you restarted Apache after you added CoreDumpDirectory directive, I guess you may be hitting a problem with SELinux stopping httpd from writing a core file.

Try to change context of the destination dir:

chcon -Rv -t httpd_sys_content_rw_t /tmp/apache-cores

or temporary disabling SELinux by changing policy from enforcing to permissive in /etc/selinux/config (this requires system restart, and I don't recommend you keeping it in permissive mode).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .