启动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

相关文章:

  • 2022-12-23
  • 2021-06-03
  • 2021-08-02
  • 2021-09-06
  • 2021-06-13
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
猜你喜欢
  • 2022-01-10
  • 2021-06-02
  • 2021-09-17
  • 2021-07-13
  • 2021-10-14
  • 2021-07-06
  • 2022-12-23
相关资源
相似解决方案