Forums:
Saludos tengo un servidor centos 7 habilitado el servicio httpd. se cayo el servicio al tratar de subirle me sale este mensaje
[networking@server ~]$ sudo /sbin/service httpd restart
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because a fatal signal was delivered to the control process. See "systemctl status httpd.service" and "journalctl -xe" for details.
[networking@server ~]$
Al ver el estado actual del servicios me sale lo siguiente:
[networking@server ~]$ sudo /sbin/service httpd status
[sudo] password for networking:
Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since jue 2017-03-30 13:42:04 ECT; 3min 57s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 17971 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL)
Main PID: 17971 (code=killed, signal=KILL)
CGroup: /system.slice/httpd.service
mar 30 13:39:03 server systemd[1]: Starting The Apache HTTP Se...
mar 30 13:40:33 server systemd[1]: httpd.service start operati...
mar 30 13:42:03 server systemd[1]: httpd.service stop-final-si...
mar 30 13:42:04 server systemd[1]: httpd.service: main process...
mar 30 13:42:04 server systemd[1]: Failed to start The Apache ...
mar 30 13:42:04 server systemd[1]: Unit httpd.service entered ...
mar 30 13:42:04 server -systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[networking@servicios ~]$
Cual seria el problema gracias por su ayuda
[networking@server ~]$ sudo /sbin/service httpd restart
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because a fatal signal was delivered to the control process. See "systemctl status httpd.service" and "journalctl -xe" for details.
[networking@server ~]$
Al ver el estado actual del servicios me sale lo siguiente:
[networking@server ~]$ sudo /sbin/service httpd status
[sudo] password for networking:
Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since jue 2017-03-30 13:42:04 ECT; 3min 57s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 17971 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL)
Main PID: 17971 (code=killed, signal=KILL)
CGroup: /system.slice/httpd.service
mar 30 13:39:03 server systemd[1]: Starting The Apache HTTP Se...
mar 30 13:40:33 server systemd[1]: httpd.service start operati...
mar 30 13:42:03 server systemd[1]: httpd.service stop-final-si...
mar 30 13:42:04 server systemd[1]: httpd.service: main process...
mar 30 13:42:04 server systemd[1]: Failed to start The Apache ...
mar 30 13:42:04 server systemd[1]: Unit httpd.service entered ...
mar 30 13:42:04 server -systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[networking@servicios ~]$
Cual seria el problema gracias por su ayuda
La salida del comando:
/sbin/service httpd status
No dice mucho, revisa los logs de apache, sobre todo el log de errores a ver si te da más información, posiblemente un problema de configuración.
bye
}:-)
Verifica si este directorio existe
El direcorio que debes verificar si existe es:
ls -ld /var/run/httpd/
drwx--x---. 3 root apache 60 May 10 08:13 /var/run/httpd/
Si no esta creado, pues procede a crearlo y reinicias el servicio.
Saludos
Usando GNU es el unico modo de ser libre...
Linux User 433411
problemas con apache en centos 7
no puedo ni reiniciar el servidor httpd en centos 7 me manda siempre este error despues de haber tratado de configurar squirelmail.. el error que tengo es este
job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
ojo que el directorio esta creado pues esta es la respuesta. /var/run/httpd/
ojo que la
Parece que el post está
bye
}:-)