1753902 Members
10505 Online
108810 Solutions
New Discussion юеВ

NTP Blues

 
RAC_1
Honored Contributor

NTP Blues

I am trying to set ntp on one client.

I have set stratum 11 on one server.

On one of the client I am trying to set ntp. But everytime it gives error as
"time error xxxxx.xxx is way too large (set clock manually)

If I set clock manually to that of stratum server(Though there will always be differnce of some miliseconds) the NTP runs for a while and again dies after giving above mentioned error. I do not want to run ntpdate as it forwards the clock. Currently the offset is 1841.xxxx sec.

How do make this server run NTP without having serious repcurssions?

Thanks in advance
There is no substitute to HARDWORK
3 REPLIES 3
Arockia Jegan
Trusted Contributor

Re: NTP Blues

Can you post the contents of ntp.conf file? Also please post the output of "ntpq -p" command.
Mike Hassell
Respected Contributor

Re: NTP Blues

Anil,

This could be attributed to a number of things, such as a dead clock battery on the machine in question, or some severe network latency. I would start by posting the results of 'ntpq -p', your ntp.conf file and any xntpd errors in your syslog.

Take a chance to review your configuration with this documentation on NTP from HP:

http://docs.hp.com/hpux/onlinedocs/B2355-90147/B2355-90147.html

Also be sure you have the latest patches installed for NTP:

PHNE_23717 (10.x)
PHNE_23697 (11.0)

How old is the machine that is having the problem with keeping acurate time?

Hope that helps.

-Mike

P.S. - Don't forget to assign points to your responses.

The network is the computer, yeah I stole it from Sun, so what?
RAC_1
Honored Contributor

Re: NTP Blues

ntp.conf

server 172.17.113.3 # local clock
fudge 172.17.113.3 stratum 10

NTP log

26 Jun 00:35:57 xntpd[9406]: logging to file /tmp/ntp.log
26 Jun 00:35:57 xntpd[9406]: tickadj = 625, tick = 10000, tvu_maxslew = 61875
26 Jun 00:35:57 xntpd[9406]: precision = 6 usec
26 Jun 00:40:47 xntpd[9406]: synchronized to 172.17.113.3, stratum=11
26 Jun 00:40:47 xntpd[9406]: time error -883610986.145565 is way too large (set clock manually)

ntpq -p dbnode
remote refid st t when poll reach delay offset disp
==============================================================================
*LOCAL(1) LOCAL(1) 10 l - 64 377 0.00 0.000 10.01

ntpdate -d dbnode --
transmit(172.17.113.3)
receive(172.17.113.3)
transmit(172.17.113.3)
receive(172.17.113.3)
transmit(172.17.113.3)
receive(172.17.113.3)
transmit(172.17.113.3)
receive(172.17.113.3)
transmit(172.17.113.3)
server 172.17.113.3, port 123
stratum 11, precision -17, leap 00, trust 000
refid [127.127.1.1], delay 0.02580, dispersion 0.00000
transmitted 4, in filter 4
reference time: c0c5d005.cf65e000 Thu, Jun 27 2002 23:25:17.810
originate timestamp: c0c5d03c.7f1f5000 Thu, Jun 27 2002 23:26:12.496
transmit timestamp: c0c5c90a.17546000 Thu, Jun 27 2002 22:55:30.091
filter delay: 0.02600 0.02580 0.02580 0.02580
0.00000 0.00000 0.00000 0.00000
filter offset: 1842.405 1842.405 1842.405 1842.405
0.000000 0.000000 0.000000 0.000000
delay 0.02580, dispersion 0.00000
offset 1842.405320

27 Jun 22:55:30 ntpdate[18101]: step time server 172.17.113.3 offset 1842.405320 sec

Regards,
There is no substitute to HARDWORK