LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2003, 10:33 AM   #1
cyberswami
Member
 
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47

Rep: Reputation: 15
clock skew detected problem - no way to rectify it


Hi,
i've got a rh 7.3 build and there seems to be a problem with my system clock,
after shutting down the system properly and then returning the next day, i find that the clock is out of sync, and then this progresses if i don't change the system clock everyday, resulting in the the date/time being completely out of range,

i noticed that when i had sendmail configured on startup, the message "clock skew detected - ... build may be incomplete "
was shown,
so i threw sendmail out (i didn't need it)
but the clock problem still persists
i tried using the date and the hwclock commands but to no avail , each time i shut it down and boot, the clock seems to remain in a standstill


is there a way to rectify it? also does anybody know how to issue the above two commands(date and hwclock) at startup?

Last edited by cyberswami; 06-23-2003 at 11:26 AM.
 
Old 06-23-2003, 11:07 AM   #2
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Sounds like your CMOS battery is going. It happens sometimes. You almost certainly want to replace it, but if for some reason you can't/won't you can tell the latest versions of red hat to sync to an NTP server. I have no idea if 7.3 has that feature or not.
 
Old 06-23-2003, 11:14 AM   #3
cyberswami
Member
 
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47

Original Poster
Rep: Reputation: 15
ok i thought about that, but an anomaly is that when i had a dual-boot machine, the other os(winnt) doesn't seem to have any problem with the time at all, how come?
now there isn't nt so i cannot verify that for sure
but i'll try the ntp server,
how do u do it in rh 8.0 (where in the menu's or control panel)

Last edited by cyberswami; 06-23-2003 at 11:17 AM.
 
Old 12-05-2007, 11:09 PM   #4
me1040468
LQ Newbie
 
Registered: Apr 2007
Location: Delhi, India
Distribution: Gentoo
Posts: 12

Rep: Reputation: 0
Cool

I had similar problem until this morning when I could finally fix it.
my system = gentoo.

According to my understanding (correct me if i'm wrong) and particularly in case of my machine, the localtime always got modified when I booted my computer (because of different timezone than the default UTF or GMT). And in the config (/etc/conf.d/clock in my case), I wrote it to set hardware clock time = system clock @shutdown. So the time accrued over subsequent reboots.
The problem as I understood was this, and I rectified it. I mention it here because it took me great time and effort to figure it out.
Final configs were-

</etc/conf.d/clock>
------
CLOCK="local #system clock = local. Also suggested for dual-boot
TIMEZONE="Asia/Calcutta" #replace with ur timezone
CLOCK_SYSTOHC="no" #dont set hwclock = sysclock @boot-down
#rest default
------

Then I had to set date manually using "date -s" and make sure the correct values of hwclock and sysclock 1st time. (it wasn't easy for me though)

and done...
 
Old 12-06-2007, 12:28 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
This might be a good time to point out that RH 7.3 and 8.0 are yrs out of date and have not been supported for a long time (inc no security updates).
If at all possible, replace with a current distro eg RH Enterprise Linux, Centos (free ver of RHEL) or RH Fedora; assuming you want to stick with RH based distros.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MAKEing libgadu: 'Clock skew detected' uniQ Linux - Software 1 01-25-2004 07:12 PM
Error ->Clock Skew Detected..Make may be incomplete....What's wrong? Dinux Linux - Newbie 3 12-15-2003 04:18 AM
clock skew detected bm1 Linux - Software 2 04-29-2003 07:19 AM
Sendmail + Clock skew Detected Evolution6 Linux - Newbie 0 04-22-2003 08:14 AM
clock skew detected mechatron Linux - Newbie 2 01-17-2003 05:03 AM


All times are GMT -5. The time now is 02:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration