LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-20-2003, 01:49 AM   #1
DoubleLetter
Member
 
Registered: Jun 2001
Location: Sharjah, United Arab Emirates
Distribution: Mandrake Linux 10.1
Posts: 132

Rep: Reputation: 15
Time goes backwards


Every since I started using Red Hat Linux in June 2001, I've had a rather funny problem: The time goes backwards. That is, the time goes forwards, but slowly.

So, after I've reset it to the correct time (e.g 10:43 20 apr 2003), after 2 days the time will be '23:10 21 apr 2003' !

The problem continues with RH 8.0.

I'm not sure if its a problem with my pc or RH. It used to be fine with Win 98....

To top that, redhat-config-date on RH 8.0 crashes,giving a python exception (I'll post the exact exception later...). So I can't even reset it using a GUI. I have to reboot into the BIOS, and reset the hardware clock correctly.

Finally, this problem is more problematic when I'm compiling some programs with make & gcc: "The compilation may not be complete. A clock skew was detected."

And yes, I'm 2 years late in posting my problem. But no ! According to my clock, I'm only a few months late.


I'd appreciate any help,

Regards, Ahsan
 
Old 04-20-2003, 04:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
my mobo is playing up too, think it's something in the bios as it's also not booting at all sometimes.

I use an ntpd client daemon to continually synchronize the time from a number of official ntp servers online. this is better than just using a one off rdate server as the daemon will keep track of the drift time and anticipate time changes and cause the time to change gradually rather than just suddenly changing the time and loosing 3000 seconds at one time, which can easily affect your system.
 
Old 11-02-2007, 04:06 AM   #3
xsten
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
I currently observe the same on a RHEL distro

so far, I could not find the reason of the problem

/sbin/hwclock -> indicates correct time
/sbin/clock -> indicates correct time
date -> gives a wrong date

sleep does not work
systems hangs repeatidly during 20sec - 2 minutes

ntpd is installed but not running (/etc/init.d/ntpd present, but ps -ef |grep ntpd returns nothing)
 
Old 11-02-2007, 05:16 AM   #4
andrew375
Member
 
Registered: Mar 2007
Distribution: Lubuntu, Ubuntu 10.10, Knoppix
Posts: 53

Rep: Reputation: 16
It is probably your mother board clock. To check switch on computer and go into the bios and set the system time and date as precisely as possible, a mobile phone should be best for this. Exit bios and shut down without starting the os. Leave as long as possible before starting the machine and check the bios time setting against the time standard you used and see how far out they are. If the mb clock is off try replacing the battery. If that makes no difference the mb clock can usually be adjusted, there is usually a potentiometer, a little square device with a screw driver slot in the top, located near the clock chip (usually a TI device). There will probably be only the one pot. on the board anyway. Adjust the pot. with a fine bladed screw driver, I'm afraid it is just trial and error from now on.

As acid_kewpie suggests you will probably be better off using a program that automagically updates the system clock from one of the national time standard servers. I don't know how to do this with Linux but this is what we do at work on our windoze machines.
 
Old 11-02-2007, 01:00 PM   #5
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
You and your computer are not by any chance moving close to the speed of light relative to each other?
 
Old 11-02-2007, 05:21 PM   #6
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
It would be nice if threads from 2003 were not bumped, and new threads were made instead
 
Old 11-02-2007, 05:38 PM   #7
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
OMG, He went backwards!
I think we lost him.













... Godspeed!
 
  


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
Grub: A Backwards question linda Linux - General 3 07-16-2005 02:54 PM
freebsd 5.3 backwards compatibility kpachopoulos *BSD 1 12-21-2004 04:58 PM
Backwards Clustering? ImpactDNI Linux - Networking 6 06-29-2004 02:44 PM
move backwards alaios Linux - General 1 03-14-2004 02:21 PM
Backwards MPlayer install downinthemine Linux - Software 3 01-18-2004 04:00 PM

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

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

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