Why do I get "can't open /etc/ntp/drift.TEMP: Permission denied" entries in /var/log/messages when I use ntpd?

Updated 2009-04-06T22:31:34+00:00

Release found: Red Hat Enterprise Linux 3, 4, 5.


This error is caused by an incorrectly configured /etc/ntp.conf file. In earlier versions of Red Hat Enterprise Linux, the drift file was located in the /etc/ntp directory, owned by root. If a configuration file from an older version of ntpd is reused on later versions of Red Hat Enterprise Linux this will cause an error, as the ntp daemon does not run as root and it cannot create a new drift file. The preferr...

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.