Operating System - HP-UX
1827295 Members
4200 Online
109717 Solutions
New Discussion

Re: xntpd daemon keeps on dying

 
MoloisD
Occasional Contributor

xntpd daemon keeps on dying

Hi

On HP11.11 server my xntpd daemon keeps on dying every 5 - 10 minutes.
I rerun the ff command to restart:
/usr/sbin/xntpd

Currently the server is 27 min behind the ntp server.Below is the error message on syslog.log
What could be the cause?

" Sep 8 10:20:38 uxerfmsp xntpd[27045]: synchronized to 10.1.48.9, stratum=2
Sep 8 10:20:38 uxerfmsp xntpd[27045]: time error 1651.285736 is way too large (set clock manually) "


Your help will be much appreciated
Thanks
6 REPLIES 6
RAC_1
Honored Contributor

Re: xntpd daemon keeps on dying

Too much of time difference that NTP can adjust. You can first set time manully to that of server (but note than this may cause problems to applications/programs that are time sensititve. So shut them down if you can)

Once you sync time, then ntp should run without problems.

you can sync time to the server as
ntpdate "ntp_server"
There is no substitute to HARDWORK
Jaime Bolanos Rojas.
Honored Contributor

Re: xntpd daemon keeps on dying

MoloisD,

Also take a look at this thread for more info:

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1050795

Regards,

Jaime.
Work hard when the need comes out.
A. Clay Stephenson
Acclaimed Contributor

Re: xntpd daemon keeps on dying

This is normal and documented behavior. The maximum time offset is 1000 seconds and if that is exceeded then the daemon shuts itself down. In your case, you should stop any critical applications, especially databases, then manually set the date using the date command, and then restart the ntp daemon. All should be well and the systems should then remain in sync.
If it ain't broke, I can fix that.
Patrick Wallek
Honored Contributor

Re: xntpd daemon keeps on dying

The error message is telling you exactly what the cause is:

Sep 8 10:20:38 uxerfmsp xntpd[27045]: time error 1651.285736 is way too large (set clock manually) "

The time difference of 1651.28 seconds is too large for NTP to deal with. You need to first set the clock manually and then start NTP so it can synchronize it.
MoloisD
Occasional Contributor

Re: xntpd daemon keeps on dying

thanks

Its now fixed,
I 've run the ntpdate myserver

D Block 2
Respected Contributor

Re: xntpd daemon keeps on dying

MoloisD, Please award or assign the ITRC buddies POINTS.. THANK YOU.
Golf is a Good Walk Spoiled, Mark Twain.