Erro ao iniciar o Apache

1. Erro ao iniciar o Apache

EMERSON SANTOS GUIMARAES
emerson2703

(usa CentOS)

Enviado em 23/05/2017 - 11:49h

Pessoal, Depois da atualização do meu centos não consigo iniciar o apache em 2 servidores atualizados:

systemctl status httpd.service -l
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Ter 2017-05-23 11:40:07 -03; 10s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 4287 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 4283 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 4283 (code=exited, status=1/FAILURE)

Mai 23 11:40:07 jboss2.localdomain systemd[1]: Starting The Apache HTTP Server...
Mai 23 11:40:07 jboss2.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mai 23 11:40:07 jboss2.localdomain kill[4287]: kill: cannot find process ""
Mai 23 11:40:07 jboss2.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
Mai 23 11:40:07 jboss2.localdomain systemd[1]: Failed to start The Apache HTTP Server.
Mai 23 11:40:07 jboss2.localdomain systemd[1]: Unit httpd.service entered failed state.
Mai 23 11:40:07 jboss2.localdomain systemd[1]: httpd.service failed.



  


2. Re: Erro ao iniciar o Apache

Perfil removido
removido

(usa Nenhuma)

Enviado em 23/05/2017 - 12:57h

Já checou a sintaxe?

# httpd -t


3. Re: Erro ao iniciar o Apache

EMERSON SANTOS GUIMARAES
emerson2703

(usa CentOS)

Enviado em 23/05/2017 - 13:23h

httpd -t
Syntax OK



4. Re: Erro ao iniciar o Apache

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 23/05/2017 - 22:25h

Tente:

systemctl start httpd; journalctl -xe


Veja se tem mais informações do erro....


#-------------------------------------------------------------------------------------#
Administrador de Redes Mistas Linux/Windows
LPI 101-102
LPI 201
Para consultas particulares acesse:
www.cunhatec.com.br

"Falar é fácil, me mostre o código." - Linus Torvalds


5. Re: Erro ao iniciar o Apache

EMERSON SANTOS GUIMARAES
emerson2703

(usa CentOS)

Enviado em 24/05/2017 - 17:33h

-- The start-up result is done.
Mai 24 17:37:06 jboss2.localdomain systemd-logind[764]: New session 3 of user root.
-- Subject: A nova sessão 3 foi criada para usuário o root
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- Uma nova sessão com o ID 3 foi criada para o usuário root.
--
-- O processo originador da sessão é 4340.
Mai 24 17:37:06 jboss2.localdomain systemd[1]: Starting Session 3 of user root.
-- Subject: Unidade session-3.scope sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade session-3.scope está sendo iniciada.
Mai 24 17:37:06 jboss2.localdomain sshd[4340]: pam_unix(sshd:session): session opened for user root by (uid=0)
Mai 24 17:37:06 jboss2.localdomain dbus[751]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Mai 24 17:37:06 jboss2.localdomain dbus-daemon[751]: dbus[751]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Mai 24 17:37:06 jboss2.localdomain dbus[751]: [system] Successfully activated service 'org.freedesktop.problems'
Mai 24 17:37:06 jboss2.localdomain dbus-daemon[751]: dbus[751]: [system] Successfully activated service 'org.freedesktop.problems'
Mai 24 17:37:39 jboss2.localdomain polkitd[744]: Registered Authentication Agent for unix-process:4403:56310 (system bus name :1.125 [/usr/bin/pkttyagent --notify-fd 5
Mai 24 17:37:39 jboss2.localdomain systemd[1]: Cannot add dependency job for unit firewalld.service, ignoring: Unit is masked.
Mai 24 17:37:39 jboss2.localdomain systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unidade httpd.service sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade httpd.service está sendo iniciada.
Mai 24 17:37:39 jboss2.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mai 24 17:37:39 jboss2.localdomain kill[4411]: kill: cannot find process ""
Mai 24 17:37:39 jboss2.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
Mai 24 17:37:39 jboss2.localdomain systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: A unidade httpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade httpd.service falhou.
--
-- O resultado é failed.
Mai 24 17:37:39 jboss2.localdomain systemd[1]: Unit httpd.service entered failed state.
Mai 24 17:37:39 jboss2.localdomain systemd[1]: httpd.service failed.
Mai 24 17:37:39 jboss2.localdomain polkitd[744]: Unregistered Authentication Agent for unix-process:4403:56310 (system bus name :1.125, object path /org/freedesktop/Pol






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts