Apache 2 error after performing Update on Ubuntu Server

允我心安 提交于 2019-12-11 06:00:09

问题


root@ubuntu:-$ apachectl restart

Gives me this error:

apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/perl.load: Cannot load /usr/lib/apache2/modu les/mod_perl.so into server: /usr/lib/apache2/modules/mod_perl.so: cannot open s
hared object file: No such file or directory Action 'restart' failed. The Apache error log may have more information.

IN line 140 of apache2.conf there is this:

Include mods-enabled/.load*

Include mods-enabled/.conf*

In the file perl.load there is only one line:

LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so

Kindly assist me on how I can rectify this as it was working properly until apache did and update and it wont restart now.

来源:https://stackoverflow.com/questions/19537226/apache-2-error-after-performing-update-on-ubuntu-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!