centos系統(tǒng)下無法啟動httpd

centos系統(tǒng)下無法啟動httpd

問題還原:

centos系統(tǒng)下啟動httpd失敗,如下:

[root@csit?yang]#?service?httpd?start Starting?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?restart Stopping?httpd:????????????????????????????????????????????[??OK??] Starting?httpd:??????????????????????????????????????????????[??OK??]

相關(guān)視頻教程推薦:centos使用教程

以上就是

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點贊5 分享