1846713 Members
3246 Online
110256 Solutions
New Discussion

Re: NTP deamon problem

 
M. Tariq Ayub
Regular Advisor

NTP deamon problem

Hi,

In one of my client the NTP deamon does not start. when i issue start command it sets the time but after that the deamon disappears.

What can be the reason.
3 REPLIES 3
melvyn burnard
Honored Contributor

Re: NTP deamon problem

Usually this is a result of hte time difference between hte client and server being too great to be able to correct. Try setting the client time as close as possible to hte server time before starting ntp
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
John Waller
Esteemed Contributor

Re: NTP deamon problem

If the /sbin/init.d/xntpd start is actually setting the time correctly this indicates that the /etc/rc.confid.d/netdaemons is correct so I would check your /etc/ntp.conf file and also permissions on /etc/ntp.key and /etc/ntp.drift.
Bill Hassell
Honored Contributor

Re: NTP deamon problem

Always look in /var/adm/syslog/syslog.log to see what happened when the daemon was started. The start command first runs ntpdate which will JUMP the time (never good when a database is running) then start xntpd. Use ntpq to determine if all your time servers are working OK as in:


ntpq -p


Bill Hassell, sysadmin