[ntp:questions] NTP rejects refclock

pc Paul.Croome at softwareag.com
Wed Feb 8 17:45:09 UTC 2012


I'm setting up an NTP stratum-1 server with a Meinberg C51 timecode
receiver.
The problem is that NTP doesn't seem to be accepting data from the
refclock driver.

After running overnight, "ntpq -c associations" says:

ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 65521  8011   yes    no  none    reject    mobilize  1
  2 65522  941a   yes   yes  none candidate    sys_peer  1
  3 65523  941a   yes   yes  none candidate    sys_peer  1
  4 65524  961a   yes   yes  none  sys.peer    sys_peer  1
  5 65525  9424   yes   yes  none candidate   reachable  2

where &1 is the Meinberg refclock and &2, &3, &4, &5 are peers.

"ntpq -c clockvar" says:

associd=0 status=0000 , no events, clk_unspec,
device="Meinberg DCF77 C51 or compatible", timecode=, poll=943,
noreply=0, badformat=0, baddata=0, fudgetime1=10.000, stratum=0,
refid=DCFa, flags=0, refclock_time="<UNDEFINED>", refclock_status="",
refclock_format="Meinberg Standard",
refclock_states="*NOMINAL: 16:44:55 (100.00%); running time: 16:44:55"

The clockstats file is empty (but the loopstats and peerstats files
are normal).

ntp.conf:

driftfile /var/lib/ntp/drift
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys
server 127.127.8.0 mode 2
peer timenet  iburst
peer timenet1 iburst
peer timenet2 iburst
peer timenet3 iburst
logfile /var/ntp/ntp.log
statistics clockstats loopstats peerstats
statsdir /var/ntp/ntpstats/
filegen clockstats file clockstats type day link enable
filegen peerstats  file peerstats  type day link enable
filegen loopstats  file loopstats  type day link enable

What am I doing wrong?

Thanks,
Paul




More information about the questions mailing list