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

httpd服务器Failed to start httpd.service: Unit httpd.service is masked.解决办法_第1张图片

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

你可能感兴趣的:(httpd服务器Failed to start httpd.service: Unit httpd.service is masked.解决办法)