LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora 9: time always wrong after reboot (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-9-time-always-wrong-after-reboot-732485/)

Dims 06-12-2009 09:51 AM

Fedora 9: time always wrong after reboot
 
The tyme on my system is always wrong after reboot.

ntpdate time.nist.gov

set correct time. Hence timezone settings are valid.

But after reboot I have wrong time again (12 hours shifted).

Where I can put time.nist.gov as a time server to sync?

cmnorton 06-12-2009 10:20 AM

tzdata
 
This sounds possibly like your tzdata files are messed up, or you have not chkconfig'd ntp, so it start up automatically and runs periodically.

John VV 06-12-2009 12:28 PM

by chance do you also have MS windows installed in a dual boot ??
linux likes to set the computer's clock to UTC and Microsoft sets in to your LOCAL time

Dims 06-12-2009 01:37 PM

I have removed all default NTP servers from ntp.conf and inserted *.gov -- and it started to work

Code:

#server 0.fedora.pool.ntp.org
#server 1.fedora.pool.ntp.org
#server 2.fedora.pool.ntp.org
server time.nist.gov

Looks like the time was wrong on one of the server (am/pm mixed).

How to query NTP server?

Dims 06-12-2009 01:38 PM

Quote:

Originally Posted by John VV (Post 3571950)
by chance do you also have MS windows installed in a dual boot ??

No, no Windows, single OS.

Dims 06-12-2009 01:40 PM

Quote:

Originally Posted by cmnorton (Post 3571823)
you have not chkconfig'd ntp, so it start up automatically and runs periodically.

You are right, it is off in chkconfig. But why it worked wrong then? Why it was forget my date command effect?

cmnorton 06-15-2009 09:45 AM

Try config
 
Try fiddling with the configuration file and running the command manually.

wintercarver 07-15-2009 11:49 PM

This is probably way too late a response, but, check the bottom of this article with regard to setting your hardware clock and the associated comments:
http://www.debianadmin.com/ntp-serve...in-debian.html


All times are GMT -5. The time now is 11:15 AM.