[Fri May 31 20:33:04 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 20:38:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 20:41:58 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 20:50:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 20:51:47 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 20:56:20 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 20:57:18 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 20:57:45 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri May 31 21:07:35 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
错误生成原因,由于安装的是红旗服务器版本3,以前一直当php服务器用了,今天由于不能识别键盘,所以直接按电源关闭,然后httpd就启动不起来了,而且 service httpd start 直接失败,没有提示任何错误信息,忘大侠们给予帮助啊。
把服务器再重启一下。
已经找到原因,是mod_nss证书过期导致,修复方法如下:
首先检查apache的error_log,我在/var/log/httpd/nss_error_log文件中看到如下错误。
[Mon Dec 26 13:21:24 2011] [error] Certificate not verified: 'Server-Cert'[Mon Dec 26 13:21:24 2011] [error] SSL Library Error: -8181 Certificate has expired[Mon Dec 26 13:21:24 2011] [error] Unable to verify certificate 'Server-Cert'. Add "NSSEnforceValidCerts off" to nss.conf so the server can start until the problem can be resolved.
找到/etc/httpd/conf.d/nss.conf文件,配置文件中有个如下配置,其实需要将SSL的Engine置为”off”就行了。