Debian使用apt-get安装apache2失败


最后突然报错:


 [....] Starting web server: apache2apache2: Syntax error on line 244 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/access_compat.load: Cannot load /usr/lib/apache2/modules/mod_access_compat.so into server: /usr/lib/apache2/modules/mod_access_compat.so: cannot open shared object file: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
 failed!
invoke-rc.d: initscript apache2, action "start" failed.
Setting up apache2 (2.2.22-13+deb7u1) ...

本来的apache在start的时候就有这个问题,我把所有的全remove了也autoremove了,重新安装的时候还是提示报错。。。
用的是163的镜像。

Linux debian apache2.2

sss恶鬼黑兔 10 years, 11 months ago

Your Answer