LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-10-2006, 10:48 AM   #1
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Rep: Reputation: 30
Time change by itself


mates,

I've one server that the time is always changing although I've stopped the ntp service. I've check 'crontab -e' for all user just in case somebody running ntpdate using crontab but no avail.

I've done some test using ntpdate to sync with other server & the time will change back after 2 or 3 sec to the 'original time'.

Code:
server1:~ # ntpdate xxx.xxx.x.xxx
      10 Jul 16:27:37 ntpdate[14042]: step time server xxx.xxx.x.xxx offset 592.769672 sec
      server1:#
      Message from syslogd@server1 at Mon Jul 10: 16:17:51 2006 ...
      server1 time_change: - 592 secs 770000 usecs
~
is there anyway to detect what kind of program/script that change the time. I've tried to look ps -ef & top but found nothing wierd.

The server is Suse Linux 8.1

Last edited by xgreen; 07-10-2006 at 10:49 AM.
 
Old 07-10-2006, 01:22 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
crontab -l only shows what is in the crontab in /var/spool/cron for the user that executed the crontab command.

If the time were being set by root and you ran the command as another user it wouldn't show you root's file. You need to check for all users.

In addition to that crontab there are other cron related files in /etc such as /etc/cron.d, /etc/cron.hourly, /etc/cron.weekly etc...
It is possible that the time change you're seeing is in one of these.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Need ACCESS to change files! Every time I try to change a setting,"Permission Denied" Balarabay1 SUSE / openSUSE 2 03-06-2006 09:54 AM
How to change the time...? crozewski Linux - General 3 05-15-2005 07:01 PM
Daytime Saving time. Cannot change time arubin Linux - General 9 11-06-2004 04:37 PM
Time for a change? RaTBoX Linux - Newbie 6 02-23-2003 01:08 PM

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

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