On 11/05/12 09:57, Mark Rogers wrote:
What could cause this? The only thing kicking the script off is cron.
(It's running Debian Wheezy on ARM.)
OK, I'm closer to an idea of what's going on: the system clock is jumping around all over the place.
What's the best way to install an ntp client on Debian? I did "apt-get install ntp" a couple of days ago because my clock was wrong, but haven't done more than that in terms of configuration. But it seems to be ntp that is causing the clock to jump.
Here's a snippet from syslog; note the time jumps forward just at the end of process ID 12633, and then jumps back again just at the end of process 12720. Beyond that I can't make much sense of this log:
May 11 08:42:38 debian ntpd[12632]: ntpd 4.2.6p5@1.2349 Mon Feb 27 12:39:16 UTC 2012 (1) May 11 08:42:38 debian ntpd[12633]: proto: precision = 1.445 usec May 11 08:42:38 debian ntpd[12633]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123 May 11 08:42:38 debian ntpd[12633]: Listen and drop on 1 v6wildcard :: UDP 123 May 11 08:42:38 debian ntpd[12633]: Listen normally on 2 lo 127.0.0.1 UDP 123 May 11 08:42:38 debian ntpd[12633]: Listen normally on 3 eth1 192.168.251.59 UDP 123 May 11 08:42:38 debian ntpd[12633]: Listen normally on 4 uap0 192.168.1.1 UDP 123 May 11 08:42:38 debian ntpd[12633]: Listen normally on 5 eth1 fe80::f2ad:4eff:fe00:b303 UDP 123 May 11 08:42:38 debian ntpd[12633]: Listen normally on 6 lo ::1 UDP 123 May 11 08:42:38 debian ntpd[12633]: peers refreshed May 11 08:42:38 debian ntpd[12633]: Listening on routing socket on fd #23 for interface updates May 11 09:03:11 debian ntpd[12633]: ntpd exiting on signal 15 May 11 09:03:13 debian ntpd[12719]: ntpd 4.2.6p5@1.2349 Mon Feb 27 12:39:16 UTC 2012 (1) May 11 09:03:13 debian ntpd[12720]: proto: precision = 1.455 usec May 11 09:03:13 debian ntpd[12720]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123 May 11 09:03:13 debian ntpd[12720]: Listen and drop on 1 v6wildcard :: UDP 123 May 11 09:03:13 debian ntpd[12720]: Listen normally on 2 lo 127.0.0.1 UDP 123 May 11 09:03:13 debian ntpd[12720]: Listen normally on 3 eth1 192.168.251.59 UDP 123 May 11 09:03:13 debian ntpd[12720]: Listen normally on 4 uap0 192.168.1.1 UDP 123 May 11 09:03:13 debian ntpd[12720]: Listen normally on 5 eth1 fe80::f2ad:4eff:fe00:b303 UDP 123 May 11 09:03:13 debian ntpd[12720]: Listen normally on 6 lo ::1 UDP 123 May 11 09:03:13 debian ntpd[12720]: peers refreshed May 11 09:03:13 debian ntpd[12720]: Listening on routing socket on fd #23 for interface updates May 11 08:56:03 debian ntpd[12720]: ntpd exiting on signal 15
Mark