[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ntpd crashes.



On 11 September 2012 00:08, Gerald Turner <gturner@unzane.com> wrote:
> Camaleón <noelamac@gmail.com> writes:
>
>> On Sat, 08 Sep 2012 13:31:16 +0200, Mauro wrote:
>>
>>> Hello I've two server with debian squeeze and in cluster with
>>> heartbeat+pacemaker.
>>> They run ntpd for time synchronize.
>>> I've noticed some ntpd crashes in random days and random hour.
>>
>> Does restarting the service works?
>>
>>> Logs don't say why.
>>> Can you suggest what can I do to know the reasons for the crash. Thank
>>> you.
>>
>> Mmmm... there's a bug report¹ to request ntpd debugging flag is turned
>> on (which I think is a must) but in the meantime I guess you will have
>> to recompile the package from Debian sources and toggle this parameter
>> on if you want to get an insightful trace.
>>
>> ¹http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643954
>
> I too get random crashes with ntpd in squeeze (1:4.2.6.p2+dfsg-1+b1) on
> a Xen dom0 host.  Frequency is about every two months.  It prompted me
> to install monit² which has nice support for probing NTP protocol and
> restarting the service automatically - not a perfect solution since the
> clock jumps forward an hour during the breakage, upsetting lots of
> software (dovecot and RRD graphs mostly).

Exactly.
I too have Xen dom0 hosts where ntp crashes.
I think the best solution is uninstall ntp and use ntpdate with cron.


Reply to: