Today, I tried to build FOSSologyV2.0. When getting the httpd service, I found that there will always be Restartinghttpd (viasystemctl) Jobfailed at startup. seesystemlogsand 'systemctlstatus' fordetails. search for logs/var/log/httpd/err_log. Nothing can be seen. Check for messages and find
Today, I tried to build FOSSology V2.0. When getting the httpd service, I found that there will always be Restarting httpd (via systemctl) Job failed. See system logs and 'systemctl status' for details at startup.
Searching logs/var/log/httpd/err_log has nothing to read. Check messages and find some content, such:
Sep 28 10:54:10 localhost kernel: [6244.296435] httpd [28784]: segfault at d ip 0074a9f5 sp bf9b2b70 error 4 in mod_perl.so [72e000 + 33000]
Sep 28 10:54:10 localhost abrtd: Directory 'ccpp-2012-09-28-10:54:10-28784 'creation detected
Sep 28 10:54:10 localhost abrt [28785]: saved core dump of pid 28784 (/usr/sbin/httpd) to/var/spool/abrt/ccpp-2012-09-28-10: 54: 10-28784 (3727360 bytes)
Sep 28 10:54:10 localhost systemd [1]: httpd. service: control process exited, code = dumped status = 11
Sep 28 10:54:10 localhost implements EMD [1]: Unit httpd. service entered failed state.
Sep 28 10:54:13 localhost abrtd: DUP_OF_DIR:/var/spool/abrt/ccpp-2012-09-28-10: 46: 46-28697
Sep 28 10:54:13 localhost abrtd: Dump directory is a duplicate of/var/spool/abrt/ccpp-2012-09-28-10: 46: 46-28697
Sep 28 10:54:13 localhost abrtd: Deleting dump directory ccpp-2012-09-28-10: 54: 10-28784 (dup of ccpp-2012-09-28-10: 46: 46-28697), sending internal signal
I used gdb httpd and found that the mod_perl component had a segment error! Sorry.
After you use yum update perl to update the component, it is started successfully.