httpd无法启动
2016-05-16 09:52
411 查看
机器重启后,dashboard无法显示。查看后台发现httpd无法启动。
检查httpd日志,如下提示:
=========
[root@controller ~]# systemctl status -l httpd
● 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 Mon 2016-05-16 10:27:41 CST; 6s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 27815 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 27813 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Process: 27790 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force (code=exited, status=0/SUCCESS)
Process: 27769 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear (code=exited, status=0/SUCCESS)
Main PID: 27813 (code=exited, status=1/FAILURE)
May 16 10:27:41 controller python[27790]: Compressing... done
May 16 10:27:41 controller python[27790]: Compressed 4 block(s) from 3 template(s).
May 16 10:27:41 controller httpd[27813]: AH00526: Syntax error on line 18 of /etc/httpd/conf.d/ssl.conf:
May 16 10:27:41 controller httpd[27813]: Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration
May 16 10:27:41 controller systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
May 16 10:27:41 controller kill[27815]: kill: cannot find process ""
May 16 10:27:41 controller systemd[1]: httpd.service: control process exited, code=exited status=1
May 16 10:27:41 controller systemd[1]: Failed to start The Apache HTTP Server.
May 16 10:27:41 controller systemd[1]: Unit httpd.service entered failed state.
May 16 10:27:41 controller systemd[1]: httpd.service failed.
=========
google后查到一个workaround
(原文链接:https://bugs.centos.org/view.php?id=8092)
试了一下,搞定。
google还是靠谱。
不说了,肚子饿了:百度定个外卖。
检查httpd日志,如下提示:
=========
[root@controller ~]# systemctl status -l httpd
● 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 Mon 2016-05-16 10:27:41 CST; 6s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 27815 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 27813 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Process: 27790 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force (code=exited, status=0/SUCCESS)
Process: 27769 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear (code=exited, status=0/SUCCESS)
Main PID: 27813 (code=exited, status=1/FAILURE)
May 16 10:27:41 controller python[27790]: Compressing... done
May 16 10:27:41 controller python[27790]: Compressed 4 block(s) from 3 template(s).
May 16 10:27:41 controller httpd[27813]: AH00526: Syntax error on line 18 of /etc/httpd/conf.d/ssl.conf:
May 16 10:27:41 controller httpd[27813]: Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration
May 16 10:27:41 controller systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
May 16 10:27:41 controller kill[27815]: kill: cannot find process ""
May 16 10:27:41 controller systemd[1]: httpd.service: control process exited, code=exited status=1
May 16 10:27:41 controller systemd[1]: Failed to start The Apache HTTP Server.
May 16 10:27:41 controller systemd[1]: Unit httpd.service entered failed state.
May 16 10:27:41 controller systemd[1]: httpd.service failed.
=========
google后查到一个workaround
Have you lost the line in /etc/httpd/conf/httpd.conf that does Include conf.modules.d/*.conf |
试了一下,搞定。
google还是靠谱。
不说了,肚子饿了:百度定个外卖。
相关文章推荐
- 20159311《网络攻击与防范》第十一周学习总结
- Caffe 抽取CNN网络特征 Python
- HTTP HSTS协议和 nginx
- 【网络协议】TCP分段与IP分片
- TCP之————三次握手和四次挥手
- 网络爬虫基本原理
- 卷积神经网络模型如何辨识裸体图片
- httpUtils获取网络信息解析xml
- Android中OKHttp框架的使用
- iOS 网络编程:JSON解析
- Android中httpUrlContent的简单使用
- 企业做网络营销一定要建“大”网站吗?
- HTTP协议中的缓存使用
- HTTP缓存
- 企业选择服务器租用攻略
- 简单的异步加载网络图片的方法
- (3)java网络socket通信---半双工、全双工
- Android中利用HttpURLConnection发送Post请求并添加参数的写法
- HTTP中的重定向和请求转发的区别
- 《网络攻防技术与实践》第十一周学习总结