centos无法启动apache怎么办

来自:互联网
时间:2020-05-18
阅读:

1、进入配置文件目录

[root@csit httpd]# cd /etc/httpd/conf.d/

2、查看配置选项

[root@csit conf.d]$ grep NSSEngine *    #可以看到在 nss.conf 这个文件中  
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、重启apache

[root@csit httpd]# service httpd restart  
Stopping httpd:  [  OK  ]  
Starting httpd:  [  OK  ]
返回顶部
顶部