Ntpdate fails to start
Paul Smith
phhs80 at gmail.com
Tue Sep 9 09:30:34 UTC 2008
On Tue, Sep 9, 2008 at 10:24 AM, Tony Molloy <tony.molloy at ul.ie> 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?
>> >
>> > Do you use NetworkManager to bring your network up? If so, it's not up
>> > in time for NTP to do its trick, and will be sort of running
>> > (freewheeling without synchronising to external servers) and preventing
>> > ntpdate from being usable.
>>
>> Thanks, Tim, but how can I check it out?
>
> # service NetworkManager status
>
> will tell you if NetworkManager is running
>
>
> # service network status
>
> will tell you if the networkservice is running.
>
> You shouldn't have both running.
>
> Try the following and post the results
>
> # ntpq -p
Thanks, Tony. The results:
# /sbin/service NetworkManager status
NetworkManager (pid 2319) is running...
#
# ntpq -p
bash: ntpq: command not found
#
but
# /sbin/service ntpd status
ntpd (pid 2049) is running...
#
Paul
More information about the users
mailing list