码迷,mamicode.com
首页 > 数据库 > 详细

启动httpd服务:SSLCertificateFile: file '/var/www/miq/vmdb/certs/server.cer' does not exist or is empty

时间:2015-01-19 12:13:17      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:

启动httpd服务,失败:

[root@test vmdb]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 17 of /etc/httpd/conf.d/cfme-https-application.conf:
SSLCertificateFile: file /var/www/miq/vmdb/certs/server.cer does not exist or is empty
                                                           [FAILED]

网上搜了下,说与selinux相关,想到之前设置samba服务,开机自启动,并允许外部访问,曾经修改过selinux配置。

然后关闭selinux:

setenforce 0

再启动httpd服务:

service httpd start

启动成功!

 

参考资料:https://www.centos.org/forums/viewtopic.php?t=28657

启动httpd服务:SSLCertificateFile: file '/var/www/miq/vmdb/certs/server.cer' does not exist or is empty

标签:

原文地址:http://www.cnblogs.com/xiaoerlang/p/4233177.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!