From owner-freebsd-stable@FreeBSD.ORG Sun Jan 27 20:33:52 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C60B29D7 for ; Sun, 27 Jan 2013 20:33:52 +0000 (UTC) (envelope-from jmorenov@jmorenov.com.co) Received: from us2.outbound.mailhostbox.com (us2.outbound.mailhostbox.com [208.91.199.210]) by mx1.freebsd.org (Postfix) with ESMTP id 7026B6C4 for ; Sun, 27 Jan 2013 20:33:51 +0000 (UTC) Received: from mail.jmorenov.com.co (unknown [208.91.199.200]) (Authenticated sender: jmorenov@jmorenov.com.co) by us2.outbound.mailhostbox.com (Postfix) with ESMTPA id B081D147019D for ; Sun, 27 Jan 2013 20:25:21 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jmorenov.com.co; s=20111016; t=1359318321; bh=4aNNvT2KZgNYydMdaIcRB5J2/vkbIozB/oV8EtXfcs4=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:Message-ID; b=XDk8dEIM649DWlNGryJ7d2+8OJfsS3OS+22moQAOJhgYt8VQStUq2uAiIvt7pw5q2 ily22US5Ngm2xEU+l2Co+n9WYRN0TwQtwbFLg7ayRz8pllwQ4wGYYGt1qyZ9A0GW0E BolUB1s5vB3Ee3LJhvTc16LwevNfMU7Ne2VL5/04= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 27 Jan 2013 15:25:21 -0500 From: jmorenov@jmorenov.com.co To: Subject: named fails two weeks ago unexpectedly Message-ID: <9fb04ef95c1af64e3bd034910ccba590@jmorenov.com.co> X-Sender: jmorenov@jmorenov.com.co User-Agent: Webmail Services/0.4 X-CTCH-RefID: wb X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: WHITE_FROM_RCVD X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CTCH-SenderID: jmorenov@jmorenov.com.co X-CTCH-SenderID-TotalMessages: 1 X-CTCH-SenderID-TotalSpam: 0 X-CTCH-SenderID-TotalSuspected: 0 X-CTCH-SenderID-TotalBulk: 0 X-CTCH-SenderID-TotalConfirmed: 0 X-CTCH-SenderID-TotalRecipients: 0 X-CTCH-SenderID-TotalVirus: 0 X-CTCH-SenderID-BlueWhiteFlag: 0 X-Scanned-By: MIMEDefang 2.72 on 172.16.214.28 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 20:33:52 -0000 Hi I was used FreeBSD 9.1 Release since December 2012, I usually use "portsnap fetch && update" and "portmaster-a" to keep my system updated. Two weeks ago unexpectedly "named" not worked. this is my case: "Problem: root@server:/etc # /etc/rc.d/named start /etc/rc.d/named: ERROR: get_pidfile_from_conf: /etc/namedb/named.conf does not exist (named) Checking: root@server:/etc # ls -l /var/named/etc/namedb total 40 drwxr-xr-x 2 bind wheel 512 Dec 4 04:32 dynamic drwxr-xr-x 2 root wheel 512 Dec 4 04:34 master -rw-r--r-- 1 bind wheel 15150 Jan 17 15:57 named.conf -rw-r--r-- 1 bind wheel 3135 Dec 4 04:34 named.root -rw------- 1 bind wheel 97 Dec 22 03:49 rndc.key drwxr-xr-x 2 bind wheel 512 Dec 4 04:32 slave drwxr-xr-x 2 bind wheel 512 Jan 27 13:25 working root@server:/root # cat /etc/defaults/rc.conf | grep named # named. It may be possible to run named in a sandbox, man security for named_enable="NO" # Run named, the DNS server (or NO). named_program="/usr/sbin/named" # Path to named, if you want a different one. named_conf="/etc/namedb/named.conf" # Path to the configuration file #named_flags="" # Use this for flags OTHER than -u and -c named_uid="bind" # User to run named as named_chrootdir="/var/named" # Chroot directory (or "" not to auto-chroot it) named_chroot_autoupdate="YES" # Automatically install/update chrooted # components of named. See /etc/rc.d/named. named_symlink_enable="YES" # Symlink the chrooted pid file named_wait="NO" # Wait for working name service before exiting named_wait_host="localhost" # Hostname to check if named_wait is enabled named_auto_forward="NO" # Set up forwarders from /etc/resolv.conf named_auto_forward_only="NO" # Do "forward only" instead of "forward first" root@server:/root # cat /etc/rc.conf | grep named named_enable="YES" Cause: FreeBSD 9.1 was running OK, but "named" failed for no apparent reason My Solution: root@server:/etc # ln -s /var/named/etc/namedb /etc/namedb root@server:/etc # /etc/rc.d/named start Starting named." I do not know what happened with "named" that it fails two weeks ago, any ideas ? William Moreno