Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 54256 invoked from network); 5 Oct 2009 03:59:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Oct 2009 03:59:10 -0000 Received: (qmail 70719 invoked by uid 500); 5 Oct 2009 03:59:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70653 invoked by uid 500); 5 Oct 2009 03:59:08 -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 70643 invoked by uid 99); 5 Oct 2009 03:59:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 03:59:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fidel.viegas@gmail.com designates 209.85.221.179 as permitted sender) Received: from [209.85.221.179] (HELO mail-qy0-f179.google.com) (209.85.221.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 03:58:58 +0000 Received: by qyk9 with SMTP id 9so4909508qyk.30 for ; Sun, 04 Oct 2009 20:57:38 -0700 (PDT) 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 :content-transfer-encoding; bh=4iU4uSRSd3ZSWBNzh2Nh1omizsCUTDf+EvUJRKURH0Q=; b=N61JoAhe9qsjpuE5Ji1MGMtYpB+j1BiU5gxZYR6f8kDWLOhm1PB8vrxpVquEO6kBOH TMlktDcp451pNNebQ+Fvw1lgIqz0F61QvwYFfSqr6VvYnMnB/GRoNrWThyr+VbSNlgPF 9T4Wb79ywO5691UDpUiyLKClTmeiLZDGHNQg0= 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:content-transfer-encoding; b=qWGWCWdgNm504TkN3zzTY9xzwskJbq5YtvNRmh5+qcHA5RFkmJYdUgxgJ1qwWkGFe/ tShXwPoJhIURdHN23+VI3EEzTNo1TV9SiOubV1VMF9xspdWKq0Nz5aPK93WtQsQUQ4m8 /KLCSlkCS3XMxze6D8tDH/8sAFeHRmRKaLQIU= MIME-Version: 1.0 Received: by 10.224.3.74 with SMTP id 10mr2811833qam.302.1254715057948; Sun, 04 Oct 2009 20:57:37 -0700 (PDT) In-Reply-To: <4AC8F7B5.6020203@netzmeister-st-pauli.de> References: <4AC8F7B5.6020203@netzmeister-st-pauli.de> Date: Mon, 5 Oct 2009 04:57:37 +0100 Message-ID: <3d3c4b7e0910042057v10f7cb5eo355a491833e6427b@mail.gmail.com> Subject: Re: Starting CouchDB on Ubuntu (trunk rev 821585) From: Fidel Viegas To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Andy, On Sun, Oct 4, 2009 at 8:29 PM, Andreas Wenk wrote: > Hi there, > > I have some trouble getting CouchDB to start. > > I have a local Ubuntu (Linux duke 2.6.28-15-generic #49-Ubuntu SMP Tue Au= g > 18 18:40:08 UTC 2009 i686 GNU/Linux) and CouchDB trunk (rev 821585). As > usual, I followed the advice in the README (adduser, chmod, chown). Now > starting CouchDB: > > $ sudo -i -u couchdb couchdb -b > Apache CouchDB has started, time to relax. > > $ ps -ef > couchdb =A0 9203 =A0 =A0 1 =A00 21:21 pts/1 =A0 =A000:00:00 /bin/sh -e > /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a / > couchdb =A0 9212 =A09203 =A00 21:21 pts/1 =A0 =A000:00:00 /bin/sh -e > /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a / > couchdb =A0 9213 =A09212 =A04 21:21 pts/1 =A0 =A000:00:00 > /usr/local/lib/erlang/erts-5.7.3/bin/beam -Bd -K true -- -root /usr/local= /li > couchdb =A0 9218 =A09213 =A00 21:21 ? =A0 =A0 =A0 =A000:00:00 heart -pid = 9213 -ht 11 > > but: > > $ curl http://127.0.0.1:5984 > curl: (7) couldn't connect to host > > and > > $ sudo -i -u couchdb couchdb -d > Apache CouchDB is not running. > > Any idea what's going wrong? I did the same in the office on a VM Debian > Lenny without having any problems. I have actually experienced the same as you on the same environment. I didn't install from the trunk, but from the repositories. What I did was install couchdb with apt-get install couchdb, and when I installed erlang this problem came up. So, I think it has to do with the version of the erlang interpreter, because as soon as I removed it, couchdb was running again. I haven't really played much with couchdb, but it was nice you raised this issue as I am using the same environment as you and I will start playing with couchdb soon. If you happen to find out the real cause, please report back your experienc= e. Regards, Fidel.