From owner-freebsd-questions@FreeBSD.ORG Sat Jun 7 15:43:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 111681065673 for ; Sat, 7 Jun 2008 15:43:31 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id EE5BA8FC14 for ; Sat, 7 Jun 2008 15:43:30 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 8B63C1CDBD; Sat, 7 Jun 2008 08:43:29 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with LMTP id I5NeMKSQ7B0l; Sat, 7 Jun 2008 08:43:17 -0700 (PDT) Date: Sat, 7 Jun 2008 11:43:13 -0400 From: Sahil Tandon To: Noah Message-ID: <20080607154313.GA56339@shepherd> Mail-Followup-To: Noah , User Questions References: <4849F2EF.8050807@enabled.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4849F2EF.8050807@enabled.com> Cc: User Questions Subject: Re: stunnel not running? (check /var/run/stunnel/stunnel.pid) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2008 15:43:31 -0000 Noah wrote: > Okay I am not understanding something with stunnel. it appears that stunnel > cant start because it cant create a pid file. It happens every time I > upgrade it. > > # /usr/local/etc/rc.d/stunnel restart > stunnel not running? (check /var/run/stunnel/stunnel.pid). > Starting stunnel. > # /usr/local/etc/rc.d/stunnel restart > stunnel not running? (check /var/run/stunnel/stunnel.pid). > Starting stunnel. > # > > Anybody help me understand things here. so here is the relevent output > which I can provide some clues. I notice below that you have modified the rc script, but even after mimicking your changes, I cannot reproduce your problem -- stunnel starts (and creates a pid) just fine. What is logged to /var/log/messages by stunnel? [...] -- Sahil Tandon