Apache 2.4.10 não inicia Debian 8

1. Apache 2.4.10 não inicia Debian 8

raphael geraldo silva feitosa
raphael.feitosa

(usa Debian)

Enviado em 17/11/2015 - 14:02h

Olá galera,

Agradeço desde já a ajuda de todos. Não sou um expert em linux e por isso estou aqui humildemente para solicitar a ajuda de vocês.

Atualizei meu servidor debian versão 7 whezzy para a versão 8 jessie. porém meu apache nao está funcionando.

quando mando iniciar pelo service apache2 start me retorna o seguinte erro: Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.

executo: Job for apache2.service failed e me retorna algumas informações.

â apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Ter 2015-11-17 12:42:30 BRT; 12s ago
Process: 13539 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 13790 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Nov 17 12:42:30 srv-debian apache2[13790]: Starting web server: apache2 failed!
Nov 17 12:42:30 srv-debian apache2[13790]: The apache2 configtest failed. ... (warning).
Nov 17 12:42:30 srv-debian apache2[13790]: Output of config test was:
Nov 17 12:42:30 srv-debian apache2[13790]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.l...
Nov 17 12:42:30 srv-debian apache2[13790]: Action 'configtest' failed.
Nov 17 12:42:30 srv-debian apache2[13790]: The Apache error log may have more information.
Nov 17 12:42:30 srv-debian systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 17 12:42:30 srv-debian systemd[1]: Failed to start LSB: Apache2 web server.
Nov 17 12:42:30 srv-debian systemd[1]: Unit apache2.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

verifiquei o syslog cat /var/log/syslog e retorna outro erro:

Nov 17 12:36:42 srv-debian apache2[13583]: Action 'configtest' failed.
Nov 17 12:36:42 srv-debian apache2[13583]: The Apache error log may have more information.
Nov 17 12:36:42 srv-debian systemd[1]: apache2.service: control process exited, code=exited status=1
Nov 17 12:36:42 srv-debian systemd[1]: Failed to start LSB: Apache2 web server.
Nov 17 12:36:42 srv-debian systemd[1]: Unit apache2.service entered failed state.
Nov 17 12:36:45 srv-debian apache2[13601]: Starting web server: apache2 failed!
Nov 17 12:36:45 srv-debian apache2[13601]: The apache2 configtest failed. ... (warning).
Nov 17 12:36:45 srv-debian apache2[13601]: Output of config test was:
Nov 17 12:36:45 srv-debian apache2[13601]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/local/lib/libxml2.so.2: version `LIBXML2_2.9.0' not found (required by /usr/lib/apache2/modules/libphp5.so)

já verifique ia linha 140 no arquivo apache2.conf e está da seguinte forma:

# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf



Aguardo retorno e muito obrigado.


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts