LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-21-2007, 07:04 AM   #1
karnaf
Member
 
Registered: Dec 2005
Distribution: Linux Mint 14 (Cinnamon), Xubuntu 12.04, Ubuntu 10.04
Posts: 49

Rep: Reputation: 15
openSUSE 10.2 clock issues


Hello all,

I've installed openSUSE 10.2 on my machine and the clock is always slow, something like an hour back per day ( ! )
NTP is configured to run, and each time I restart NTP the clock is fine, only it looks as if it runs only on boot, and my machine being a linux machine, is rebooted once in a long time.
Checking the connection to the NTP server show that all is well (well, after all, if I run ntpdate <server> I get the real time ), but running ntpd -c peers will have the server there with no character to signify synchronization.

I came across this document - http://en.opensuse.org/SDB:Time_Sync...gh_the_Network and tried to follow it to the letter, but I can't find my rc.config so I can't find a place for the START_XNTPD and also couldn't find rcxntpd (though xntpd is installed)

Also, I assume the problem to be a hardware problem, since before the openSUSE installation I have had Fedora Core 6 installed and had the same problem. Tried configuring it through the BIOS but found no solution there.

I thought about croning the clock to synch with the NTP server every 15 min or so, but isn't that part of the NTP's job? Wouldn't that be an overkill?

Anyway, any comments / suggestions on how to solve this will be welcomed.

Cheers.

Last edited by karnaf; 03-21-2007 at 10:32 AM.
 
Old 03-21-2007, 05:48 PM   #2
tytower
Member
 
Registered: Jun 2006
Location: Oz
Distribution: Mandriva 10.0,10.1,10.2,2006,Mepis 6.0,Opensuse10.2,Puppy 2.14
Posts: 250

Rep: Reputation: 30
Read the README in
/etc/rc.d/
this will tell you where or what rc.config is

Yast/NetworkServices/ConfigNTP is to set up NTP servers but I couldn't get it to work for Australian server

Last edited by tytower; 03-21-2007 at 05:50 PM.
 
Old 03-22-2007, 04:18 AM   #3
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
the clolck AFAIK is controlled by the hardware on the MBO,

mabie you BIOS battery is getting a mite low?
 
Old 03-22-2007, 05:57 AM   #4
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
I think those instructions are outdated, I would recommend configuring NTP using YaST. If your hardwareclock is off by more than 15 minutes, maybe you could try the following:
Start the /etc/sysconfig editor in YaST, expand the "network" section and then the "ntp" section. Then give the option NTPD_ADJUST_CMOS_CLOCK a value of "yes" and save the change.
I hope that helps.
 
Old 04-10-2007, 03:44 PM   #5
karnaf
Member
 
Registered: Dec 2005
Distribution: Linux Mint 14 (Cinnamon), Xubuntu 12.04, Ubuntu 10.04
Posts: 49

Original Poster
Rep: Reputation: 15
I ended up doing the ugly cron solution.
It's ugly, but it works

Thanks!
 
Old 04-17-2007, 12:27 PM   #6
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Rep: Reputation: 15
Quote:
Originally Posted by karnaf
I ended up doing the ugly cron solution.
It's ugly, but it works

Thanks!
Here is a little solution I found in the Vector Linux forums:
Code:
#! /bin/sh
ntpdate 128.138.140.44 && hwclock --systohc
# end of /usr/sbin/setmytime
Then as root chmod +x /usr/sbin/setmytime
Note that the server mentioned here is located
in Boulder, CO so you may wish to make a different
selection.

Also, there are folks who strongly recommend you
use a pool time server instead of calling a
specific one as shown here. I started reading
the documentation on pool time servers but it
was so unGodly complicated I stayed with this
solution which works. Also the suggestion to
replace your CMOS battery is a good one.

hth,
The GNUinator
 
Old 09-07-2007, 06:36 AM   #7
karnaf
Member
 
Registered: Dec 2005
Distribution: Linux Mint 14 (Cinnamon), Xubuntu 12.04, Ubuntu 10.04
Posts: 49

Original Poster
Rep: Reputation: 15
Found another solution to the problem - switched to Debian Etch

Cheers.
 
  


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
External USB HD Issues--Mounting w/OpenSuSE 10.2 Dieselashi Linux - Hardware 8 02-05-2007 01:28 AM
OpenSuSE 10.1 Clock Issues alan.me Linux - Software 3 10-18-2006 01:53 PM
My SuSE 10.1 issues : 2) Clock is too fast ! willy_9 SUSE / openSUSE 3 08-30-2006 01:13 AM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Host Clock issues alphisb0t Linux - General 6 05-09-2005 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:20 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