标题: httpd dead but subsys locked [打印本页] 作者: mark_ken 时间: 2015-10-31 11:30 标题: httpd dead but subsys locked httpd死掉了,请高手进来指点一下。以下是截图
less ssl_error_log
[Thu Oct 29 07:09:52 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Oct 29 07:09:52 2015] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
[Thu Oct 29 07:10:46 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Oct 29 07:10:46 2015] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
[Thu Oct 29 10:47:45 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Oct 29 10:47:45 2015] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
[Thu Oct 29 11:26:15 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Oct 29 11:26:15 2015] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
less error_log
[Thu Oct 29 07:09:52 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 29 07:09:52 2015] [notice] Digest: generating secret for digest authentication ...
[Thu Oct 29 07:09:52 2015] [notice] Digest: done
我处理的思路是:
1、删除/var/lock/subsys/httpd,然后重启httpd,问题没有解决。
[root@localhost subsys]# rm -rf httpd
[root@localhost subsys]# service httpd start
[root@localhost subsys]# service httpd status
httpd dead but subsys locked
2、cd /etc/httpd/conf.d/ #进入配置文件目录
grep NSSEngine * #查找配置选项,并且知道在 nss.conf 这个文件中
nss.conf:NSSEngine on
vi nss.conf #注释NSSEngine
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
#NSSEngine on 或者直接NSSEngine off
service httpd restart 问题依然没有解决