1758557 Members
2144 Online
108872 Solutions
New Discussion юеВ

Re: ntp start 2 daemons

 
dongming
Frequent Advisor

ntp start 2 daemons

hello
i configure ntp client and try to start it.
1.i run ntpq -p
No association ID's returned

2.ps -ef|grep xntpd
root 26972 1 0 16:39:00 ? 0:00 /usr/sbin/xntpd
root 26973 26972 0 16:39:00 ? 0:00 /usr/sbin/xntpd
3.
what /usr/sbin/xntpd
/usr/sbin/xntpd:
xntpd version=3.5f, PHNE_24512; Fri Jul 5 17:00:10 IST 2002

i also cksum xntpd , it is ok. anyone knows the problem?
thanks
5 REPLIES 5
HGN
Honored Contributor

Re: ntp start 2 daemons

Hi

Are you able to ping the ntp server using the name on the ntp conf file, you need to stop & start the ntp daemon after that you can try a
#ntpq -p

Rgds

HGN
James R. Ferguson
Acclaimed Contributor

Re: ntp start 2 daemons

Hi:

This simply means that no valid time source has (yet) been found. Make sure that your local server's time is reasonably close to the source time to which you are trying to synchronize.

Regards!

...JRF...
dongming
Frequent Advisor

Re: ntp start 2 daemons

the ntp server can be reachable.
and i stop /start xntpd many times.

the problem still exist.
and i try to run /usr/sbin/xnptd directly.
it start 2 process.
dongming
Frequent Advisor

Re: ntp start 2 daemons

and ntpdate has output:
receive(172.24.1.251)
transmit(172.24.1.251)
receive(172.24.1.251)
transmit(172.24.1.251)
receive(172.24.1.251)
transmit(172.24.1.251)
receive(172.24.1.251)
transmit(172.24.1.251)
server 172.24.1.251, port 123
stratum 3, precision -17, leap 00, trust 000
refid [209.50.91.129], delay 0.02594, dispersion 0.00000
transmitted 4, in filter 4
reference time: c713b6b9.e1f85000 Wed, Nov 2 2005 17:05:45.882
originate timestamp: c713b6eb.b307c000 Wed, Nov 2 2005 17:06:35.699
transmit timestamp: c713b6e7.00c7f000 Wed, Nov 2 2005 17:06:31.003
filter delay: 0.02620 0.02594 0.02594 0.02594
0.00000 0.00000 0.00000 0.00000
filter offset: 4.695989 4.696013 4.696025 4.696014
0.000000 0.000000 0.000000 0.000000
delay 0.02594, dispersion 0.00000
offset 4.696013

2 Nov 17:06:31 ntpdate[808]: step time server 172.24.1.251 offset 4.696013 sec
dongming
Frequent Advisor

Re: ntp start 2 daemons

hi i resolve the problem, put
restrict 127.0.0.1 to ntp.conf
and start again.

thanks