赞
踩
今天尝试搭建 FOSSology V2.0,在弄httpd服务时,发现启动总会出现 Restarting httpd (via systemctl ) Job failed. See system logs and 'systemctl status' for details.
查找日志 /var/log/httpd/err_log 没有什么东西可看,查看 messages倒是找到了些内容,如:
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 systemd[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 dbus signal
使用gdb httpd,发现是mod_perl组件出现了段错误,唉! 伤不起。
后面使用 yum update perl 更新组件后,启动成功。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。