/etc/rc.d/named stop (Was: Re: RFC: Upgrade BIND version in RELENG_7 to BIND 9.6.x)

Doug Barton dougb at FreeBSD.org
Sat Dec 18 23:20:43 UTC 2010

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@ -> 

Make sure you don't have named_symlink_enable=NO somewhere, for example 
in /etc/rc.conf.local.




	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/

More information about the freebsd-stable mailing list