Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69FD110BF0 for ; Fri, 22 Nov 2013 14:56:17 +0000 (UTC) Received: (qmail 33875 invoked by uid 500); 22 Nov 2013 14:56:15 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 33825 invoked by uid 500); 22 Nov 2013 14:56:15 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 33814 invoked by uid 99); 22 Nov 2013 14:56:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 14:56:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mmarino@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-we0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 14:56:08 +0000 Received: by mail-we0-f172.google.com with SMTP id t60so1268048wes.3 for ; Fri, 22 Nov 2013 06:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=9U8kvMmgN9lIzm9vsi4zHX1p7iN0KI09PNzwbg2SPnY=; b=KnN0jCFxwVkt+RfXBwyGxUHyA0AnhW0hZHrCzxfGgMeXwxhzt/JmYzMCoMsHCbjt9j Dtm56nJhTgO3FuwpOkcmEMClkd9i5GHJ2Dd5wYtpQ1rUiw8vRK5rgxCrqzoe/UTfOoZ+ SsBsH6voS3axLz3Bx2FqUd3yw/ZcAiqrnX/AdsTfev0IAmfp3ATLDejbgF4gAatEkyrl pi9cwn0nAGgyKwv3jrUfqC8vPOv74dXwE98uQXiiGjo/QnfF5Eoeq5c2tB47OFo9X1sW 0SrKdMcFby0PsbGDZbtU+ZPD/271Ri8nrBRAvjK6+OMj1W/ip8WeM/6PQb5gAu9yDi2M q5sw== X-Received: by 10.180.198.109 with SMTP id jb13mr2894107wic.55.1385132147697; Fri, 22 Nov 2013 06:55:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.171.194 with HTTP; Fri, 22 Nov 2013 06:55:27 -0800 (PST) In-Reply-To: References: From: Mike Marino Date: Fri, 22 Nov 2013 15:55:27 +0100 Message-ID: Subject: Re: Debian init script stop/restart does not work To: "user@couchdb.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I have definitely had a similar issue, and had to fix the script myself ( We use a CRUX distribution, so everything was built from scratch ). If it would help, I could dig up how I fixed it on my system. On Fri, Nov 22, 2013 at 3:54 PM, Robert Newson wrote: > Yup, we know. The start/stop code is quite complicated (*too* > complicated) and seems to go wrong more and more. > > Jan and I are going to spend some time digging into it over the weekend. > > The main issue is that the pid in the pidfile is wrong (generally on > first start since boot) so stop fails. I've even seen it let two > couchdb's start at once. > > B. > > > On 22 November 2013 14:45, Alexander Uvarov wrote: >> Debian init script does not work as expected in stop/restart cases. It successfully executes, but process still alive and database still respond. Anyone with same problems? >> >> Using 1.4, 1.5 built by hands.