2014-03-25 37 views
0

啓動Apache 2.4.6當我嘗試開始出現這種情況的阿帕奇:錯誤在openSUSE 13.1

Job for apache2.service failed. See ‘systemctl status apache2.service’ and ‘journalctl -xn’ for details. 

system.ctl狀態apache2.service -l返回我:

Mar 24 23:41:57 glauber-pc.site start_apache2[3249]: httpd2-prefork: Syntax error on line 179 of /etc/apache2/httpd.conf: Syntax error on line 102 of /etc/apache2/default-server.conf: Syntax error on line 1 of /etc/apache2/conf.d/mod_evasive.conf: Cannot load /usr/lib64/apache2/mod_evasive20.so into server: /usr/lib64/apache2/mod_evasive20.so: cannot open shared object file: No such file or directory 
Mar 24 23:41:57 glauber-pc.site systemd[1]: apache2.service: main process exited, code=exited, status=1/FAILURE 
Mar 24 23:41:57 glauber-pc.site systemd[1]: Failed to start The Apache Webserver. 
Mar 24 23:41:57 glauber-pc.site systemd[1]: Unit apache2.service entered failed state. 

一切似乎在這些線路中,任何線索可能是什麼?

回答

0

變化

第一行/etc/apache2/conf.d/mod_evasive.conf

的LoadModule evasive20_module /usr/lib64/apache2/mod_evasive24.so

(... 24.so而不是... 20.so)

+0

_/etc/apache2/conf.d_中唯一的文件是_manual.conf_。 –