Re: Ntpdate fails to start



On Sun, Sep 7, 2008 at 1:11 PM, Stuart Sears <stuart@xxxxxxxxxxx> wrote:
At booting, ntpdate fails to start, and also the following command fails:

# /sbin/service ntpdate start
ntpdate: Synchronizing with time server: [FAILED]
#

The log messages are:

Sep 7 12:50:50 localhost ntpdate[2908]: the NTP socket is in use, exiting

Any ideas?

service ntpd status

Should show you that the ntp daemon is already running.

You can't run both ntpd (the server) and ntpdate (the client) at the
same time.

Thanks, Stuart and Edward. Got this:

# /sbin/service ntpd status
ntpd (pid 2059) is running...
#

ntpdate tries to start at booting. So, should I disable it? Which one
of the two should I have running in order to have always a correct
time on my computer?

Paul

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



Relevant Pages

  • Re: "ntpd -q" is slow compared to ntpdate
    ... Mohit> continue to use ntpdate or sntp to set the time in a one-shot way ... Mohit> before actually running ntpd. ... replacement for 'ntpdate'. ...
    (comp.protocols.time.ntp)
  • Re: ntpd -gq VS ntpdate -B
    ... is normally recommended for a boot sequence prior to starting ntpd. ... "ntpdate -B" slews the time, ... if the difference is more the clock will be ... If the error is less than 0.5 seconds, it will slew the time ...
    (comp.protocols.time.ntp)
  • Re: ntpd -gq VS ntpdate -B
    ... Ntpd -qg with this time difference has the same behavior. ... See following reference of ntpdate manual: ... If ntpdate determines the clock is in error more than 0.5 second ... the servers you have chosen to use. ...
    (comp.protocols.time.ntp)
  • 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: FreeBSD 6.0-RC1 available
    ... >> Joshua Coombs ... This causes ntpd to match ntpdate's ... Second, when ntpdate, or what ever is set in ntpdate_program is ... I see some effort was put into the new ntpdate rc.d script, ...
    (freebsd-current)