From owner-freebsd-ports@FreeBSD.ORG Wed Apr 25 14:54:44 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A15A1065670; Wed, 25 Apr 2012 14:54:44 +0000 (UTC) (envelope-from dweimer@orscheln.com) Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [208.87.233.190]) by mx1.freebsd.org (Postfix) with ESMTP id 4D27B8FC14; Wed, 25 Apr 2012 14:54:44 +0000 (UTC) Received: from proxy1.orscheln.com (proxy1.orscheln.com [216.106.0.236]) by rly33g.srv.mailcontrol.com (MailControl) with ESMTP id q3PEsXdK001770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Apr 2012 15:54:34 +0100 Received: from neuman.orscheln.oi.local (neuman.orscheln.com [10.20.10.160]) by proxy1.orscheln.com (8.14.5/8.14.5) with ESMTP id q3PEsA7X064098 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 25 Apr 2012 09:54:31 -0500 (CDT) (envelope-from dweimer@orscheln.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Wed, 25 Apr 2012 09:54:28 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD Port: ntp-4.2.6p5 Thread-Index: Ac0i8zlNToX8tyQeSsalYGxGmHJCEQ== From: "Dean Weimer" To: X-Scanned-By: MailControl 7.7.0 (www.mailcontrol.com) on 10.71.0.143 Cc: ports@FreeBSD.org Subject: FreeBSD Port: ntp-4.2.6p5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2012 14:54:44 -0000 I have a FreeBSD 9.0-RELEASE system built form sources that ntpd compile = from the port with default options immediately crashes when launched. = However when running it with the -d option on the command line to try = and determine the cause the program runs fine and doesn't crash. I have another very similar system built with the same /etc/make.conf = and /etc/src.conf files only with more ports installed than this system = which doesn't have the problem. So I rebuilt this system entirely = again, doing the full make buildworld, make buildkernel and = installation. Followed by a portmaster -af to reinstall all ports = problem persisted. I also deleted the ntp.conf and copied the one form = the FreeBSD /usr/src/etc/ntp.conf file to rule out configuration file = corruption as the cause. I also tried the net/ntp-devel branch port, = similar problem as well, only it exists with a signal 10 when not in = debugging mode whereas the net/ntp branch port gives me a signal 11. Further searching and I finally discovered the version of pearl on the = working system was from the 5.14 branch and not the 5.12 branch. = Updating pearl and recompiling all pearl dependent ports seems to have = resolved the issue. Below is information about the system, and relevant = log files, everything is working for me now, but I wanted to pass this = information on in case there is something useful in it to help you = maintain the port. Proxy1# uname -a FreeBSD proxy1.orscheln.com 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Tue Apr = 24 09:23:20 CDT 2012 = intproxy@proxy1.orscheln.com:/usr/obj/usr/src/sys/GENERIC amd64 Log files from a startup of: /etc/rc.d/ntpd start Apr 25 09:06:48 proxy1 ntpd[59906]: ntpd 4.2.6p5@1.2349 Wed Apr 25 = 14:06:07 UTC 2012 (1) Apr 25 09:06:48 proxy1 kernel: pid 59907 (ntpd), uid 0: exited on signal = 11 (core dumped) proxy1# ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid -d ntpd 4.2.6p5@1.2349 Wed Apr 25 14:06:07 UTC 2012 (1) 25 Apr 09:07:36 ntpd[59923]: proto: precision =3D 0.698 usec event at 0 0.0.0.0 c01d 0d kern kernel time sync enabled Finished Parsing!! 25 Apr 09:07:36 ntpd[59923]: ntp_io: estimated max descriptors: 11095, = initial socket boundary: 20 25 Apr 09:07:36 ntpd[59923]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP = 123 25 Apr 09:07:36 ntpd[59923]: Listen and drop on 1 v6wildcard :: UDP 123 25 Apr 09:07:36 ntpd[59923]: Listen normally on 2 bce0 = fe80::7a2b:cbff:fe68:9f1e UDP 123 restrict: op 1 addr fe80::7a2b:cbff:fe68:9f1e mask = ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mflags 00003000 flags 00000001 25 Apr 09:07:36 ntpd[59923]: Listen normally on 3 bce1 = fe80::7a2b:cbff:fe68:9f1f UDP 123 restrict: op 1 addr fe80::7a2b:cbff:fe68:9f1f mask = ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mflags 00003000 flags 00000001 25 Apr 09:07:36 ntpd[59923]: Listen normally on 4 lo0 ::1 UDP 123 restrict: op 1 addr ::1 mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff = mflags 00003000 flags 00000001 25 Apr 09:07:36 ntpd[59923]: Listen normally on 5 lo0 fe80::1 UDP 123 restrict: op 1 addr fe80::1 mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff = mflags 00003000 flags 00000001 25 Apr 09:07:36 ntpd[59923]: Listen normally on 6 lo0 127.0.0.1 UDP 123 restrict: op 1 addr 127.0.0.1 mask 255.255.255.255 mflags 00003000 flags = 00000001 25 Apr 09:07:36 ntpd[59923]: Listen normally on 7 DMZ 10.50.20.5 UDP 123 restrict: op 1 addr 10.50.20.5 mask 255.255.255.255 mflags 00003000 = flags 00000001 25 Apr 09:07:36 ntpd[59923]: Listen normally on 8 DMZ 10.52.20.5 UDP 123 restrict: op 1 addr 10.52.20.5 mask 255.255.255.255 mflags 00003000 = flags 00000001 25 Apr 09:07:36 ntpd[59923]: peers refreshed 25 Apr 09:07:36 ntpd[59923]: Listening on routing socket on fd #29 for = interface updates peer_clear: at 0 next 1 associd 24691 refid INIT event at 0 50.22.155.163 8011 81 mobilize assoc 24691 newpeer: 10.50.20.5->50.22.155.163 mode 3 vers 4 poll 6 9 flags 0x101 = 0x1 ttl 0 key 00000000 peer_clear: at 0 next 2 associd 24692 refid INIT event at 0 173.230.144.109 8011 81 mobilize assoc 24692 newpeer: 10.50.20.5->173.230.144.109 mode 3 vers 4 poll 6 9 flags 0x101 = 0x1 ttl 0 key 00000000 peer_clear: at 0 next 3 associd 24693 refid INIT event at 0 24.124.0.251 8011 81 mobilize assoc 24693 newpeer: 10.50.20.5->24.124.0.251 mode 3 vers 4 poll 6 9 flags 0x101 0x1 = ttl 0 key 00000000 event at 0 0.0.0.0 c016 06 restart event at 0 0.0.0.0 c012 02 freq_set kernel 0.000 PPM event at 0 0.0.0.0 c011 01 freq_not_set receive: at 0 10.50.20.5<-10.26.146.37 mode 1 len 48 transmit: at 0 10.50.20.5->10.26.146.37 mode 2 len 48 receive: at 0 10.50.20.5<-10.26.10.3 mode 3 len 48 transmit: at 0 10.50.20.5->10.26.10.3 mode 4 len 48 receive: at 0 10.50.20.5<-10.21.130.2 mode 1 len 48 transmit: at 0 10.50.20.5->10.21.130.2 mode 2 len 48 receive: at 0 10.50.20.5<-10.22.160.103 mode 3 len 48 transmit: at 0 10.50.20.5->10.22.160.103 mode 4 len 48 receive: at 0 10.50.20.5<-10.26.112.9 mode 3 len 48 transmit: at 0 10.50.20.5->10.26.112.9 mode 4 len 48 /etc/make.conf # Use OpenSSL from ports instead of base WITH_OPENSSL_PORT=3Dyes # Avoid Building Ports Against X WITHOUT_X11=3Dyes # Some Default Options From /usr/share/examples/etc/make.conf CFLAGS?=3D -O -pipe NO_WERROR=3D WERROR=3D # Enable Proxy for Fetch FETCH_ENV=3Dhttp_proxy=3Dhttp://10.50.20.1:8080 FETCH_ENV=3Dftp_proxy=3Dhttp://10.50.20.1:8080 # ports which will only build with the base system GNU compiler (4.2) # the "make index" target also needs this .if target(index) | \ ${.CURDIR:M*/lang/gcc*} | \ ${.CURDIR:M*/lang/ruby*} | \ ${.CURDIR:M*/www/squid*} USE_GCC?=3D4.2 .endif # use clang unless gcc is explicitly required .if !defined(USE_GCC) .if !defined(CC) || ${CC} =3D=3D "cc" CC=3Dclang .endif .if !defined(CXX) || ${CXX} =3D=3D "c++" CXX=3Dclang++ .endif .if !defined(CPP) || ${CPP} =3D=3D "cpp" CPP=3Dclang-cpp .endif .endif # added by use.perl 2012-04-24 22:44:11 PERL_VERSION=3D5.12.4 /etc/src.conf # Build Without Bind WITHOUT_BIND_DNSSEC=3D"YES" WITHOUT_BIND_LIBS_LWRES=3D"YES" WITHOUT_BIND_NAMED=3D"YES" WITHOUT_BIND_UTILS=3D"YES" # Build without NTP WITHOUT_NTP=3D"YES" # Build Without Floppy WITHOUT_FLOPPY=3D"YES" # Build Witout FreeBSD Update command WITHOUT_FREEBSD_UPDATE=3D"YES" Thanks, =A0=A0=A0=A0 Dean Weimer =A0=A0=A0=A0 Network Administrator =A0=A0=A0=A0 Orscheln Management Co =A0=A0=A0=A0=A0Phone: (660) 269-3448 =A0=A0=A0=A0 Fax: (660) 269-3950