CentOS httpd服务启动失败:Cannot load /etc/httpd/modules/mod_ssl.so

来源:互联网 发布:选择旅行社的软件 编辑:程序博客网 时间:2024/06/09 16:48
service httpd start

Starting httpd: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 11 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/modules/mod_ssl.so into server: /etc/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory

这是因为centos自带的httpd没有安装模块mod_ssl.so


可以运行命令:yum install mod_ssl

然后再执行mod_ssl.so

原创粉丝点击