Hi Guys
As the subject says, my ntp daemon keeps failing.
/var/log/messages:
Code:
Sep 3 11:02:47 spvx10599 ntpd[28882]: ntpd 4.2.4p8@1.1612-o Thu Jan 10 15:17:40 UTC 2013 (1)
Sep 3 11:02:47 spvx10599 ntpd[28883]: precision = 0.097 usec
Sep 3 11:02:47 spvx10599 ntpd[28883]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Sep 3 11:02:47 spvx10599 ntpd[28883]: Listening on interface #1 wildcard, ::#123 Disabled
Sep 3 11:02:47 spvx10599 ntpd[28883]: Listening on interface #2 lo, ::1#123 Enabled
Sep 3 11:02:47 spvx10599 ntpd[28883]: Listening on interface #3 eth0, fe80::250:56ff:fe83:1#123 Enabled
Sep 3 11:02:47 spvx10599 ntpd[28883]: Listening on interface #4 lo, 127.0.0.1#123 Enabled
Sep 3 11:02:47 spvx10599 ntpd[28883]: Listening on interface #5 eth0, 10.0.1.108#123 Enabled
Sep 3 11:02:47 spvx10599 ntpd[28883]: Listening on routing socket on fd #22 for interface updates
Sep 3 11:02:47 spvx10599 ntpd[28883]: kernel time sync status 2040
Sep 3 11:02:47 spvx10599 ntpd[28883]: Cannot chdir() to `eth0': No such file or directory
It seems to have a problem with eth0.
[root@spvx10599 ntp]# ntpq -p
ntpq: read: Connection refused
I can ping the servers in the config file:
Code:
[root@spvx10599 ntp]# ping 172.18.0.1
PING 172.18.0.1 (172.18.0.1) 56(84) bytes of data.
64 bytes from 172.18.0.1: icmp_seq=1 ttl=251 time=41.8 ms
64 bytes from 172.18.0.1: icmp_seq=2 ttl=251 time=41.8 ms
64 bytes from 172.18.0.1: icmp_seq=3 ttl=251 time=41.8 ms
^C
--- 172.18.0.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2561ms
rtt min/avg/max/mdev = 41.822/41.866/41.890/0.238 ms
[root@spvx10599 ntp]# ping 172.18.0.2
PING 172.18.0.2 (172.18.0.2) 56(84) bytes of data.
64 bytes from 172.18.0.2: icmp_seq=1 ttl=250 time=44.8 ms
64 bytes from 172.18.0.2: icmp_seq=2 ttl=250 time=44.0 ms
64 bytes from 172.18.0.2: icmp_seq=3 ttl=250 time=44.7 ms
^C
--- 172.18.0.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2264ms
rtt min/avg/max/mdev = 44.052/44.548/44.837/0.428 ms
[root@spvx10599 ntp]# ping 172.19.0.2
PING 172.19.0.2 (172.19.0.2) 56(84) bytes of data.
64 bytes from 172.19.0.2: icmp_seq=1 ttl=250 time=45.6 ms
64 bytes from 172.19.0.2: icmp_seq=2 ttl=250 time=45.6 ms
^C
--- 172.19.0.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1905ms
rtt min/avg/max/mdev = 45.631/45.657/45.683/0.026 ms
[root@spvx10599 ntp]# ping 172.19.0.1
PING 172.19.0.1 (172.19.0.1) 56(84) bytes of data.
64 bytes from 172.19.0.1: icmp_seq=1 ttl=251 time=44.2 ms
64 bytes from 172.19.0.1: icmp_seq=2 ttl=251 time=44.2 ms
64 bytes from 172.19.0.1: icmp_seq=3 ttl=251 time=44.2 ms
64 bytes from 172.19.0.1: icmp_seq=4 ttl=251 time=44.2 ms
^C
--- 172.19.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3236ms
rtt min/avg/max/mdev = 44.215/44.237/44.257/0.149 ms
I have the same setup on other machines and its working correctly. I have even copied the config file from a working install to this machine. Of course this is the production machine where its not working
I would be very grateful if anyone has any ideas on how to get this working.
We are using Red Hat 6.3.
Thanks
Simon