On Fri, 2002-11-22 at 21:09, Scott Foley wrote: > I am running 7.3 and enabled ntp from the dateconfig GUI. > > I notice in the /var/log/ntp.log that I get hourly entries like > this: > > 22 Nov 20:59:42 ntpd[2198]: can't open /etc/ntp.drift.TEMP: Permission > denied >
This looks like a config error to me assuming that the log message is not a typo. ntpd runs as the ntp user and does not have write perms on the /etc/ directory. It should be using /etc/ntp for all its stuff. If it is a typo what is the perms on /etc/ntp ? I have never seen this file so it must be temporary :) this result of a google search on drift.TEMP may be of some assistance: http://www.scd.ucar.edu/nets/intro/staff/siemsen/tools/ntp.html By default, the /etc/init.d/ntpd startup script starts ntp with the -U ntp command-line option, which causes ntpd to run as user "ntp". This can cause /var/log/ntp.log to get messages like "can't open /etc/ntp.drift.TEMP: Permission denied". To prevent this, do: touch /etc/ntp.drift /etc/ntp.drift.TEMP chown ntp /etc/ntp.drift /etc/ntp.drift.TEMP HTH Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list