Where is ntp?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Geiss
Date:  
Subject: Where is ntp?
you want to use the script called /etc/init.d/ntpd

that's how you start a service in redhat.

just tweak your /etc/ntp.conf file, that's where you put servers to get your time from. first comment out these two lines:

server 127.127.1.0     # local clock
fudge  127.127.1.0 stratum 10


then go to
http://www.eecis.udel.edu/~mills/ntp/servers.htm

to get a list of stratum 2 time servers. DON'T USE STRATUM 1 SERVERS! the
stratum 2 time servers are designed for what you want.

just put the name of each server in your ntp.conf file like this:

server some.stratum2.server.edu

then do this once to get your clock close to right:
ntpdate <some of your servers, seperated by space>

then to keep your clock right forever:
/etc/init.d/ntpd start

to make ntp run after reboots:
chkconfig ntpd on


> > At 08:32 AM 8/14/02 -0700, you wrote:
> > >I have a Red Hat 7.3 server which I want to synchronize it's time to
> > >another server. I have found references on the net to the ntp command
> > >that will do this. I was not able to run the command at a console so I
> > >figured maybe it was not installed. I downloaded the ntp-4.1.1-1.i386.rpm
> > >but when I attempted to install it, I got "package ntp-4.1.1-1 is already
> > >installed" Also, in /etc there is a ntp.conf and a sub-directory called
> > >ntp with associated files but I don't know where the executable is.
> > >
> > >So, if it is already installed on the machine, where do I go to run it?
> > >
> > >Alan