AI智能
改变未来

httpd服务器Failed to start httpd.service: Unit httpd.service is masked.解决办法

当我们启动httpd服务的时候,系统报错为Failed to start httpd.service: Unit httpd.service is masked.

解决方法:

systemctl unmask httpd.service

然后在启动httpd服务并且查看端口80已启动:

[root@A8 ~]#systemctl start httpd[root@A8 ~]#ss -ntl

更多文章和资料|点击下方文字直达 ↓↓↓阿里云K8s实战手册 [阿里云CDN排坑指南]CDNECS运维指南DevOps实践手册 Hadoop大数据实战手册Knative云原生应用开发指南OSS 运维实战手册

赞(0) 打赏
未经允许不得转载:爱站程序员基地 » httpd服务器Failed to start httpd.service: Unit httpd.service is masked.解决办法