I am having problems with ntpd on Red Hat 8.0.  

I have an 8.0 client on which ntpd can't get the time.  I have an ntpd
running on my basement server (RH 7.0) and it used to supply time just
fine before I upgraded my client, also I told my DSL router box to get
its time from my basement server and it managed it just fine.  So I
think the server is working.

As for the client, I don't have any firewall blocks set up on it:

  # iptables --list
  Chain INPUT (policy ACCEPT)
  target     prot opt source               destination
  
  Chain FORWARD (policy ACCEPT)
  target     prot opt source               destination
  
  Chain OUTPUT (policy ACCEPT)
  target     prot opt source               destination
  #

I can do ntpdate from this 8.0 machine:

  # ntpdate borg.org
  31 Jan 12:24:38 ntpdate[12401]: adjust time server 192.168.100.2 offset -0.039216 sec
  #

But nptd isn't happy:

  # ntpd -d
  create_sockets(123)
  interface <lo> OK
  interface <eth0> OK
  bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=1
  bind() fd 5, family 2, port 123, addr 127.0.0.1, flags=0
  bind() fd 6, family 2, port 123, addr 192.168.100.101, flags=1
  init_io: maxactivefd 6
  resolving borg.org
  report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 
eve\nt, event_unspec' (0xc010)
  auth_agekeys: at 1 keys 1 expired 0
  peer_clear: at 2 assoc ID 0
  newpeer: 192.168.100.101->192.168.100.2 mode 3 vers 4 poll 6 10 flags 1 1 ttl 0 key 
0000\0000
  transmit: at 8 192.168.100.101->192.168.100.2 mode 3
  auth_agekeys: at 60 keys 1 expired 0
  transmit: at 71 192.168.100.101->192.168.100.2 mode 3
  auth_agekeys: at 120 keys 1 expired 0
  transmit: at 134 192.168.100.101->192.168.100.2 mode 3
  auth_agekeys: at 180 keys 1 expired 0
  transmit: at 200 192.168.100.101->192.168.100.2 mode 3
  auth_agekeys: at 240 keys 1 expired 0
  transmit: at 266 192.168.100.101->192.168.100.2 mode 3
  auth_agekeys: at 300 keys 1 expired 0
  transmit: at 329 192.168.100.101->192.168.100.2 mode 3

Leaving that running, wait a bit, and in another buffer:

  # ntpq -p
       remote           refid      st t when poll reach   delay   offset  jitter
  ==============================================================================
   borg.org        0.0.0.0         16 u    -   64    0    0.000    0.000 4000.00
  #

Here is my /etc/ntp/conf (with comments removed to save space):

  restrict default ignore
  restrict 127.0.0.1
  server borg.org
  fudge   127.127.1.0 stratum 10
  driftfile /etc/ntp/drift
  broadcastdelay  0.008
  authenticate yes
  keys            /etc/ntp/keys

I tried deleting the "authenticate yes" line but that didn't help.


I also tried the same thing using time.nist.gov.  I can do "ntpdate
time.nist.gov" and it works, but putting "time.nist.gov" in
/etc/ntp.conf and running ntpd doesn't work.

Suggestions?  (Does nptd work for others on 8.0?)


Thanks,

-kb, the Kent how had this problem in 7.3 too.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to