Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 10192 invoked from network); 10 Nov 2009 20:07:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Nov 2009 20:07:44 -0000 Received: (qmail 85906 invoked by uid 500); 10 Nov 2009 20:07:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 85827 invoked by uid 500); 10 Nov 2009 20:07:43 -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 85817 invoked by uid 99); 10 Nov 2009 20:07:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 20:07:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rrc7cz@gmail.com designates 209.85.220.220 as permitted sender) Received: from [209.85.220.220] (HELO mail-fx0-f220.google.com) (209.85.220.220) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Nov 2009 20:07:33 +0000 Received: by fxm20 with SMTP id 20so437330fxm.35 for ; Tue, 10 Nov 2009 12:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=XRZYrVz4Gkt5MjCMAnUg9BUDRCasIGTk0bC+x2xMpc8=; b=i/u6mT8NmUwM6a0pkM/ettaGUXhz2SVRevkXdnn93eHJZQ4bvhEul6RoLELM762n8T L/SNqpQRoBTqhfiOVKCMeSQOfyk/5mfpFQ5ID1aON1bZGL9a00THVYKvAuAXsSqYo8Zt SFFMxqG21p2v/rgXmjakkygNiGNqvn7NzjcKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vcB35Lmayj/ly1hesWHGEzYsIWbllMgR2TYXsBi8PdxMytHy5oDNxRvW5T/XpHW9By F1qhTq5DrCzQTnV5ntF+wEzIhE6iaJE5/7uyYfmvnivkwf7/Hh+AgHGjWWFr7StYe7uy 9K7E91qvsZ2LFcumIu2lPVWBIKjxFTbAkajjQ= MIME-Version: 1.0 Received: by 10.204.8.151 with SMTP id h23mr505739bkh.194.1257883632819; Tue, 10 Nov 2009 12:07:12 -0800 (PST) In-Reply-To: References: Date: Tue, 10 Nov 2009 21:07:12 +0100 Message-ID: Subject: Re: /etc/init.d/couchdb stop never really stops the db From: Robert Campbell To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org root@default:/etc/init.d# ./couchdb stop + SCRIPT_OK=0 + SCRIPT_ERROR=1 + DESCRIPTION=database server + NAME=couchdb + basename ./couchdb + SCRIPT_NAME=couchdb + COUCHDB=/usr/bin/couchdb + CONFIGURATION_FILE=/etc/default/couchdb + RUN_DIR=/var/run/couchdb + LSB_LIBRARY=/lib/lsb/init-functions + test ! -x /usr/bin/couchdb + test -r /etc/default/couchdb + . /etc/default/couchdb + COUCHDB_USER=couchdb + COUCHDB_STDOUT_FILE=/dev/null + COUCHDB_STDERR_FILE=/dev/null + COUCHDB_RESPAWN_TIMEOUT=5 + COUCHDB_OPTIONS= + test -r /lib/lsb/init-functions + . /lib/lsb/init-functions + FANCYTTY= + [ -e /etc/lsb-base-logging.sh ] + . /etc/lsb-base-logging.sh + parse_script_option_list stop + log_daemon_msg Stopping database server couchdb + [ -z Stopping database server ] + log_use_usplash + [ n = y ] + type usplash_write + log_to_console log_daemon_msg Stopping database server couchdb + [ n != y ] + [ no != yes ] + readlink /proc/self/fd/0 + stdin=/dev/pts/2 + [ /dev/pts/2 != /dev/pts/2 ] + return 0 + log_use_fancy_output + TPUT=/usr/bin/tput + EXPR=/usr/bin/expr + [ -t 1 ] + [ xxterm != x ] + [ xxterm != xdumb ] + [ -x /usr/bin/tput ] + [ -x /usr/bin/expr ] + /usr/bin/tput hpa 60 + /usr/bin/tput setaf 1 + [ -z ] + FANCYTTY=1 + true + /usr/bin/tput xenl + /usr/bin/tput cols + COLS=207 + [ 207 ] + [ 207 -gt 6 ] + /usr/bin/expr 207 - 7 + COL=200 + printf * Stopping database server couchdb * Stopping database server couchdb + /usr/bin/expr 207 - 1 + /usr/bin/tput hpa 206 + printf + stop_couchdb + command=/usr/bin/couchdb -d + test -n + test -n couchdb + su couchdb -c /usr/bin/couchdb -d + return 0 + log_end_msg 0 + [ -z 0 ] + log_use_usplash + [ n = y ] + type usplash_write + log_to_console log_end_msg 0 + [ n != y ] + [ no != yes ] + readlink /proc/self/fd/0 + stdin=/dev/pts/2 + [ /dev/pts/2 != /dev/pts/2 ] + return 0 + [ 200 ] + [ -x /usr/bin/tput ] + printf \r + /usr/bin/tput hpa 200 + [ 0 -eq 0 ] + echo [ OK ] [ OK ] + return 0 root@default:/etc/init.d# On Tue, Nov 10, 2009 at 8:48 PM, Noah Slater wrote: > > On 10 Nov 2009, at 19:41, Robert Campbell wrote: > >> I've run 0.8.0 and now 0.10.0 on Ubuntu 9.04/9.10 server and in both >> cases calling stop never actually stopped the DB. The only way I've >> gotten around it in the past is manually killing the couchdb >> processes. Why doesn't stop work for me? >> >> I've installed it via "apt-get install couchdb" and the only thing >> I've modified is local.ini, BindAddress=0.0.0.0 to get remote access >> working. Nothing else was ever changed. > > Change the top line to "#!/bin/sh -ex" and rerun as root, then paste the > output here. >