Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 在OpenSuse 13.1上启动Apache 2.4.6时出错_Linux_Apache_Opensuse - Fatal编程技术网

Linux 在OpenSuse 13.1上启动Apache 2.4.6时出错

Linux 在OpenSuse 13.1上启动Apache 2.4.6时出错,linux,apache,opensuse,Linux,Apache,Opensuse,当我尝试启动apache时,会发生以下情况: Job for apache2.service failed. See ‘systemctl status apache2.service’ and ‘journalctl -xn’ for details. system.ctl status apache2.service-l向我返回以下信息: Mar 24 23:41:57 glauber-pc.site start_apache2[3249]: httpd2-prefork: Syntax

当我尝试启动apache时,会发生以下情况:

Job for apache2.service failed. See ‘systemctl status apache2.service’ and ‘journalctl -xn’ for details.
system.ctl status 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.

这些行中的每一行似乎都是对的,有什么线索吗?

更改这些行中的第一行

/etc/apache2/conf.d/mod_evasive.conf

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

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