我正在使用RHEL 7.4 OS。我已完成systemctl disable httpd.service
来禁用httpd的自动启动。它也被禁用。
[root@clustermrfc002 ~]# systemctl is-enabled httpd
disabled
。
但是在重启时,httpd服务正在启动。
Jul 28 18:02:07 clustermrfc002.novalocal systemd[1]: Starting The Apache HTTP Server...
Jul 28 18:02:08 clustermrfc002.novalocal httpd[8732]: [Sat Jul 28 18:02:08.357617 2018] [core:warn] [pid 8732] AH00117: Ignoring deprecated use
Jul 28 18:02:08 clustermrfc002.novalocal systemd[1]: Started The Apache HTTP Server.
这在rhel 7起搏器群集中引起问题,看到以下错误。
Jul 28 18:12:23 clustermrfc001 pengine[7420]: error: Resource MNGT_httpd_rhcdDaemon (systemd::httpd) is active on 2 nodes attempting recovery
答案 0 :(得分:0)
检查“ chkconfig”的输出并查看其运行级别。 或者,使用“ systemctl list-unit-files”检查是否为HTTPD启用了其他任何服务,如果已启用,请禁用并验证
答案 1 :(得分:0)
尽管httpd.service被禁止在引导时启动,但它由network.target作为依赖项启动。
Output RDD
--------------------
A,123
A,124
A,125
A,126
B,123
B,124
B,125
B,126