apache启动不起来,如何处理 (贴子2)
各位大侠,重启apache报错,报错内如下,请各位大侠帮我诊断一下,如果解决,小弟感激不尽!
wtmp begins Sun Nov 3 19:34:54 2013
[root@root ~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: S
yntax error on line 12 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/mod
ules/mod_ssl.so into server: libdistcache.so.1: cannot open shared object file: No
such file or directory
[FAILED]
[解决办法]
修改/etc/httpd/conf/httpd.conf将Include conf/extra/httpd-ssl.conf这行注释掉试试
[解决办法]
看日志是你的配置文件的问题啊, /etc/httpd/conf.d/ssl.conf这个配置文件
如果你不使用ssl,可以先关闭。
[解决办法]
grep -r "mod_ssl.so" /etc/httpd/