5

My server is centos 7.4 with Apache 2.4.6.
Each time when I systemctl restart httpd,2 messages will added to /var/log/secure.Looks like :

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)

What's the problem?

2

I had to reboot the box to fix this.

I'm sure there's a better solution, but in absence of that... kick it all over.

1
  • 1
    @iwaseatenbyagrue For me, Apache would not start at all with this error, so I figured I would answer that a reboot fixed this for me. Since nobody else at all has even responsed to this question, please accept this admittedly small amount of value added minus the criticism. – Marcus Sep 27 '19 at 11:11
1

You can disable SELinux if systemwide security is non critical. Edit the config file found in /etc/selinux/ .Change status of SELINUX from enforcing to disabled. Save and reboot your server.

1
  • The mere suggestion could lead newcomers or other folks down the wrong path. This should at least come with a bigger, visible warning. – Yes Barry Jan 4 at 17:21
0

I got this message because of wrongly placed certificate and key files. Once I got these sorted with the apache config, apache started fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.