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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-23-2003, 09:33 AM
|
#1
|
Member
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47
Rep:
|
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 10:26 AM.
|
|
|
06-23-2003, 10:07 AM
|
#2
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
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.
|
|
|
06-23-2003, 10:14 AM
|
#3
|
Member
Registered: Jan 2003
Location: TVM,Kerala,INDIA
Distribution: Redhat 8.0
Posts: 47
Original Poster
Rep:
|
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 10:17 AM.
|
|
|
12-05-2007, 10:09 PM
|
#4
|
LQ Newbie
Registered: Apr 2007
Location: Delhi, India
Distribution: Gentoo
Posts: 12
Rep:
|
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...
|
|
|
12-05-2007, 11:28 PM
|
#5
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,430
|
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.
|
|
|
All times are GMT -5. The time now is 02:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|