Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 36489 invoked from network); 6 Jan 2010 14:33:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2010 14:33:37 -0000 Received: (qmail 67848 invoked by uid 500); 6 Jan 2010 14:33:36 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 67771 invoked by uid 500); 6 Jan 2010 14:33:36 -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 67761 invoked by uid 99); 6 Jan 2010 14:33:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 14:33:36 +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 iberndlu@googlemail.com designates 209.85.218.218 as permitted sender) Received: from [209.85.218.218] (HELO mail-bw0-f218.google.com) (209.85.218.218) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 14:33:25 +0000 Received: by bwz10 with SMTP id 10so10876082bwz.35 for ; Wed, 06 Jan 2010 06:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:references:in-reply-to :mime-version:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=WGZqhQdamQnnu1INACsrL6rL9BhXUg9KFGb4rXf4TWA=; b=M3XNYQaChhZCGz9uX67RKl7mHQOWY2c25wXapMZBfer1GeYL6b1d6+q/vXdWM9ec68 /RMFCeOGhLrFz19T5mkXdXzlM94zZ9cOY+3CLiWEFHTuP+2hjcfK06pCeDY9K++Jn5bg Du5ppwu7AN8iJOhoTEvGXKFQp8S0K8vaVgYXI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=references:in-reply-to:mime-version:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=ToY2VvE3kdIIr3vHfDI2HgSkIMvhmU0C+3A35HbywiKBcGZcUiOPP8h2jRAhjKtwzW QJJO3TzUozC0VVvNVGmZnUpvtWIG9bqH3Yt4IwxDON1PUddW/TXssLTAlo9lrjDauUrX JWfMBrXxWd6Z5sPuKJYP0Wfr2oHXVa7Bf1B8s= Received: by 10.204.33.147 with SMTP id h19mr113971bkd.156.1262788384572; Wed, 06 Jan 2010 06:33:04 -0800 (PST) Received: from ?192.168.178.29? (mnch-5d85d0b6.pool.mediaWays.net [93.133.208.182]) by mx.google.com with ESMTPS id 13sm6175735bwz.10.2010.01.06.06.33.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 06:33:04 -0800 (PST) References: <6D739F97-8A1D-4456-8390-2B97618DC454@googlemail.com> <1bca98391001060530r641cb6a5la15d9f448c304ad7@mail.gmail.com> In-Reply-To: <1bca98391001060530r641cb6a5la15d9f448c304ad7@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Message-Id: <542F2226-A6F8-4416-97F5-25D6C671D7CF@googlemail.com> Content-Transfer-Encoding: quoted-printable From: Bernd Lutz Subject: Re: Installing the latest CouchDB version on Ubuntu Date: Wed, 6 Jan 2010 15:33:02 +0100 To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org I have set up a new EC2 with Ubuntu 9.04 and tested `ctrl + c`. Seems = not to work (was waiting 20min). On a second instance `/usr/local/etc/init.d/couchdb start` works! Thank you very much. Am 06.01.2010 um 14:30 schrieb Matteo Caprari: > Hi. >=20 > `ctrl + z` stops but unlike `ctrl + c` won't kill it. > If the program is using any resource, it won't be freed. That's why at > the second round you get >=20 > Failure to start Mochiweb: eaddrinuse. >=20 > After `ctrl +z` you can invoke `bg` to un-stop the process and leave > it running in background. >=20 > You can skip this step by adding & at the end >=20 > $ sudo -i -u couchdb couchdb & >=20 > Another solution is to start couchdb using `etc/init.d/couchdb start` >=20 > -teo >=20 > On Wed, Jan 6, 2010 at 12:40 PM, Bernd Lutz = wrote: >> Hello, >>=20 >> there is a nice and easy to follow CouchDB Wiki article on how to = install the latest CouchDB version manually: = http://wiki.apache.org/couchdb/Getting_started_with_Amazon_EC2 >>=20 >> I've followed these steps and it seems like no error occurred during = the installation. >>=20 >> When first running CouchDB it says that is has started but then the = process seems to be stopped. I have the stop the command (ctrl + z) to = get out. >> The second start returns an error (see below). >>=20 >> I've tried versions 0.10, 0.10.1 and 0.11 on Ubuntu 9.04 (EC2 = instance). For sure there is Ubuntu 9.10 which come with 0.10 but this = is no option at the moment. >>=20 >> Any idea on how to solve this error? >>=20 >> Best regards, >> Bernd >>=20 >>=20 >> # first start: sudo -i -u couchdb couchdb >>=20 >> Apache CouchDB 0.10.1 (LogLevel=3Dinfo) is starting. >> Apache CouchDB has started. Time to relax. >> [info] [<0.1.0>] Apache CouchDB has started on http://127.0.0.1:5984/ >>=20 >> # second start: sudo -i -u couchdb >>=20 >> Apache CouchDB 0.10.1 (LogLevel=3Dinfo) is starting. >> Failure to start Mochiweb: eaddrinuse >> [error] [<0.59.0>] {error_report,<0.22.0>, >> {<0.59.0>,crash_report, >> [[{pid,<0.59.0>}, >> {registered_name,couch_httpd}, >> {error_info,{exit,eaddrinuse, >> [{gen_server,init_it,6}, >> {proc_lib,init_p_do_apply,3}]}}, >> = {initial_call,{mochiweb_socket_server,init,['Argument__1']}}, >> = {ancestors,[couch_secondary_services,couch_server_sup, >> <0.1.0>]}, >> {messages,[]}, >> {links,[<0.51.0>]}, >> {dictionary,[]}, >> {trap_exit,true}, >> {status,running}, >> {heap_size,987}, >> {stack_size,23}, >> {reductions,456}], >> []]}} >> [error] [<0.51.0>] {error_report,<0.22.0>, >> {<0.51.0>,supervisor_report, >> [{supervisor,{local,couch_secondary_services}}, >> {errorContext,start_error}, >> {reason,eaddrinuse}, >> {offender,[{pid,undefined}, >> {name,httpd}, >> {mfa,{couch_httpd,start_link,[]}}, >> {restart_type,permanent}, >> {shutdown,brutal_kill}, >> {child_type,worker}]}]}} >> [error] [<0.43.0>] {error_report,<0.22.0>, >> {<0.43.0>,supervisor_report, >> [{supervisor,{local,couch_server_sup}}, >> {errorContext,start_error}, >> {reason,shutdown}, >> {offender, >> [{pid,undefined}, >> {name,couch_secondary_services}, >> {mfa,{couch_server_sup,start_secondary_services,[]}}, >> {restart_type,permanent}, >> {shutdown,infinity}, >> {child_type,supervisor}]}]}} >> {"init terminating in = do_boot",{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1},{= erl_eval,do_apply,5},{erl_eval,exprs,5},{init,start_it,1},{init,start_em,1= }]}} >>=20 >> Crash dump was written to: erl_crash.dump >> init terminating in do_boot () >=20 >=20 >=20 > --=20 > :Matteo Caprari > matteo.caprari@gmail.com