2017-10-27 8 views
0

systemctl再起動httpd.service サービスを再開すると、httpdサービスが停止しますか?何か案が?私は、コマンドのhttpdが</p> <p>systemctlステータスhttpd.service を再起動することができないことを実行したときに

[[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

journalctl -xeの出力を提供できますか – btpbtp7

答えて

0

を示してあなたのステータスは、サービスが何らかの理由で失敗したことが明らかになりました。何百万もの理由があるかもしれませんが、私のお金は設定ファイルの構文エラーです。

てみランニング:構文が不良であることを教えてくれますどちらかと何を修正するために、またはあなたが別の答えを探すために必要がある知っているよう

httpd -t 

関連する問題