Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C50348E2 for ; Mon, 23 May 2011 18:06:24 +0000 (UTC) Received: (qmail 95165 invoked by uid 500); 23 May 2011 18:06:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 95120 invoked by uid 500); 23 May 2011 18:06:23 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 95108 invoked by uid 99); 23 May 2011 18:06:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 18:06:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of klimpong@gmail.com designates 209.85.213.180 as permitted sender) Received: from [209.85.213.180] (HELO mail-yx0-f180.google.com) (209.85.213.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 18:06:16 +0000 Received: by yxe1 with SMTP id 1so3120463yxe.11 for ; Mon, 23 May 2011 11:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:sender:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=HNNHW7Z6zZap2mow6NFMATzESffOP+qR9yCE/DYGrpw=; b=UMgbTSNhNrqOF/HbBeMPHlQJbgVByIsSalTZciu9oSz4r/F4LjGBoczErnkh72Deve w9jPy8mafEa1eRDqAJR+L36HX3mlvL3ncZyRoqI5vLRzDUPFkvjhNFbx37ip5NVH24IZ L1XixbLj+I4WIwSU9PpAZIAw+OXD1z6N1xxYk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=TOmL4Q6T663acsslW+CjdTUBerRsQYrsyshzinA/rZqC1ny7ByE7hf3zgv+Q1P2NIe l1Tss9forgoVBg1oyBWBDKhZoOxBeeA5i9EaxP7qc/OQc3TWUVoLCTTWEFVpIr67iGEp P1P6wL6QwbXIE/rRVAyiB2oW4jjDAb+jFFZyY= MIME-Version: 1.0 Received: by 10.236.79.71 with SMTP id h47mr3414077yhe.483.1306173954896; Mon, 23 May 2011 11:05:54 -0700 (PDT) Reply-To: till@php.net Sender: klimpong@gmail.com Received: by 10.236.105.209 with HTTP; Mon, 23 May 2011 11:05:54 -0700 (PDT) In-Reply-To: References: <3F699D3E-2E97-4E54-AE82-C475C8349660@apache.org> <220C0971-0152-4101-A5A9-7404AB890442@echolibre.com> <70812A11-459C-4CC5-AE2E-211405B151F5@apache.org> <03431928-49CC-4679-A11F-2D723653FB6D@apache.org> Date: Mon, 23 May 2011 20:05:54 +0200 X-Google-Sender-Auth: C-TmrKoGpEKn2n3FzBke-Fc-_SU Message-ID: Subject: Re: init.d/couchdb From: till To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, May 23, 2011 at 7:57 PM, Noah Slater wrote: > > On 23 May 2011, at 18:40, till wrote: > >> I think since the 127 comes from su, it doesn't even get to create >> .out and .err. I see them nowhere. Even after changing it to >> /tmp/couchdb.out (etc.). >> >> Googling says, "127 - a command could not be found", but I was unable >> to find a dedicated list of exit codes related to su. > > Have you tried with another command? > > What does this give you: > > su couchdb -c "echo test" > > Great success: foo:~# su -c couchdb -c 'echo "foo"' foo