NTP error (solution)

all about Meteohub on the new Raspberry PI platform

Moderator: Mattk

Post Reply
gm4jjj
Expert Boarder
Expert Boarder
Posts: 108
Joined: Mon Jan 18, 2010 3:53 pm
Location: Dunfermline, Fife UK

NTP error (solution)

Post by gm4jjj »

Noted these errors in log:

7 Jul 23:43:27 ntpd[2480]: frequency file /var/spool/ntp.drift.TEMP: Permission denied

Solution was to edit /etc/ntp.conf

Changed the following line:

#driftfile /var/spool/ntp.drift
driftfile /var/lib/ntp/ntp.drift

Now the drift file is correctly written to /var/lib/ntp/ntp.drift and no more errors in log.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: NTP error (solution)

Post by admin »

thanks again, will be part of the next update.
Post Reply