[lug] Time sync w/xntp

Dan Ferris dan at ferrises.com
Tue Nov 25 13:45:01 MST 2003


Did you restart ntpd?

Gary Hodges wrote:

> I'm having some trouble with xntpd.  I'm getting the following errors 
> in /var/log/ntp
>
> 25 Nov 13:28:17 ntpd[28079]: can't open 
> /var/lib/ntp/drift/ntp.drift.TEMP: No such file or directory
>
> In the /etc/ntp.conf file I have the following line
>
> driftfile /var/lib/ntp/drift/ntp.drift  # path for drift file
>
> While googling I saw a note that indicated I should touch the 
> driftfile first.  I did that and then I also touched ntp.drift.TEMP as 
> well, but I still get those errors.
>
> moon1:/var/lib/ntp/drift # ls -l
> total 0
> drwxr-xr-x    2 ntp      nogroup       112 2003-11-25 09:43 .
> drwxr-xr-x    5 root     root          120 2003-11-18 11:55 ..
> -rw-r--r--    1 ntp      nogroup         0 2003-11-25 09:20 ntp.drift
> -rw-r--r--    1 ntp      nogroup         0 2003-11-25 09:43 
> ntp.drift.TEMP
>
> I just tried changing the ownership and group for the two drift files 
> from root to what it is above and I get the same results.
>
> Gary
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug





More information about the LUG mailing list