LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-11-2006, 01:35 PM   #1
sombre1
LQ Newbie
 
Registered: Jul 2005
Location: Northern Virginia
Distribution: SuSE 9.1 Personal
Posts: 21

Rep: Reputation: 0
Red face Time flux on SuSE platform after reboots.


Hello all,

I really appreciate anyone looking at this, but I have a really odd problem. It is a SuSE Linux 8.0 system that the time is jumping around wildly everytime we restart the OS. The date will even jump to points of time in 2004 or 2002 and various months in there. The time zone will change and the time will jump wildly

It looks a lot like a bad cmos battery, but we have replaced the entire motherboard on a Pentium 4 3.6 Ghz system. The CMOS battery is built into the motherboard on this this system.

We will try setting the time using both KDE and from command line with the following statements.

hwclock --set --date “12/02/03 13:22:00” --utc
hwclock --hctosys

And when we monitor the hardware clock versus system clock there is very little drift.

We have set the /etc/localtime file as well. That is linked to the /usr/share/zoneinfo/SystemV/CST6 timezone data file. We removed the link and rebuilt it. We even have shell set up the /etc/rc.d/rc5.d directory to force the localtime file to link to the correct tz data file and everytime I'm in the system prior to the reboot it is linked to the correct file.

We reset the timezone in yast2 as well, but on reboot the time will change.

Again, any insight into this would be appreciated. We are kind of tearing our hair out on this. Everything screems CMOS battery at me.

Thanks.
 
Old 01-13-2006, 04:29 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Try a different technique.

First, set the system time with the 'date' command.

Then set the hardware clock as you did with the 'hwclock' command.

That should calm it down.
 
Old 01-25-2006, 05:44 PM   #3
sombre1
LQ Newbie
 
Registered: Jul 2005
Location: Northern Virginia
Distribution: SuSE 9.1 Personal
Posts: 21

Original Poster
Rep: Reputation: 0
worked.

Thanks for the suggestion, it appeared to work on the server that was the problem. We are now having it on another server and I cannot get that to stabilize, but that is not a problem.

Thanks for the good suggestion!

Paul
 
Old 01-26-2006, 11:30 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
If the servers are on a network, you could try setting up one server as the timekeeper, and the others as clients synching with the timekeeper.

For more info, read up on ntpd (or xntpd on SuSE).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Many flux, flux console, flux appearance, etc... questions. kornerr Linux - General 10 08-06-2005 12:16 PM
System reboots after shutdown after some time cccc828 Slackware 4 05-15-2005 04:16 AM
How can i send message from Linux platform to Windows platform linuxeagle Linux - Networking 1 02-17-2004 12:35 AM
Flux and Openbox on SuSE 8.2 - aa'd fonts Franklin Linux - Software 7 08-17-2003 02:55 AM
1st time using Linux, rh8.0 reboots over and over danlacroix418 Linux - Newbie 1 10-14-2002 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:35 AM.

Main Menu
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