Hi,
I have 4 machines and all are NTP configured with same ntp.conf file. But 3 machines are in sync with Time server and 4th machine is not contacting & sync with the NTP server. Please see the below details.
[root@LINUXSER01 ~]# service ntpd stop
Stopping ntpd: [ OK ]
[root@LINUXSER01 ~]# ntpdate -u NTPSERVER01
11 Nov 15:38:07 ntpdate[3010]: adjust time server 172.25.XX.XX offset -0.030428 sec
[root@LINUXSER01 ~]# service ntpd start
Starting ntpd: [ OK ]
[root@LINUXSER01 ~]# ntptime
ntp_gettime() returns code 5 (ERROR)
time cea558ef.cbb0d000 Wed, Nov 11 2009 15:38:23.795, (.795667),
maximum error 2064 us, estimated error 16 us
ntp_adjtime() returns code 5 (ERROR)
modes 0x0 (),
offset 0.000 us, frequency 0.000 ppm, interval 1 s,
maximum error 2064 us, estimated error 16 us,
status 0x40 (UNSYNC),
time constant 0, precision 1.000 us, tolerance 512 ppm,
[root@LINUXSER01 ~]#
Output of ntpq -p command:
[root@LINUXSER01 ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
NTPSERVER01 192.168.xxx.xxx 3 u 57 64 1 1.155 -151.64 0.002
NTPSERVER02 192.168.xxx.xxx 3 u 56 64 1 1.245 -151.70 0.002
[root@LINUXSER01 ~]#
/etc/ntp.conf file:
restrict default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
server NTPSERVER01
server NTPSERVER02
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
keys /etc/ntp/keys
#log files
logconfig all
logfile /var/log/ntpd.log
ntpd log messages:
11 Nov 15:38:20 ntpd[3046]: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
11 Nov 15:38:20 ntpd[3046]: peer 172.25.xx.xx event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
11 Nov 15:38:21 ntpd[3046]: peer 192.168.xx.xx event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
Please let me know if you need any other details to analyse the issue.
Please help me in resolving this issue.