From owner-freebsd-stable@FreeBSD.ORG Sat Dec 18 23:20:43 2010 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 BDB8B106564A for ; Sat, 18 Dec 2010 23:20:43 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4DA8FC0A for ; Sat, 18 Dec 2010 23:20:42 +0000 (UTC) Received: (qmail 25343 invoked by uid 399); 18 Dec 2010 23:20:42 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 18 Dec 2010 23:20:42 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4D0D41C9.8060807@FreeBSD.org> Date: Sat, 18 Dec 2010 15:20:41 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101210 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D0C49A2.4000203@FreeBSD.org> <699B0DD9-A3E0-4508-8AAD-E493EF6DB3D9@mac.com> In-Reply-To: <699B0DD9-A3E0-4508-8AAD-E493EF6DB3D9@mac.com> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: /etc/rc.d/named stop (Was: Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Dec 2010 23:20:43 -0000 On 12/18/2010 14:51, Chuck Swiger wrote: >One gripe is that stopping via rc script fails: > > # grep named /etc/rc.conf named_enable="YES" > named_program="/usr/local/sbin/named" > > # /etc/rc.d/named stop named not running? (check > /var/run/named/pid). > > ...because of the "-t /var/named", probably. Is there a symlink or > something I can do to fix this? If you start named with the rc.d script it should do that for you. ll /var/run/named/pid lrwxr-xr-x 1 root bind 28 Dec 18 13:52 /var/run/named/pid@ -> /var/named/var/run/named/pid Make sure you don't have named_symlink_enable=NO somewhere, for example in /etc/rc.conf.local. hth, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/