fiz o comando
$sudo systemctl start apache2 e o problema continua, aparece a mesma mensagem de erro incial
tambem usei o comando abaixo pra ver o status
sudo /etc/init.d/apache2 statuse a saida do comando foi:
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Seg 2015-05-04 15:24:16 BRT; 7s ago
Docs: man:systemd-sysv-generator(
Process: 20013 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)
Mai 04 15:24:16 teste-PC apache2[20013]: Output of config test was:
Mai 04 15:24:16 teste-PC apache2[20013]: AH00558: apache2: Could not reliabl...e
Mai 04 15:24:16 teste-PC apache2[20013]: (2)No such file or directory: AH022...3
Mai 04 15:24:16 teste-PC apache2[20013]: AH00014: Configuration check failed
Mai 04 15:24:16 teste-PC apache2[20013]: Action 'configtest' failed.
Mai 04 15:24:16 teste-PC apache2[20013]: The Apache error log may have more ....
Mai 04 15:24:16 teste-PC systemd[1]: apache2.service: control process exite...=1
Mai 04 15:24:16 teste-PC systemd[1]: Failed to start LSB: Apache2 web server.
Mai 04 15:24:16 teste-PC systemd[1]: Unit apache2.service entered failed state.
Mai 04 15:24:16 teste-PC systemd[1]: apache2.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
abaixo a mensagem do arquivo /var/log/syslog:
May 4 15:26:05 teste-PC systemd[1]: Failed to start LSB: Apache2 web server.
May 4 15:26:05 teste-PC systemd[1]: Unit apache2.service entered failed state.
May 4 15:26:05 teste-PC systemd[1]: apache2.service failed.
May 4 15:26:04 teste-PC systemd[1]: Starting LSB: Apache2 web server...
May 4 15:26:04 teste-PC apache2[20171]: * Starting web server apache2
May 4 15:26:05 teste-PC apache2[20171]: *
May 4 15:26:05 teste-PC apache2[20171]: * The apache2 configtest failed.
May 4 15:26:05 teste-PC apache2[20171]: Output of config test was:
May 4 15:26:05 teste-PC apache2[20171]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
May 4 15:26:05 teste-PC apache2[20171]: (2)No such file or directory: AH02291: Cannot access directory '/etc/apache2/logs/' for error log of vhost defined at /etc/apache2/apache2.conf:223
May 4 15:26:05 teste-PC apache2[20171]: AH00014: Configuration check failed
May 4 15:26:05 teste-PC apache2[20171]: Action 'configtest' failed.
May 4 15:26:05 teste-PC apache2[20171]: The Apache error log may have more information.
May 4 15:26:05 teste-PC systemd[1]: apache2.service: control process exited, code=exited status=1
May 4 15:26:05 teste-PC systemd[1]: Failed to start LSB: Apache2 web server.
May 4 15:26:05 teste-PC systemd[1]: Unit apache2.service entered failed state.
May 4 15:26:05 teste-PC systemd[1]: apache2.service failed.