Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2010 15:20:41 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        freebsd-stable@freebsd.org
Subject:   /etc/rc.d/named stop (Was: Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x)
Message-ID:  <4D0D41C9.8060807@FreeBSD.org>
In-Reply-To: <699B0DD9-A3E0-4508-8AAD-E493EF6DB3D9@mac.com>
References:  <4D0C49A2.4000203@FreeBSD.org> <699B0DD9-A3E0-4508-8AAD-E493EF6DB3D9@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D0D41C9.8060807>