On 05/08/2014 11:00 PM, Gaetan Bisson wrote:
[2014-05-08 18:34:54 -0700] Kyle Terrien:
I took out the "-u ntp:ntp" parameter (so ntp runs as root), and these errors disappeared. Also, ntpq -p returns the NTP servers I'm synchronized with. So, I'm pretty sure the issue is permissions related, but I have no idea what it's running into. Any insight?
What does `ls -la /var/lib/ntp/` say?
Couldn't there be another daemon binding port 123?
Hmm... In ntp-4.2.7, there is a file called .placeholder. This is not present in ntp-4.2.6. Deleting the file seems to have no effect. kyle@landru /var/lib $ la ntp/ total 12 drwxr-xr-x 2 ntp root 4096 May 6 03:14 . drwxr-xr-x 32 root root 4096 May 9 08:11 .. -rw-r--r-- 1 root root 1 May 6 03:14 .placeholder ntpd eventually creates its ntp.drift in this directory (if ntpd runs correctly). As far as I can tell (using netstat -l to list listening ports), there is nothing holding port 123. - Output for ntp-4.2.6: <http://sprunge.us/FdVa> - Output for ntp-4.2.7: <http://sprunge.us/feHI> --Kyle