From owner-freebsd-stable@FreeBSD.ORG Tue Jan 27 05:47:41 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCF03106566B for ; Tue, 27 Jan 2009 05:47:41 +0000 (UTC) (envelope-from balgaa@micom.mn) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 063E68FC16 for ; Tue, 27 Jan 2009 05:47:40 +0000 (UTC) (envelope-from balgaa@micom.mn) Received: from [122.254.121.81] (helo=engineer) by publicd.ub.mng.net with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LRgHf-000OO4-IB for freebsd-stable@freebsd.org; Tue, 27 Jan 2009 13:14:48 +0800 Message-ID: <002701c9803e$3b1ace70$c701000a@engineer> From: "Balgansuren Batsukh" To: Date: Tue, 27 Jan 2009 13:12:42 +0800 Organization: Personal Email MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD-7.1STABLE w/BIND-9.4.3-P1 start problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Balgansuren Batsukh List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 05:47:42 -0000 Hello, I have been using FreeBSD-7.0STABLE with BIND-9.4.2 ( i guess, forget to = check before upgrade) up to 2008-01-26 (yesterday). But after upgrade FreeBSD-7.0STABLE-->FreeBSD-7.1STABLE everything goes = wrong. 1.BIND can't start anymore and giving me following message at = /var/log/messages: . . . Jan 27 12:30:20 ns kernel: ad4: 152587MB at ata2-master SATA150 Jan 27 12:30:20 ns kernel: acd0: CDRW at ata3-master SATA150 Jan 27 12:30:20 ns kernel: Trying to mount root from ufs:/dev/ad4s1a Jan 27 12:30:21 ns savecore: no dumps found Jan 27 12:30:21 ns named[516]: starting BIND 9.4.3-P1 -c named.conf -t = /var/named -u bind Jan 27 12:30:21 ns named[516]: could not get query source dispatcher = (0.0.0.0#53) Jan 27 12:30:21 ns named[516]: loading configuration: address in use Jan 27 12:30:21 ns named[516]: exiting (due to fatal error) Jan 27 12:30:37 ns kernel: bge0: link state changed to UP Jan 27 12:31:07 ns kernel: Connection attempt to UDP 122.254.1x.x:53 = from 209.85.146.135:9484 Jan 27 12:31:07 ns kernel: Connection attempt to UDP 122.254.1x.x:53 = from 122.254.122.41:1027 Jan 27 12:31:07 ns kernel: Connection attempt to UDP 122.254.1x.x:53 = from 122.254.122.45:62566 . . . 2.I tried to load from command line but same result: ns# /usr/sbin/named -t /var/named/ -c named.conf -d9 -f -g 27-Jan-2009 12:56:04.632 starting BIND 9.4.3-P1 -t /var/named/ -c = named.conf -d9 -f -g 27-Jan-2009 12:56:04.632 found 1 CPU, using 1 worker thread 27-Jan-2009 12:56:04.633 using up to 4096 sockets 27-Jan-2009 12:56:04.639 loading configuration from '/named.conf' 27-Jan-2009 12:56:04.640 set maximum stack size to 67108864: success 27-Jan-2009 12:56:04.640 set maximum data size to 536870912: success 27-Jan-2009 12:56:04.640 set maximum core size to 9223372036854775807: = success 27-Jan-2009 12:56:04.640 set maximum open files to -1: success 27-Jan-2009 12:56:04.640 using default UDP/IPv4 port range: [49152, = 65535] 27-Jan-2009 12:56:04.640 using default UDP/IPv6 port range: [49152, = 65535] 27-Jan-2009 12:56:04.642 no IPv6 interfaces found 27-Jan-2009 12:56:04.642 listening on IPv4 interface bge0, = 122.254.1x.x#53 27-Jan-2009 12:56:04.642 clientmgr @0x2853f000: create 27-Jan-2009 12:56:04.642 clientmgr @0x2853f000: createclients 27-Jan-2009 12:56:04.642 clientmgr @0x2853f000: create new 27-Jan-2009 12:56:04.642 client @0x28601000: create 27-Jan-2009 12:56:04.642 clientmgr @0x2853f000: createclients 27-Jan-2009 12:56:04.642 clientmgr @0x2853f000: create new 27-Jan-2009 12:56:04.642 client @0x28641000: create 27-Jan-2009 12:56:04.645 /named.conf:20: using specific query-source = port suppresses port randomization and can be insecure. 27-Jan-2009 12:56:04.646 could not get query source dispatcher = (0.0.0.0#53) 27-Jan-2009 12:56:04.646 load_configuration: address in use 27-Jan-2009 12:56:04.646 loading configuration: address in use 27-Jan-2009 12:56:04.646 exiting (due to fatal error) ns# 3.named.conf: ----------------- acl boldsoft { 202.17x.x.x; 202.17x.x.x; 122.254.1x.x; = 127.0.0.1; }; options { directory "/etc/namedb"; auth-nxdomain yes; listen-on { 122.254.1x.x; }; allow-query { any; }; allow-transfer { boldsoft; }; allow-recursion { any; }; version "None of your business!"; notify yes; allow-notify { boldsoft; }; query-source address * port 53; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; allow-query { any; }; file "master/localhost.rev"; }; . . . 4.netstat -an or sockstat -4 result: ns# netstat -an Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address = (state) tcp4 0 48 122.254.1x.x.22 122.254.93.23.58663 = ESTABLISHED tcp4 0 0 122.254.1x.x.63442 130.94.149.166.5999 = TIME_WAIT tcp4 0 0 122.254.1x.x.22 122.254.93.23.54514 = ESTABLISHED tcp4 0 0 122.254.1x.x.49853 128.205.32.21.5999 = ESTABLISHED tcp4 0 0 122.254.1x.x.22 122.254.93.23.53108 = ESTABLISHED tcp4 0 0 *.22 *.* LISTEN udp4 0 0 *.514 *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr c3ea3150 stream 0 0 0 c3ea32a0 0 0 c3ea32a0 stream 0 0 0 c3ea3150 0 0 c3ea3b28 stream 0 0 0 c3ea37e0 0 0 c3ea37e0 stream 0 0 0 c3ea3b28 0 0 c3ea30a8 stream 0 0 0 0 0 0 c3ea33f0 stream 0 0 0 c3ea3000 0 0 c3ea3000 stream 0 0 0 c3ea33f0 0 0 c3ea4000 stream 0 0 c3ea2114 0 0 0 = /var/run/devd.pipe c3ea3888 dgram 0 0 c4041bdc 0 0 0 = /var/named/var/run/log c3ea3930 dgram 0 0 c4041cf0 0 0 0 = /var/run/log c3ea39d8 dgram 0 0 c4041e04 0 0 0 = /var/run/logpriv c3ea3a80 dgram 0 0 c4043000 0 0 0 = /var/run/log ns# sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN = ADDRESS balgaa sshd 792 3 tcp4 122.254.1x.x:22 = 122.254.93.23:58663 root sshd 789 3 tcp4 122.254.1x.x:22 = 122.254.93.23:58663 balgaa sshd 755 3 tcp4 122.254.1x.x:22 = 122.254.93.23:54514 root sshd 752 3 tcp4 122.254.1x.x:22 = 122.254.93.23:54514 root cvsup 748 4 tcp4 122.254.1x.x:49853 = 128.205.32.21:5999 balgaa sshd 734 3 tcp4 122.254.1x.x:22 = 122.254.93.23:53108 root sshd 718 3 tcp4 122.254.1x.x:22 = 122.254.93.23:53108 root sshd 632 3 tcp4 *:22 *:* root syslogd 451 8 udp4 *:514 *:* ns# 5./etc/rc.conf: ns# more /etc/rc.conf # -- sysinstall generated deltas -- # Thu May 8 23:42:32 2008 # added by xorg-libraries port local_startup=3D"/usr/local/etc/rc.d" font8x14=3D"NO" font8x16=3D"swiss-8x16" font8x8=3D"swiss-8x8" hostname=3D"ns.xxx.mn" ifconfig_bge0=3D"inet 122.254.1x.x netmask 255.255.255.224" defaultrouter=3D"122.254.1x.x" keymap=3D"us.iso" moused_enable=3D"YES" moused_flags=3D"-3" moused_port=3D"/dev/psm0" moused_type=3D"auto" saver=3D"logo" sshd_enable=3D"YES" usbd_enable=3D"YES" sendmail_enable=3D"NONE" log_in_vain=3D"YES" named_enable=3D"YES" #named_flags=3D"-u bind -t /etc/namedb/sandbox -c named.conf -d 9" named_flags=3D"-c named.conf" #syslogd_flags=3D"-ss -l /etc/namedb/sandbox/dev/log" #named_pidfile=3D"/var/named/run/named/pid" # Must set this in = named.conf as well named_uid=3D"bind" # User to run named as named_chrootdir=3D"/var/named" # Chroot directory (or "" not to = auto-chroot it) named_chroot_autoupdate=3D"YES" # Automatically install/update = chrooted # components of named. See = /etc/rc.d/named. named_symlink_enable=3D"YES" # Symlink the chrooted pid file 6.If I change port number like to 5353 then BIND start normally. I tried = several times reboot system, doesn't help too. 7.uname -a=20 FreeBSD ns.boldsoft.mn 7.1-STABLE FreeBSD 7.1-STABLE #2: Mon Jan 26 = 22:56:56 ULAT 2009 balgaa@ns.xxx.mn:/usr/obj/usr/src/sys/DNS i386 I guess problem with BIND-9.4.3-P1?=20 Any suggestion? Regards, Balgaa