1844137 Members
2590 Online
110228 Solutions
New Discussion

NTP Service

 
SOLVED
Go to solution
Patricia Tang
Advisor

NTP Service

Hi All,

I have setup the ntp service recently and everything work fine.

I'm using command " ps -ef |grep ntpd" and notice that the ntpd daemon is stop every 15 minute. I have to restart it again and again

Anyone know what's go wrong?

Thanks in Advance

Regards,
Pat
4 REPLIES 4
Animesh Chakraborty
Honored Contributor
Solution

Re: NTP Service

Hi,
It can be a patch issue.
Check for these patches:
s700_800 10.20 Cumulative SAM/ObAM Patch(PHCO_22268)

s700_800 10.X NTP timeservices upgrade plus utilities(PHNE_23717)

for 11.0:

s700_800 11.00 NTP timeservices upgrade plus utilities (PHNE_23697)

s700_800 11.00 cumulative SAM/ObAM patch (PHCO_23876)

PHNE_19711 for HPUX 11.x
PHNE_19710 for HPUX 10.X

Regards
Animesh


Did you take a backup?
James R. Ferguson
Acclaimed Contributor

Re: NTP Service

Hi Patricia:

If your server's clock and its reference source differ by 1000 seconds or more, then the xntpd daemon will shut down as you describe. If this is the case, adjust your server to be nearly correct and restart the 'xntpd' daemon. You can do this at bootup with 'ntpdate' or with the '-a [-]sss[.fff]' option of 'date' on 11.x

Regards!

...JRF...
Roger Baptiste
Honored Contributor

Re: NTP Service

hi,

This problem usually occurs if the NTP server's reference clock and the other system's
clock is way out of sync. Look at the
/var/adm/syslog/syslog.log file for the
ntp error messages. It will confirm this.

If this the case, then check the difference
between the problem server's date/time and
the ntp server's date/time. Change your
server's time accordingly and restart the
ntp daemon.

raj
Take it easy.
Deshpande Prashant
Honored Contributor

Re: NTP Service

HI
Use #ntpq -p command to check the difference in your system clock and the source, and as mentioned by others, if they differ by 1000 seconds or more, then the xntpd daemon will shut down.
In this case, adjust your server to be nearly correct and restart the 'xntpd' daemon.
You can do this with 'ntpdate' command.

Adding #/usr/sbin/ntpdate -bv ${NTPDATESERVER} in the /sbin/init.d/xntpd file, before the xntpd daemon is started will help. So you can just stop and restart the xntpd.
#/sbin/init.d/xntpd stop
#/sbin/init.d/xntpd start

Thanks.
Prashant.
Take it as it comes.