Tuesday, August 18, 2009

Fixing your Server time

I got a call from my client saying the system is not updating records for 20 minutes. I initially thought it was a caching issue and soon realized my servers clock was off by 20 minutes.
Anyways here is what i did to fix it on one server
ntpdate -b pool.ntp.org
it worked perfectly on the public server but it failed on the private server.

so i went to my private server and did it manually using the following command

date 031816512009

it set the date to August 18th 2009 4:51 pm
Glad i was able to fix it.

No comments:

Blog Archive