Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
NTP Problems Redux

NTP Problems Redux

2005-04-19       - By Gavin McDonald

 Back
Just to summarize the problem I had been having with NTP;

It did turn out to be a configuration issue;

I made several suggested changes to the ntp.conf file, and time has
been in sync on all 4 servers ever since.  My final, working config is
as follows:

(09:54 server1:~) grep -v ^$ /etc/ntp.conf|grep -v ^#
restrict default nomodify
server <ip of local NTP1>
server <ip of local NTP2>
server 0.ca.pool.ntp.org
server 1.ca.pool.ntp.org
server 2.ca.pool.ntp.org
driftfile /var/lib/ntp/drift
broadcastdelay  0.008
authenticate no


I think that the time server was trying unsuccessfully to authenticate the
NTP servers, since all I did was remove the 'keys' directive, and add
'authenticate no'.  

Thanks for everyone who offered their advice, regardless of how they
positioned their posting. ;)

-G

-- --Original Message-- --
From: redhat-list-bounces@(protected) [mailto:redhat-list-bounces@(protected)]
On Behalf Of James Cooley
Sent: Monday, April 11, 2005 1:44 PM
To: General Red Hat Linux discussion list
Subject: Re: rh-l] NTP Problems Redux

Also, try to keep in mind that if you are running ntpd, you do not need
to manually run ntpdate.  ntpd will slowly sync your clock to the remote
time server clock so as to avoid a drastic time change.  Also, ntpd
needs to be running for about 15 minutes before your computer will trust
its time sources for synchronization.

To see the status of the ntp synching, use the command ntptrace.  You
shouldn't really ever have to run ntpdate manually if ntpd is running.

--James Cooley

P.S. I like top-posting :)

R P Herrold wrote:

> On Mon, 11 Apr 2005, Gavin McDonald wrote:
>
>> I stop the ntpd service, and run ntpdate to check the configs:
>> # ntpdate
>> 11 Apr 09:52:36 ntpdate[31314]: no servers can be used, exiting
>>
>> But If I manually specify the servers, it works fine.
>> # ntpdate 0.ca.pool.ntp.org 1.ca.pool.ntp.org 2.ca.pool.ntp.org
>> 11 Apr 09:52:49 ntpdate[31316]: adjust time server 142.179.100.217
>> offset
>> 0.0177 63 sec
>
>
> a manual vs an initscript variance sounds like something in your path
> mungeing may be in play, although it may be a drop userid permissions
> issue, or that the resolver setup is somehow having issues.  I think I
> would add the strace package to your server, and wrap the initscript,
> capturing the strace and seeing where it falls apart.
>
> -- Russ Herrold
>


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

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

Earn $52 per hosting referral at Lunarpages.