From owner-freebsd-stable@FreeBSD.ORG Tue Aug 25 14:14:04 2009 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 0ADE6106568C for ; Tue, 25 Aug 2009 14:14:04 +0000 (UTC) (envelope-from besko@msu.edu) Received: from sys09.mail.msu.edu (sys09.mail.msu.edu [35.9.75.109]) by mx1.freebsd.org (Postfix) with ESMTP id C16F08FC25 for ; Tue, 25 Aug 2009 14:14:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=msu.edu; s=mail; h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=ct8+Wm4QdKuvEGA0ZauqM/ZvKbyGidS+PWddvY1vW2A=; b=kxGdYnKWr4+1Y pWSyo9ZNKFHoPL0NB1mFfyFK1mhkDnpCpVRbNfWq7m78mPhZHV1J93ulEJmaw52U RDFWRhFVn5DnE7AHeapVQRkbGJgsMLX4C2BcHpgK/XiW+LuXTOWybbduy3KybjB3 ujR0/+n/TWPfhyDWClX0oiSyw5AaP4= Received: from user-718268.user.msu.edu ([35.10.4.118]) by sys09.mail.msu.edu with esmtpsa (Exim 4.69 #1) (TLSv1:AES256-SHA:256) id 1Mfwmh-0008E0-2c for freebsd-stable@freebsd.org; Tue, 25 Aug 2009 10:14:03 -0400 Message-ID: <4A93F1A5.4030301@msu.edu> Date: Tue, 25 Aug 2009 10:13:57 -0400 From: Lisa Besko User-Agent: Thunderbird 2.0.0.16 (X11/20080918) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4A92BFE3.5060801@msu.edu> <4A92F1B1.6050007@palisadesys.com> In-Reply-To: <4A92F1B1.6050007@palisadesys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus: None found by Clam AV Subject: Re: named stop not stopping X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: besko@msu.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 14:14:04 -0000 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