LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Clock issues, 'date' gets stuck on same 8 seconds (http://www.linuxquestions.org/questions/red-hat-31/clock-issues-date-gets-stuck-on-same-8-seconds-779937/)

amir.tmi 01-05-2010 04:41 AM

Clock issues, 'date' gets stuck on same 8 seconds
 
Hi All,
This one is a real headache.
(redhat EL 4 up 4)

When I repeatedly run `date` I get the 8 sec rage hour:
When I repeat `hwclock` I get a normal time flow.
(ntpd is stopped)

[root@kumar ~]# hwclock
Fri 02 Apr 2010 10:41:45 AM UTC -0.407433 seconds
[root@kumar ~]# hwclock
Fri 02 Apr 2010 10:41:47 AM UTC -0.373088 seconds
[root@kumar ~]# hwclock
Fri 02 Apr 2010 10:41:49 AM UTC -0.271714 seconds
[root@kumar ~]# date
Thu Apr 1 21:52:00 UTC 2010
[root@kumar ~]# date
Thu Apr 1 21:52:03 UTC 2010
[root@kumar ~]# date
Thu Apr 1 21:52:00 UTC 2010

What did I try so far?
(first I changed the clock battery on the motherboard)

- various configurations of ntpd (while turning it on)
- running: `hwclock --systohc`
- setting: `ln -s /usr/share/zoneinfo/Israel /etc/localtime` (not in the example above)

I'm pretty sure the system clock is ok, I check on every reboot.
Another issue is that the os fails to shut down. It takes about 40 min, then it goes into runlevel 1 and then I run init 0
. And it says: switching runlevel.. INIT: Sending TERM sig...
and back to runlevel 1.
And then I unplug it...

Any suggestion will be highly appreciated. (excluding blue paint and seaside tasks ;-)

Amir.

DrLove73 01-05-2010 04:52 AM

You should report this things to Red Hat as bug's. You are having OS problems that run deep in OS insides.


All times are GMT -5. The time now is 08:02 PM.