每次重新启动 Apache 时,“未注册的 unix-process 身份验证代理”?

kit*_*irl 5 apache-2.4 centos7

我的服务器是带有 Apache 2.4.6 的 centos 7.4。
每次 I 时systemctl restart httpd,2 条消息都会添加到/var/log/secure.Looks 中:

Jan 19 8:23:48 localhost polkitd[493]: Registered Authentication Agent for unix-process:5739:174943 (system bus name :1.119 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jan 19 8:23:49 localhost polkitd[493]: Unregistered Authentication Agent for unix-process:5739:174943 (system bus name :1.119, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Run Code Online (Sandbox Code Playgroud)

有什么问题?

Mar*_*cus 5

我必须重新启动盒子才能解决这个问题。

我确信有更好的解决方案,但如果没有更好的解决方案……就全部结束吧。

  • @iwaseatenbyagrue 对我来说,Apache 根本不会因为这个错误而启动,所以我想我会回答说重新启动可以为我解决这个问题。由于根本没有其他人回答过这个问题,请接受这个公认的少量增值减去批评。 (2认同)