LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-26-2008, 04:17 AM   #1
bobbera
Member
 
Registered: Jun 2007
Posts: 39

Rep: Reputation: 0
RHEL 4 local time syncproblem - jumps to far when external NTPD failed .


Hi . We've been running on remote site RHEL 4 systems , they are clients are to be synchronized against some time server . When this server has a problem , being rebooted etc. , Linux machines start to adjust time to themselves . It causes the situation when Linux host acts as a local timeserver .
The question : How to configure the NTP mechanism to not jump too far ahead in the future ?

Thanks . Vlad .
 
Old 05-26-2008, 05:40 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Wouldn't configuring another two hosts as backup NTP servers be the next thing to look at instead? Wrt perf and security AFAIK it could be any box as long as it can be polled from subnets and has (limited) access to the 'net.
 
Old 05-26-2008, 07:40 AM   #3
bobbera
Member
 
Registered: Jun 2007
Posts: 39

Original Poster
Rep: Reputation: 0
Unfortunatelly we cannot manage there ntp servers locally - it's a custom site .
So we need whatever solution at local linux level .
Thanks .
 
Old 05-27-2008, 07:24 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
What does "custom site" mean? Can't you install software? Do you only have user access to applications?
 
Old 05-27-2008, 09:39 AM   #5
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
Not sure if this will fix your problem but I had similar issues with time drifting too far off and changed this line in /etc/sysconfig/ntpd
I was using CentOS5.1 but it may be the same for RHEL4

from:
OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid"


to

OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"

just added the -x flag and so far the time has not drifted. Read the man pages carefully for details on the -x flag to see if it makes sense for your situation.
 
  


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
Time jumps by 1 day for an hour, then jumps back on RH 9? dieyouspammer Red Hat 3 04-07-2006 12:18 PM
ntpd not correcting local time plythgam Linux - Software 1 08-16-2004 04:12 PM
NTPD - add to rc.local or write a script downinthemine Linux - Software 0 04-21-2004 09:52 AM
Howto use ntpd time synchronization??? Schmurff Linux - Software 1 03-10-2004 11:20 PM
After restart time jumps 7 hours mlbaker Linux - General 4 03-22-2003 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:50 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
Open Source Consulting | Domain Registration