RE: setting up NTPd

From: Marvin Blackburn (mblackburn_at_glenraven.com)
Date: 09/19/03

  • Next message: Mike Burger: "Re: pinging a name vs. number"
    To: redhat-list@redhat.com
    Date: Fri, 19 Sep 2003 13:07:47 -0400
    
    

    ntpdate requires that the socket be open locally, so you have to shutdown
    ntpd before running it.
    ntpdate -d will bring back results either way, but will not reset the local
    clock.

    Once you get the time synced with ntpdate, just restart the ntpd.
    You can put the ntp sever in the step-tickers file and it will sync time at
    each reboot then start ntpd.
    See the init.d script.

    Hope this helps.

    ------------------
    Marvin Blackburn
    Systems Administrator
    Glen Raven
    "He's no failure. He's not dead yet" --William Lloyd George

    > -----Original Message-----
    > From: redhat-list-admin@redhat.com
    > [mailto:redhat-list-admin@redhat.com]On Behalf Of James D. Parra
    > Sent: Thursday, September 18, 2003 8:32 PM
    > To: Redhat-List (E-mail)
    > Subject: setting up NTPd
    >
    >
    > Hello,
    >
    > I have ntpd running on three machines; one (primary) internal server
    > pointing to a stratum 2 server on the net, and the other two
    > pointing to the
    > internal primary server. When I issue ntpdate on all three
    > machines I get
    > the following error; "18 Sep 17:13:44 ntpdate[14942]: the NTP
    > socket is in
    > use, exiting". If I use 'rdate -p' on the two internal
    > servers pointing to
    > our primary internal NTP server I get a 'connection refused'
    > error. The
    > 'rdate -p" command works when pointing to the stratum 2
    > server. The daemons
    > are running on all three machines.
    >
    > How can make our primary internal ntp server accept
    > connections? And, how
    > can I ensure that all the clocks on the internal machines are
    > in sync with
    > one another?
    >
    > Thank you in advance,
    >
    > James
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list

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

  • Next message: Mike Burger: "Re: pinging a name vs. number"

    Relevant Pages

    • How can I get ntpdate functionality from ntpd ?
      ... I prepared by reading the handbook chapter 27.10 "Clock Synchronization with NTP", also went through /usr/share/doc/ntp, and the usual rtfm of ntpd, ntp.conf and ntpdate. ... I also found a thread in this newsgroup by from 07-MAR-2007 with the subject "NTPD server". ... server 0.hu.pool.ntp.org iburst ...
      (comp.unix.bsd.freebsd.misc)
    • Re: time acuracy
      ... external ntp server. ... In my opinion it's about exactly as easy or simple to use ntpdate in a cron ... Nor is there any cpu/ram penalty by having ntpd running. ... server that is geographically close to you, ...
      (comp.unix.sco.misc)
    • Re: [SLE] Atom clock synching tool
      ... Remember it needs a permanent network connection. ... Perhaps as a last comment - ntpd does't actually need a permanent ... server you have specified, and when it doesn't have a connection, you ... to call than ntpdate. ...
      (SuSE)
    • RE: rh-l] NTP Problems Redux
      ... I have been stopping/starting ntpd as needed to run ntpdate, ... server 192.168.1.50 ... I wait a few days to see if the clocks will drift out of sync. ...
      (RedHat)
    • Re: Time server...how to set it up on FC1?
      ... They're in essence the same daemon and when ntpdate starts it sees ... >ntpd and shuts itself down. ... from the server, regardless of what that result was and with no sanity ... If the server is 10 years off from the local system time, ...
      (Fedora)