From owner-freebsd-ports@FreeBSD.ORG Mon Mar 2 21:05:34 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5262C106567E for ; Mon, 2 Mar 2009 21:05:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id D5F168FC13 for ; Mon, 2 Mar 2009 21:05:33 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 9478 invoked by uid 399); 2 Mar 2009 21:05:32 -0000 Received: from localhost (HELO ?192.168.0.24?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 2 Mar 2009 21:05:32 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49AC4A1E.3050102@FreeBSD.org> Date: Mon, 02 Mar 2009 13:05:34 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Oliver Lehmann References: <20090302163843.cc66c55e.lehmann@ans-netz.de> <20090302202520.eaf09b15.lehmann@ans-netz.de> <49AC3D3C.8040106@FreeBSD.org> <20090302210228.44973.qmail@avocado.salatschuessel.net> In-Reply-To: <20090302210228.44973.qmail@avocado.salatschuessel.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, stable@freebsd.org, dan@langille.org Subject: Re: restart a script in etc/rc.d X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 21:05:35 -0000 Oliver Lehmann wrote: > Doug Barton writes: >> You missed the bit where I said that this should come after the >> assignment of the defaults below. > > Ok, but... >> Have you confirmed that the two pid files exist, and that they contain >> the right information? > > Yes they both exists (probably because I define the variable in rc.conf > too). See my initial mail where I cat the contents of both files - they > both contain the right PID for their specific process. > So - where is the problem now? Do this: script bacula-fd2.log sh -x /usr/local/etc/rc.d/bacula-fd2 restart If the log is not too long, send it to the list. If it is, gzip it first. Doug -- This .signature sanitized for your protection