Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 10, 2013 6:28 am 
Offline
Newbie

Joined: Thu Jan 10, 2013 6:14 am
Posts: 4
Hi,

I asked this question to linode support. The support told me my host clock was correct and asked me to ask this question here.

I am using ubuntu 12.04. It's kinda fresh without many modifications. The only system level modification I can think of is creating a nonroot user. (install web servers?)

After I issue "sudo reboot" in terminal and the system is up, the date is incorrect. Then after about 3 minutes, the date gets fixed to the correct one. (should be fixed by ntpd). I have ntp installed.

The following are two continuous calls to date command:
Code:
~$ date
Thu Jan 10 14:20:39 CST 2013
~$ date
Thu Jan 10 18:07:42 CST 2013


This problem causes my web server quits with timeout error.

Thanks.


Top
   
PostPosted: Thu Jan 10, 2013 6:59 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Try 'date -u' to eliminate any possible weirdness involving timezones; that'll give you UTC.

If you can reproduce the problem in finnix (Rescue -> Boot into rescue mode), then the host's clock is wrong, period. It happens. Request a migration to another host.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Thu Jan 10, 2013 10:08 am 
Offline
Newbie

Joined: Thu Jan 10, 2013 6:14 am
Posts: 4
Hi hoopycat,

I tried 'date -u' after reboot. It gave me the same incorrect result. The following are two continuous calls for 'date -u':

Code:
~$ date -u
Thu Jan 10 10:11:38 UTC 2013
~$ date -u
Thu Jan 10 13:58:31 UTC 2013


And then I did boot to rescue mode (Finnix). I find out the date in Finnix is wrong too:
Code:
# date -u
Thu Jan 10 10:14:07 UTC 2013


Does it mean the host clock is wrong? The official support confirmed the host clock is correct twice in the ticket I opened.

Thanks and Regards.


Top
   
PostPosted: Thu Jan 10, 2013 10:34 am 
Offline
Newbie

Joined: Thu Jan 10, 2013 6:14 am
Posts: 4
I asked the support about the host clock again and another support confirmed that my host colck was correct. I really don't know what to do next.


Top
   
PostPosted: Thu Jan 10, 2013 9:57 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
If you boot into Finnix and get the wrong time every time, and it's wrong in the same direction each time, there is absolutely no way the host clock is correct.

I argued with Linode staff on IRC a month or so back about a similar sort of thing, so keep fighting. :-) Yes, NTP will eventually fix it, but a lot of stuff happens in those first three minutes...

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Fri Jan 11, 2013 2:06 am 
Offline
Newbie

Joined: Thu Jan 10, 2013 6:14 am
Posts: 4
Hi Hoopycat,

Linode support migrated my linode to another host. After the migration, the problem is gone.

Thank you very much for your help. :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group