Erro ao iniciar o serviço do apache2 [RESOLVIDO]

1. Erro ao iniciar o serviço do apache2 [RESOLVIDO]

pentest
pentestbox

(usa Ubuntu)

Enviado em 04/05/2015 - 13:33h

Ola pessoal, estou tentando iniciar o serviço do apache com o comando:

$ sudo service apache2 start

so que está aparecendo a seguinte mensagem:

Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xe" for details.

com isso eu não consigo iniciar o serviço do apache, estou usando lubuntu 15.04 e nunca tive problemas em utilizar esse comando, gostaria da ajuda de vcs pra solucionar o problema
desde ja agradeço.


  


2. Re: Erro ao iniciar o serviço do apache2 [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 04/05/2015 - 16:29h


digitando o comando

sudo journalctl -xe
qual o resultado ?



3. Re: Erro ao iniciar o serviço do apache2 [RESOLVIDO]

pentest
pentestbox

(usa Ubuntu)

Enviado em 04/05/2015 - 16:46h

Amigo consegui resolver o problema, e que eu tinha colocado umas linhas no arquivo apache2.conf que estava dando esse erro, ja removi e o problema foi resolvido.
Obrigado pela atenção vlw.


4. ....

Gabriel Bassani Ribieiro
gbassanir

(usa Debian)

Enviado em 04/05/2015 - 16:58h

Boa tarde,

Coloca o post como resolvido.

Att,



5. Erro apache 2 no ubuntu server 16.04 64 bits

Gianni Humberto Oddone Benitez
giannio

(usa Ubuntu)

Enviado em 06/08/2016 - 13:13h

Boa tarde galera estou tengo um inconveniente nao consigo levantar meu apache2 no meu servidor ubuntu server 16.04, alguem saberia me dizer pq este problema?


Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!



6. no meu deu isso nao consigo

Fellip de Melo
fellip

(usa Kali)

Enviado em 02/03/2017 - 11:26h

danniel-lara escreveu:


digitando o comando

sudo journalctl -xe
qual o resultado ?


root@kali:~# sudo journalctl -xe
--
-- A unidade apache2.service está sendo iniciada.
Mar 01 00:57:46 kali apache2[2947]: Starting Apache httpd web server: apache2 fa
Mar 01 00:57:46 kali apache2[2947]: The apache2 configtest failed. ... (warning)
Mar 01 00:57:46 kali apache2[2947]: Output of config test was:
Mar 01 00:57:46 kali apache2[2947]: AH00526: Syntax error on line 5 of /etc/apac
Mar 01 00:57:46 kali apache2[2947]: Invalid address or port
Mar 01 00:57:46 kali apache2[2947]: Action 'configtest' failed.
Mar 01 00:57:46 kali apache2[2947]: The Apache error log may have more informati
Mar 01 00:57:46 kali systemd[1]: apache2.service: Control process exited, code=e
Mar 01 00:57:46 kali systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: A unidade apache2.service falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A unidade apache2.service falhou.
--
-- O resultado é failed.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Unit entered failed state.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Failed with result 'exit-code'
Mar 01 00:58:33 kali firefox-esr.desktop[1948]: ###!!! [Child][MessageChannel] E
Mar 01 00:58:53 kali sudo[2966]: root : TTY=pts/0 ; PWD=/root ; USER=root ;
Mar 01 00:58:53 kali sudo[2966]: pam_unix(sudo:session): session opened for user
lines 1358-1380/1380 (END)
--
-- A unidade apache2.service está sendo iniciada.
Mar 01 00:57:46 kali apache2[2947]: Starting Apache httpd web server: apache2 failed!
Mar 01 00:57:46 kali apache2[2947]: The apache2 configtest failed. ... (warning).
Mar 01 00:57:46 kali apache2[2947]: Output of config test was:
Mar 01 00:57:46 kali apache2[2947]: AH00526: Syntax error on line 5 of /etc/apache2/ports.conf:
Mar 01 00:57:46 kali apache2[2947]: Invalid address or port
Mar 01 00:57:46 kali apache2[2947]: Action 'configtest' failed.
Mar 01 00:57:46 kali apache2[2947]: The Apache error log may have more information.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Control process exited, code=exited status=1
Mar 01 00:57:46 kali systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: A unidade apache2.service falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A unidade apache2.service falhou.
--
-- O resultado é failed.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Unit entered failed state.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Failed with result 'exit-code'.
Mar 01 00:58:33 kali firefox-esr.desktop[1948]: ###!!! [Child][MessageChannel] Error: (msgtype=0x80000F,name=PHttpChannel::Msg___delete__) C
Mar 01 00:58:53 kali sudo[2966]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/journalctl -xe
Mar 01 00:58:53 kali sudo[2966]: pam_unix(sudo:session): session opened for user root by (uid=0)
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1358-1380/1380 (END)



7. o meu deu isso

Fellip de Melo
fellip

(usa Kali)

Enviado em 02/03/2017 - 11:27h

root@kali:~# sudo journalctl -xe
--
-- A unidade apache2.service está sendo iniciada.
Mar 01 00:57:46 kali apache2[2947]: Starting Apache httpd web server: apache2 fa
Mar 01 00:57:46 kali apache2[2947]: The apache2 configtest failed. ... (warning)
Mar 01 00:57:46 kali apache2[2947]: Output of config test was:
Mar 01 00:57:46 kali apache2[2947]: AH00526: Syntax error on line 5 of /etc/apac
Mar 01 00:57:46 kali apache2[2947]: Invalid address or port
Mar 01 00:57:46 kali apache2[2947]: Action 'configtest' failed.
Mar 01 00:57:46 kali apache2[2947]: The Apache error log may have more informati
Mar 01 00:57:46 kali systemd[1]: apache2.service: Control process exited, code=e
Mar 01 00:57:46 kali systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: A unidade apache2.service falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A unidade apache2.service falhou.
--
-- O resultado é failed.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Unit entered failed state.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Failed with result 'exit-code'
Mar 01 00:58:33 kali firefox-esr.desktop[1948]: ###!!! [Child][MessageChannel] E
Mar 01 00:58:53 kali sudo[2966]: root : TTY=pts/0 ; PWD=/root ; USER=root ;
Mar 01 00:58:53 kali sudo[2966]: pam_unix(sudo:session): session opened for user
lines 1358-1380/1380 (END)
--
-- A unidade apache2.service está sendo iniciada.
Mar 01 00:57:46 kali apache2[2947]: Starting Apache httpd web server: apache2 failed!
Mar 01 00:57:46 kali apache2[2947]: The apache2 configtest failed. ... (warning).
Mar 01 00:57:46 kali apache2[2947]: Output of config test was:
Mar 01 00:57:46 kali apache2[2947]: AH00526: Syntax error on line 5 of /etc/apache2/ports.conf:
Mar 01 00:57:46 kali apache2[2947]: Invalid address or port
Mar 01 00:57:46 kali apache2[2947]: Action 'configtest' failed.
Mar 01 00:57:46 kali apache2[2947]: The Apache error log may have more information.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Control process exited, code=exited status=1
Mar 01 00:57:46 kali systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: A unidade apache2.service falhou
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A unidade apache2.service falhou.
--
-- O resultado é failed.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Unit entered failed state.
Mar 01 00:57:46 kali systemd[1]: apache2.service: Failed with result 'exit-code'.
Mar 01 00:58:33 kali firefox-esr.desktop[1948]: ###!!! [Child][MessageChannel] Error: (msgtype=0x80000F,name=PHttpChannel::Msg___delete__) C
Mar 01 00:58:53 kali sudo[2966]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/journalctl -xe
Mar 01 00:58:53 kali sudo[2966]: pam_unix(sudo:session): session opened for user root by (uid=0)
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1358-1380/1380 (END)







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts