O Apache2 não irá reiniciar (ubuntu 16.04)

0

Eu sou razoavelmente novo em usar computadores servidores e me deparo com problemas de vez em quando que eu tenho que descobrir, mas isso faz parte da diversão de aprender.

Agora mesmo estou tentando criar um site wordpress, mas o apache2 não parece querer recarregar depois que eu configurei o site wordpress.

quando eu uso systemctl status apache2.service, recebo a seguinte resposta:

● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
       └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Fri 2017-04-28 14:49:40 CEST; 10min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 56053 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Apr 28 14:49:40 ubuntuServerAlex apache2[56053]:  *
Apr 28 14:49:40 ubuntuServerAlex apache2[56053]:  * The apache2 configtest failed.
Apr 28 14:49:40 ubuntuServerAlex apache2[56053]: Output of config test was:
Apr 28 14:49:40 ubuntuServerAlex apache2[56053]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/authz_svn.load: Syntax error on line 6 of /etc/apache2/mods-enabled/dav_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/apache2/modules/mod_dav_svn.so: cannot open shared object file: No such file or directory
Apr 28 14:49:40 ubuntuServerAlex apache2[56053]: Action 'configtest' failed.
Apr 28 14:49:40 ubuntuServerAlex apache2[56053]: The Apache error log may have more information.
Apr 28 14:49:40 ubuntuServerAlex systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 28 14:49:40 ubuntuServerAlex systemd[1]: Failed to start LSB: Apache2 web server.
Apr 28 14:49:40 ubuntuServerAlex systemd[1]: apache2.service: Unit entered failed state.
Apr 28 14:49:40 ubuntuServerAlex systemd[1]: apache2.service: Failed with result 'exit-code'.

Alguém sabe qual é o problema e como posso corrigi-lo?

    
por Alexander van Oostveen 28.04.2017 / 13:11

1 resposta

0

Seu apache não pode carregar o módulo. Becouse de que não pode começar

mod_dav_svn.so: cannot open shared object file: No such file or directory

Apenas tente atualizar / atualizar

sudo apt-get update
sudo apt-get upgrade libapache2-svn

ou

sudo apt-get update
sudo apt-get upgrade
    
por 2707974 28.04.2017 / 13:31