Re: ntp issue.



On 31/07/07, Andrew.Bridgeman@xxxxxxxxxxxxxx
<Andrew.Bridgeman@xxxxxxxxxxxxxx> wrote:


The ntp information is below. The Full IP address is show below just as
"IP" for security reasons.

restrict default ignore
restrict IP mask 255.255.255.255 nomodify notrap noquery
restrict 127.0.0.1
server IP
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
authenticate yes
keys /etc/ntp/keys

Let me know what you think?

Regards

Andrew Bridgeman

|+----------------------------+-------------------------------------------|
|| "Herta Van den Eynde" | |
|| <herta.vandeneynde@gmail.| To: "General Red Hat |
|| com> | Linux discussion list" |
|| Sent by: | <redhat-list@xxxxxxxxxx> |
|| redhat-list-bounces@redha| cc: |
|| t.com | Subject: Re: ntp issue. |
|| | |
|| 31/07/2007 11:06 | |
|| Please respond to General| |
|| Red Hat Linux discussion | |
|| list | |
|| | |
|+----------------------------+-------------------------------------------|






On 31/07/07, Andrew.Bridgeman@xxxxxxxxxxxxxx
<Andrew.Bridgeman@xxxxxxxxxxxxxx> wrote:




Hello All,
I have a strange issue at the moment with regards ntp
working incorrectly on 35 of our Redhat WS Version 3 Linux machines. I
have
set them all up the same way so they use the IP of our Windows Cluster
machine I did this by adding the IP to the ntpservers file and the
tick-servers file. In addition edited the ntp.conf file to show the
cluster
IP as well.

What I seem to get is time differences on the machines within a day of
stopping and starting the ntpd service. For example I did this yesterday
and below shows all the machine times now ( 24 hours ) later, you will
notice there are 30 sec to a minute differences already and I bet with in
a week or a month they get even more out of sync. Has any body got any
ideas on what i can check or change to get this working correctly as
currently it is causing real issues when we run analysis jobs over night.

Time on Machines
==============
Tue Jul 31 10:38:46 BST 2007
Tue Jul 31 10:38:48 BST 2007
Tue Jul 31 10:38:47 BST 2007
Tue Jul 31 10:38:48 BST 2007
Tue Jul 31 10:38:48 BST 2007
Tue Jul 31 10:39:00 BST 2007
Tue Jul 31 10:39:04 BST 2007
Tue Jul 31 10:39:04 BST 2007
Tue Jul 31 10:39:04 BST 2007
Tue Jul 31 10:39:05 BST 2007
Tue Jul 31 10:39:06 BST 2007
Tue Jul 31 10:39:06 BST 2007
Tue Jul 31 10:38:58 BST 2007
Tue Jul 31 10:38:59 BST 2007
Tue Jul 31 10:38:59 BST 2007
Tue Jul 31 10:39:00 BST 2007
Tue Jul 31 10:39:00 BST 2007
Tue Jul 31 10:39:01 BST 2007
Tue Jul 31 10:39:01 BST 2007
Tue Jul 31 10:39:02 BST 2007
Tue Jul 31 10:39:02 BST 2007
Tue Jul 31 10:39:02 BST 2007
Tue Jul 31 10:39:02 BST 2007
Tue Jul 31 10:39:05 BST 2007
Tue Jul 31 10:39:04 BST 2007
Tue Jul 31 10:39:04 BST 2007
Tue Jul 31 10:39:04 BST 2007
Tue Jul 31 10:39:05 BST 2007
Tue Jul 31 10:39:05 BST 2007
Tue Jul 31 10:39:05 BST 2007
Tue Jul 31 10:39:07 BST 2007
Tue Jul 31 10:39:07 BST 2007
Tue Jul 31 10:39:07 BST 2007
Tue Jul 31 10:39:08 BST 2007
Tue Jul 31 10:39:12 BST 2007

Regards

Andrew Bridgeman

What does your ntp config look like? (grep -v ^\# /etc/ntp.conf)

Anything in the ntp log?

Kind regards,

Herta


Try putting your restrict clauses towards the bottom of the file.
Also verify that the drift file exists, and that it's owner and group
are set to ntp. Also check syslog for ntp errors.
FWIIW, I usually find it easier to write ntp logs to an alternate log
file, which you can do by adding a clause such as this one:

logfile /var/log/ntp # alternate log file

Kind regards,

Herta

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: ntp issue.
    ... Jumping into the middle of this, have you tried stopping ntp and then setting the time. ... Tue Jul 31 10:38:46 BST 2007 ... Anything in the ntp log? ... Kind regards, ...
    (RedHat)
  • Re: ntp issue.
    ... The ntp information is below. ... restrict IP mask 255.255.255.255 nomodify notrap noquery ... working incorrectly on 35 of our Redhat WS Version 3 Linux machines. ... Tue Jul 31 10:38:46 BST 2007 ...
    (RedHat)
  • Re: ntp issue.
    ... The ntp information is below. ... working incorrectly on 35 of our Redhat WS Version 3 Linux machines. ... Tue Jul 31 10:38:46 BST 2007 ... Anything in the ntp log? ...
    (RedHat)
  • Re: ntp issue.
    ... The ntp information is below. ... restrict IP mask 255.255.255.255 nomodify notrap noquery ... working incorrectly on 35 of our Redhat WS Version 3 Linux machines. ... Tue Jul 31 10:38:46 BST 2007 ...
    (RedHat)
  • Re: 6.1-PRERELEASE CVSUP tag=???
    ... Daniel Bye wrote: ... the RELENG_6_1 tag... ... 15:04:52 BST 2006 ... Same story on my i386 machines ...
    (freebsd-questions)