wesleybrito
(usa PCLinuxOS)
Enviado em 31/08/2016 - 08:03h
Mauricio... Eu não sou experte em linux, estou aprendendo e conhecendo aos poucos.
segue o resposta: /etc/init.d/apache2 status ou service apache2 status
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Qua 2016-08-31 01:52:06 BRT; 6h ago
Process: 6224 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Ago 31 01:52:06 debian apache2[6224]: Starting web server: apache2 failed!
Ago 31 01:52:06 debian apache2[6224]: The apache2 configtest failed. ... (warning).
Ago 31 01:52:06 debian apache2[6224]: Output of config test was:
Ago 31 01:52:06 debian apache2[6224]: AH00526: Syntax error on line 38 of /etc/apache2/conf-enabled/ocsinventory-reports.conf:
Ago 31 01:52:06 debian apache2[6224]: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
Ago 31 01:52:06 debian apache2[6224]: Action 'configtest' failed.
Ago 31 01:52:06 debian apache2[6224]: The Apache error log may have more information.
Ago 31 01:52:06 debian systemd[1]: apache2.service: control process exited, code=exited status=1
Ago 31 01:52:06 debian systemd[1]: Failed to start LSB: Apache2 web server.
Ago 31 01:52:06 debian systemd[1]: Unit apache2.service entered failed state.