问题还原:
centos系统下启动httpd失败,如下:
[root@csit yang]# service httpd startstarting httpd: [failed]
解决方法:
1、进入配置文件目录
(推荐教程:centos使用教程)
[root@csit httpd]# cd /etc/httpd/conf.d/
2、查找配置选项,并且知道在 nss.conf 这个文件中
[root@csit conf.d]$ grep nssengine *nss.conf:nssengine on
3、注释nssengine
[root@csit conf.d]$ vi nss.conf # ssl engine switch:# enable/disable ssl for this virtual host.#nssengine on
4、重启
[root@csit httpd]# service httpd restartstopping httpd: [ ok ]starting httpd: [ ok ]
相关视频教程推荐:linux视频教程
以上就是centos系统下无法启动httpd的详细内容。