Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Where are ntp messages logged

I'm trying to find out why my workstation's clock was slow this morning despite the fact that it had successfully sync'ed its clock with my ASG overnight.  I forced a re-sync and it jumped forward to the correct time, so now I'm trying to find out if the ASG had any ntp problems over the weekend.  However, I cannot find any ntp messages in any of the available logs, even going back seven days.

Can someone tell me which log should be expected to contain ntp messages?


This thread was automatically locked due to age.
  • They're in system.log but the events are rare so you may need to look at the archived logs

    # zgrep ntp /var/log/system/2011/08/* 
    system/2011/08/system-2011-08-07.log.gz:2011:08:07-07:23:19 fw2 ntpd[5840]: synchronized to 208.80.96.70, stratum 2
    system/2011/08/system-2011-08-07.log.gz:2011:08:07-07:40:35 fw2 ntpd[5840]: synchronized to 64.235.98.66, stratum 2
    system/2011/08/system-2011-08-07.log.gz:2011:08:07-08:21:22 fw2 ntpd[5840]: synchronized to 208.80.96.70, stratum 2
    system/2011/08/system-2011-08-07.log.gz:2011:08:07-08:29:56 fw2 ntpd[5840]: synchronized to 64.235.98.66, stratum 2


    Actually, this IS weird... nothing this month except for the 7th.
    (Astaro 7.509)

    Barry
  • Thanks, Barry.

    The only ntp messages I see appear to be due to restarts of the ntpd daemon, which begs the question of whether there's any way to make it log a little more detail.
  • There may be a form of debug logging, but only Astaro Support would know this and be able to give you the command to enable.
  • As a free home user, this is my support channel - I guess I can only hope that a paying customer will feel intrigued enough to ask, and pass the answer along here.