LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > MensaWater
User Name
Password

Notices


Rating: 9 votes, 5.00 average.

timer.c:331: fatal error: RUNTIME_CHECK(isc_time_no w((&now)) == 0) failed

Posted 03-09-2015 at 10:34 AM by MensaWater
Updated 04-14-2017 at 02:55 PM by MensaWater

Posting this because all I found on line were multiple links to a single google post about this error.

On a RHEL5.10 system this morning I did a "dig" and got the error:
timer.c:331: fatal error: RUNTIME_CHECK(isc_time_now((&now)) == 0) failed

Clearly the message is related to time and in the US this past weekend we switched to daylight saving time (in my case we went from EST to EDT). Initially I thought it was because the system I was on didn't do the time change owing to having the incorrect timezone stored in /etc/localtime.

However on doing "zdump -v /etc/localtime |grep 2015" it output the following:
/etc/localtime Sun Mar 8 06:59:59 2015 UTC = Sun Mar 8 01:59:59 2015 EST isdst=0 gmtoff=-18000
/etc/localtime Sun Mar 8 07:00:00 2015 UTC = Sun Mar 8 03:00:00 2015 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 1 05:59:59 2015 UTC = Sun Nov 1 01:59:59 2015 EDT isdst=1 gmtoff=-14400
/etc/localtime Sun Nov 1 06:00:00 2015 UTC = Sun Nov 1 01:00:00 2015 EST isdst=0 gmtoff=-18000

That confirms it has the correct date and time at which to switch.

I ran "date" and it shows my time is correct but zone is shown as EST when it should show EDT.

We had an issue over the weekend where our GPS ntp clocks weren't updating so I thought perhaps it didn't like that even though ntpd was running. Accordingly I tried to stop that with "service ntpd stop" but this hung on shutdown so I had to ctrl-C out. After that status shows it down but the PID file still existed. Running the stop again "FAILED" but removed the PID file and after that status shows it down.

Stopping ntpd didn't help.

I tried going to the GUI to verify what it had timezone set to there but my console wasn't displaying. Running "shutdown -r 0" from my PuTTY session started the shutdown but it wasn't proceeding (and I couldn't see why because of lack of console). Due to this I power cycled the system.

On power cycle the console began working and during the boot I saw it correctly set the time to current time with EDT zone.

It appears the issue was never ntp but rather something more global impacting operations on this workstation.
Posted in Uncategorized
Views 1698 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration