Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having troubles by a recent time zone change (the time went an hour back). Even though using the date command returns the correct time and date, i'm having trouble with programs that use log4j (it has the old time) and crontabs are not starting on time.

I tried restarting crontab and all processes that were using log4j and the problem still persists. By checking some log4j logs I noticed that it is using the old time.

Any ideas on how to fix this?

Thanks a lot in advance!

share|improve this question
up vote 4 down vote accepted

I'm of the persuasion that you have two separate issues plaguing you.

First, log4j

Check your java version and make sure that it's the latest version. You may be in need of time zone updates that are in the latest patch.

Second, cron

I've seen similar things happen in Debian/Ubuntu, and it was simply a bug in cron that had to wait for a patch. Make sure that your version of cron is up to date (hopefully you're using RH repos).

share|improve this answer
hi, can you please provide more information on how to install time zone updates to java? i researched online and there is a tool called tzupdater which does this, but the latest version is 2011n and i need to install patch 2012b – nmuntz Mar 12 '12 at 22:20
@nmuntz That would be a new issue outside of the scope of this question. We prefer that each question and answer be tightly scoped to the problem at hand, so I think you would get more and better answers if you made a new question concerning how to update java timezones using tzupdater. – Wesley Mar 12 '12 at 22:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.