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 2FBF210B29 for ; Fri, 9 Aug 2013 10:41:23 +0000 (UTC) Received: (qmail 40986 invoked by uid 500); 9 Aug 2013 10:41:20 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 40798 invoked by uid 500); 9 Aug 2013 10:41:20 -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 40787 invoked by uid 99); 9 Aug 2013 10:41:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 10:41:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mmarino@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-wi0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 10:41:11 +0000 Received: by mail-wi0-f172.google.com with SMTP id hj13so1492349wib.5 for ; Fri, 09 Aug 2013 03:40:51 -0700 (PDT) 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=3MPcEE+5J/L4FXSqvLUhl2D+skDkX977Byjgk47BOOI=; b=R4GSHoHdhkPlAHh98oHxKEe8T2FNUHr4XUXFEeUkX1/llIKxAbe/oWN8hbQYRd4s0i XGhHapEb0ZZLrlHVyUJE0dHwFHVxcir3/gWKg/CwrrIdYyVOTiHuvYY5Q3DM4S5l58Hj z5lp1fBHFIIT83SFuk9mQwASpyY3ge2GNf4U9C9mxWYvXmpgH/IlCIySWmnra8cteNgH XiCB7lYj8yteNnAcitQXeLpcV+zfDSKVgwUCal0Hnp39lq6ovcTNZQg9i4AkNQSo+xtx q/gchqd+YdPvdcuHrRwbQHYLsm9d4U/323dNwXLQtnpvaM4AzjhFmg9OkJTOpkvxKf9V I0qQ== X-Received: by 10.180.10.202 with SMTP id k10mr16998wib.17.1376044851399; Fri, 09 Aug 2013 03:40:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.109.197 with HTTP; Fri, 9 Aug 2013 03:40:31 -0700 (PDT) In-Reply-To: References: From: Mike Marino Date: Fri, 9 Aug 2013 12:40:31 +0200 Message-ID: Subject: Re: Couchdb service script does not stop the service To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001a11c25bf69013cb04e3816838 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c25bf69013cb04e3816838 Content-Type: text/plain; charset=ISO-8859-1 Yes, there's a heartbeat process that restarts the server if it dies (or is killed). Try ps -ef | grep couch and you should see the heartbeat process. Cheers, Mike On Fri, Aug 9, 2013 at 12:37 PM, Andrey Kuprianov < andrey.kouprianov@gmail.com> wrote: > I tried killing beam, but it was starting over and over again. There's a > heartbeat process for couch, isnt there? > > > > On Fri, Aug 9, 2013 at 4:52 PM, Robert Newson wrote: > > > check the pidfile (might be empty). If so, just kill the beam.smp > > processes. There's a known issue with pidfile management on first > > startup on some OS's. > > > > B. > > > > > > On 9 August 2013 10:45, Andrey Kuprianov > > wrote: > > > Hi guys, > > > > > > Im having trouble stopping couchdb service using the 'service couchdb > > > stop'. I've just installed fresh couhdb-1.3.1 with couchdb-lucene > 0.10.0 > > on > > > Ubuntu 12.04 LTS and saw that couchdb log is full of eaddrinuse error > > again. > > > > > > netstat -anlp | grep 5984 was showing this: > > > > > > tcp 0 0 0.0.0.0:5984 0.0.0.0:* > > LISTEN > > > 30992/beam.smp > > > tcp 0 0 10.248.7.104:34314 10.248.14.201:5984 > > > ESTABLISHED 30992/beam.smp > > > tcp 0 0 10.248.7.104:41687 10.248.14.201:5984 > > > TIME_WAIT - > > > tcp 0 0 10.248.7.104:39102 10.248.14.201:5984 > > > ESTABLISHED 30992/beam.smp > > > > > > The service script also doesnt print out any status about whether couch > > is > > > running or not, so it seems like it's a dangling process. Any ideas? > > > > > > Andrey > > > --001a11c25bf69013cb04e3816838--