[ntp:questions] ntpd exits without word in log

mass85 at tlen.pl mass85 at tlen.pl
Thu Nov 24 10:09:50 UTC 2011


I tried NTP 4.2.6p4 with the same result of crash. GDB told me that
SIGPIPE was reason for this. It looks like resolver had died.

GDB output:
Program received signal SIGPIPE, Broken pipe.
0x000d148c in peer_hash ()

Backtrace didn't say more, probably because my ntpd was not built with
debug options. If anyone could point me what exactly would be
useful...

Btw I had to apply this patch to be able to build ntpd at all:
http://lists.ntp.org/pipermail/bugs/2011-March/013233.html

Here is ntpd log:
Nov 23 14:59:58 kelvatek daemon.notice ntpd.426[569]: ntpd
4.2.6p4 at 1.2324 Tue Nov 22 15:51:42 UTC 2011 (1)
Nov 23 14:59:58 kelvatek daemon.debug ntpd.426[571]: signal_no_reset:
signal 13 had flags 4000000
Nov 23 14:59:58 kelvatek daemon.notice ntpd.426[571]: proto: precision
= 8.760 usec
Nov 23 14:59:58 kelvatek daemon.debug ntpd.426[571]: ntp_io: estimated
max descriptors: 1024, initial socket boundary: 16
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen and drop on
0 v4wildcard 0.0.0.0 UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen and drop on
1 v6wildcard :: UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen normally on
2 lo 127.0.0.1 UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen normally on
3 eth0 192.168.1.120 UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen normally on
4 ppp0 10.120.162.121 UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen normally on
5 tun0 10.4.0.5 UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen normally on
6 lo ::1 UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen normally on
7 eth0 fe80::f0b5:19ff:fe67:28ca UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listen normally on
8 tun1 fd00::17:9d00:4812:120 UDP 123
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: peers refreshed
Nov 23 14:59:58 kelvatek daemon.info ntpd.426[571]: Listening on
routing socket on fd #25 for interface updates
Nov 23 15:00:07 kelvatek daemon.info ntpd.426[571]: Deferring DNS for
0.uk.pool.ntp.org 1
Nov 23 15:00:16 kelvatek daemon.info ntpd.426[571]: Deferring DNS for
1.uk.pool.ntp.org 1
Nov 23 15:00:50 kelvatek daemon.info ntpd.426[571]: Deferring DNS for
2.uk.pool.ntp.org 1
Nov 23 15:00:58 kelvatek daemon.info ntpd.426[571]: 0.0.0.0 c016 06
restart
Nov 23 15:00:58 kelvatek daemon.info ntpd.426[571]: 0.0.0.0 c012 02
freq_set kernel 0.000 PPM
Nov 23 15:01:07 kelvatek daemon.info ntpd_intres[596]: DNS
0.uk.pool.ntp.org -> 77.75.105.169
Nov 23 15:01:19 kelvatek daemon.info ntpd_intres[596]: DNS
1.uk.pool.ntp.org -> 62.84.188.34
Nov 23 15:01:23 kelvatek daemon.info ntpd_intres[596]: DNS
2.uk.pool.ntp.org -> 2a01:348:0:6:4d4b:69a9:0:1
Nov 23 15:04:25 kelvatek daemon.info ntpd.426[571]: 0.0.0.0 c615 05
clock_sync
Nov 23 15:06:51 kelvatek daemon.info ntpd.426[571]: Deleting interface
#5 tun0, 10.4.0.5#123, interface stats: received=6, sent=6, dropped=0,
active_time=354 secs
Nov 23 15:06:51 kelvatek daemon.info ntpd.426[571]: 10.4.0.1 interface
10.4.0.5 -> (none)
Nov 23 15:06:51 kelvatek daemon.info ntpd.426[571]: Deleting interface
#4 ppp0, 10.120.162.121#123, interface stats: received=18, sent=18,
dropped=0, active_time=354 secs
Nov 23 15:06:51 kelvatek daemon.info ntpd.426[571]: 62.84.188.34
interface 10.120.162.121 -> (none)
Nov 23 15:06:51 kelvatek daemon.info ntpd.426[571]: 77.75.105.169
interface 10.120.162.121 -> (none)
Nov 23 15:06:51 kelvatek daemon.info ntpd.426[571]: 213.229.82.130
interface 10.120.162.121 -> (none)
Nov 23 15:06:51 kelvatek daemon.info ntpd.426[571]: peers refreshed
Nov 23 15:17:21 kelvatek daemon.info ntpd.426[571]: 0.0.0.0 0618 08
no_sys_peer
Nov 24 02:15:52 kelvatek daemon.info ntpd.426[571]: Listen normally on
9 ppp0 10.120.192.44 UDP 123
Nov 24 02:15:52 kelvatek daemon.info ntpd.426[571]: peers refreshed
Nov 24 02:15:52 kelvatek daemon.debug ntpd.426[571]: new interface(s)
found: waking up resolver

Marcin Adamski



More information about the questions mailing list