LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-12-2006, 01:38 PM   #1
Dreadnought
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
System clock got mad?! (loling problem)


edra:~# date
Tue Dec 12 17:40:07 CET 2006
edra:~# date
Tue Dec 12 17:40:09 CET 2006
edra:~# date
Tue Dec 12 17:40:10 CET 2006
edra:~# date
Tue Dec 12 17:40:07 CET 2006
edra:~# date
Tue Dec 12 17:40:08 CET 2006
edra:~# date
Tue Dec 12 17:40:08 CET 2006
edra:~# date
Tue Dec 12 17:40:09 CET 2006
edra:~# date
Tue Dec 12 17:40:10 CET 2006
edra:~# date
Tue Dec 12 17:40:07 CET 2006
edra:~#


never seen before something like this, any ideas?


- already tried some hwclock commands
- timezone and localtime symbolic links should be correct, also timezone (CEST)
 
Old 12-13-2006, 02:21 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Are these a series of commands w/o a reboot? If so, the hw clock should have nothing to do with it.

The only things I can think of is either ntpd doing something weird (if you are running it) or something really strange in your timezone file.

Do you observe the same behavior if you use the -u option to print time in UTC?
 
Old 12-13-2006, 05:45 AM   #3
Dreadnought
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

After a reboot, and after installing adjtimex the system clock has gone ok.
Before the reboot, simply, if i use date -u the time was exactly 1h past.

...there wasn't any ntpd runnging, neither crond/atd with ntpd update scripts on a faulty timeserver, simply installing adjtimex has correct the problem, or probably it was some failure of some kind.

The problem if that my opinion is that this machine is compromised... it is an university machine and some admin has put it directed connected on the internet, without a DMZ or firewall.

I've fine tuned the system time by using
#adjtimex -c -i 20
and setting the values fot tick (adjtimex -t <tick>) and frequency (adjtimex -f <freq>) as suggested by hw and system clock comparison.

Now the error_ppm is 1.3, think it's acceptable.

Thanks anyway
 
  


Reply

Tags
hwclock



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
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
Failed to set system clock to hardware clock jrtayloriv Linux - Newbie 2 09-25-2008 07:06 AM
system clock,hardware clock varunbihani Linux - Newbie 2 07-23-2005 09:04 AM
system clock vs. CMOS clock dtamajka Linux - General 7 12-11-2003 05:56 PM
help!! system clock problem hyd_lin Linux - General 6 05-30-2003 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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