2017-10-27 5 views
0

systemctl Neustart httpd.service wenn ich ausführen, dass Befehl httpd nichthttpd Service funktioniert nicht, nachdem ich den Dienst neu starten? irgendeine Idee?

systemctl Status httpd.service zeigt

[[email protected] ~]# systemctl status httpd.service 
â—� httpd.service - The Apache HTTP Server 
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) 
    Drop-In: /usr/lib/systemd/system/httpd.service.d 
      └─openstack-dashboard.conf 
    Active: failed (Result: exit-code) since Fri 2017-10-27 18:11:35 WIB; 10s ago 
    Docs: man:httpd(8) 
      man:apachectl(8) 
    Process: 14032 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) 
    Process: 14029 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) 
    Process: 13983 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force (code=exited, status=0/SUCCESS) 
    Process: 13959 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear (code=exited, status=0/SUCCESS) 
Main PID: 14029 (code=exited, status=1/FAILURE) 

Oct 27 18:11:21 openstack.localdomain python[13959]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/modal/delete-modal.service.js' 
Oct 27 18:11:21 openstack.localdomain python[13959]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/modal/delete-modal.service.spec.js' 
Oct 27 18:11:21 openstack.localdomain python[13959]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/modal/modal.module.js' 
Oct 27 18:11:21 openstack.localdomain python[13959]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/modal/simple-modal.controller.js' 
Oct 27 18:11:21 openstack.localdomain python[13959]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/modal/simple-modal.html' 
Oct 27 18:11:35 openstack.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE 
Oct 27 18:11:35 openstack.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1 
Oct 27 18:11:35 openstack.localdomain systemd[1]: Failed to start The Apache HTTP Server. 
Oct 27 18:11:35 openstack.localdomain systemd[1]: Unit httpd.service entered failed state. 
Oct 27 18:11:35 openstack.localdomain systemd[1]: httpd.service failed. 
+0

Können Sie die Ausgabe von journalctl -xe bereitstellen – btpbtp7

Antwort

0

Ihr Status zeigt, dass der Dienst nicht aus irgendeinem Grund neu starten können. Es könnte eine Million Gründe dafür geben, aber mein Geld ist auf einen Syntaxfehler in der Konfigurationsdatei.

Try running:

httpd -t 

, dass entweder Sie sagen, dass die Syntax schlecht ist und was zu beheben, oder lassen Sie wissen, dass Sie für eine andere Antwort zu suchen.

Verwandte Themen