Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2009 10:13:57 -0400
From:      Lisa Besko <besko@msu.edu>
To:        freebsd-stable@freebsd.org
Subject:   Re: named stop not stopping
Message-ID:  <4A93F1A5.4030301@msu.edu>
In-Reply-To: <4A92F1B1.6050007@palisadesys.com>
References:  <4A92BFE3.5060801@msu.edu> <4A92F1B1.6050007@palisadesys.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Guy Helmer wrote:
> Lisa Besko wrote:
>> We had an issue with the /etc/rc.d/named script this morning where it 
>> looped/hung in the wait_for_pids subroutine.  We run a job to restart 
>> named which calls the /etc/rc.d/named script with a stop command.  For 
>> some reason named did not stop properly and the process continued to 
>> list PIDs from the wait_for_pids subroutine forever.  Has anyone ever 
>> encountered this before?
>>
>> We are running 7.2 stable and bind 9.4.3-P3 on an AMD system.
>>
>> Thanks,
>>
>> LB
> Has named's rc script worked OK before?  If not, it might be a config  
> problem like mine.  I found that after I added
>  pid-file        "/var/run/named/pid";
> to the options section of my named.conf file, the rc script was able to 
> stop/restart a running named process.

The named script in /etc/rc.d has been working just fine.  We think 
named got wedged and the script could not kill it for some reason.  We 
had to do a kill -9 to make it stop. Then /etc/rc.d/named start worked 
just fine and the stop has been working fine.

LB



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