Operating System - Linux
1755653 Members
3284 Online
108837 Solutions
New Discussion юеВ

Re: time went bad if ntp server down

 
SOLVED
Go to solution
Maaz
Valued Contributor

time went bad if ntp server down

during system startup/boot, whenever the ntp server is not available/accessible, the date/time on my SUSE 10 ntp client machines became bad/wrong...

e.g when today I reboot my machine at 17:01 GMT-6 and ntp server was not available/accessible, the time on my machine went/became bad
# date
Mon Jun 15 15:04:28 GMT-6 2009

while originally it was
Wed Jun 17 07:02:15 GMT-6 2009


but my windows boxes remains on proper time, if ntp server is not available/accessible during the system startup/boot.

How can I configure my Linux boxes to retain the right/proper time, if NTP server not available ?
2 REPLIES 2
Colin Topliss
Esteemed Contributor
Solution

Re: time went bad if ntp server down

It could be that its taken the time from the CMOS. That then could have put the time out far enough to stop NTP from syncing properly.

Try changing

NTPD_ADJUST_CMOS_CLOCK="no"

to

NTPD_ADJUST_CMOS_CLOCK="yes"

in /etc/sysconfig/ntp. You might find that helps keep the time in sync.

Colin
Maaz
Valued Contributor

Re: time went bad if ntp server down

Dear Colin Topliss, Thanks for excellent help ;)

Regards
Maaz