Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 16644 invoked from network); 5 Jun 2008 14:25:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2008 14:25:18 -0000 Received: (qmail 77893 invoked by uid 500); 5 Jun 2008 14:25:21 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 77871 invoked by uid 500); 5 Jun 2008 14:25:21 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 77856 invoked by uid 99); 5 Jun 2008 14:25:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 07:25:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brking@gmail.com designates 64.233.170.190 as permitted sender) Received: from [64.233.170.190] (HELO rn-out-0910.google.com) (64.233.170.190) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 14:24:29 +0000 Received: by rn-out-0910.google.com with SMTP id m7so221645rnd.3 for ; Thu, 05 Jun 2008 07:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=VIFHSVQhXyyI+p6airkpyA+6OM5SvlzThUSLKS5aEBY=; b=SwO1lfYiieIZKY3Re2aySXHHmN0sqp1rq906DzMAqJAjCpXsYNwYwtU0Ccb7ooiT6q Xe8BEdSAUFvirUW8gtpBdZsbAeyF7W0OfnSVaLHXhQM5amTcKthSYrd0V2hAsS7kC9b0 rA2NYzxqhS8+YbGKSgvXUtqoSkf/Br6hI7KW4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Zh1RpglNjKn6kEG7igSAIvalham1c8TjOMHDbJDl8/4mR1hIWOR3p5MmLu+LhthsJ4 JkauUcct9z7e4VNZGjeqwiKCW2MfqugwdopyWm4WccsX7AtPotARWJHgHy+OS541kA5J kilL7KWHk5AXGFdutKs/+4Xvu3Givnp7BFvL4= Received: by 10.114.123.19 with SMTP id v19mr1529923wac.168.1212675884451; Thu, 05 Jun 2008 07:24:44 -0700 (PDT) Received: by 10.114.182.11 with HTTP; Thu, 5 Jun 2008 07:24:44 -0700 (PDT) Message-ID: <888cd9180806050724x1c4ce19fl8a23cdfaff55faff@mail.gmail.com> Date: Thu, 5 Jun 2008 10:24:44 -0400 From: "Brad King" To: couchdb-user@incubator.apache.org Subject: Re: Problems installing on Ubuntu Feisty In-Reply-To: <888cd9180806050636p279a8555pd3a19b842fdff0fb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <888cd9180806030502s5b1037d7qd5a0418ea42b177b@mail.gmail.com> <372553DA-9DF0-4208-B0CD-145CE43CABB1@gmail.com> <888cd9180806041249qf3d0f9br392ebaacfc53a26@mail.gmail.com> <888cd9180806041318m6d28d07cydee5957a14acf914@mail.gmail.com> <9839212C-9628-4BB6-9721-0F9240E0494E@gmail.com> <888cd9180806041437p64c6c3a7s77bc5b79fbad964e@mail.gmail.com> <888cd9180806050636p279a8555pd3a19b842fdff0fb@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org one last try: I found a nice summary of installing couchdb on ubuntu here: http://jhcore.com/category/ubuntu/ I still get a runtime error on startup, but I'm seeing a lot more debugging info, and I have a crash dump (attached). couch 0.7.2 (LogLevel=info) Apache CouchDB is starting. [error] [<0.47.0>] {error_report,<0.45.0>, {<0.47.0>, supervisor_report, [{supervisor,{local,couch_server_sup}}, {errorContext,start_error}, {reason,{'EXIT',{error,{open_error,-10}}}}, {offender,[{pid,undefined}, {name,couch_util}, {mfa,{couch_util, start_link, ["/usr/local/lib/couchdb/erlang/lib/couch-0.7.3a662495/priv/lib"]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}]}]}} =SUPERVISOR REPORT==== 5-Jun-2008::10:19:56 === Supervisor: {local,couch_server_sup} Context: start_error Reason: {'EXIT',{error,{open_error,-10}}} Offender: [{pid,undefined}, {name,couch_util}, {mfa,{couch_util,start_link, ["/usr/local/lib/couchdb/erlang/lib/couch-0.7.3a662495/priv/lib"]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}] Config Info /usr/local/etc/couchdb/couch.ini: CurrentWorkingDir=/home/bradk DbRootDir=/usr/local/var/lib/couchdb HttpConfigFile=couch_httpd.conf LogFile=/usr/local/var/log/couchdb/couch.log UtilDriverDir=/usr/local/lib/couchdb/erlang/lib/couch-0.7.3a662495/priv/lib DbUpdateNotificationProcesses= FullTextSearchQueryServer= javascript=/usr/local/bin/couchjs /usr/local/share/couchdb/server/main.js =CRASH REPORT==== 5-Jun-2008::10:19:56 === crasher: pid: <0.45.0> registered_name: [] error_info: {shutdown,{couch_server,start,[normal,[]]}} initial_call: {application_master,init, [<0.5.0>, <0.44.0>, {appl_data, couch, [couch_server, couch_server_sup, couch_util, couch_query_servers, couch_ft_query], undefined, {couch_server,[]}, [couch_btree, cjson, couch_db, couch_doc, couch_query_servers, couch_file, couch_server, couch_server_sup, couch_stream, couch_view_group, couch_util, mod_couch, couch_db_sup, couch_event_sup, couch_db_update_notifier, couch_ft_query, couch_log, couch_rep], [], infinity, infinity}, normal]} ancestors: [<0.44.0>] messages: [{'EXIT',<0.46.0>,normal}] links: [<0.44.0>,<0.5.0>] dictionary: [] trap_exit: true status: running heap_size: 233 stack_size: 21 reductions: 91 neighbours: =INFO REPORT==== 5-Jun-2008::10:19:56 === application: couch exited: {shutdown,{couch_server,start,[normal,[]]}} type: permanent {"Kernel pid terminated",application_controller,"{application_start_failure,couch,{shutdown,{couch_server,start,[normal,[]]}}}"} Kernel pid terminated (application_controller) ({application_start_failure,couch,{shutdown,{couch_server,start,[normal,[]]}}}) bradk@bradkm90:~$ On Thu, Jun 5, 2008 at 9:36 AM, Brad King wrote: > Bob, I'm not using 64 bit so I use just lib instead of lib64. I gather > from your post that the startup error is likely an erlang problem? I > didn't see anything logged at all. Getting back to trying to install > erlang from source, I was missing ncurses (see previous post of mine). > I can't get ncurses to install though: > > bradk@bradkm90:/usr/local$ sudo apt-get install ncurses > Password: > Reading package lists... Done > Building dependency tree > Reading state information... Done > Package ncurses is not available, but is referred to by another package. > This may mean that the package is missing, has been obsoleted, or > is only available from another source > E: Package ncurses has no installation candidate > > I'm starting to think I need to give up on ubuntu and start over on a > red hat vm. > > On Wed, Jun 4, 2008 at 5:51 PM, Bob Briski wrote: >> Did you try lib64, your paste just has lib. >> >> Also, I found that I had to install a more recent version of erlang. I >> built erlang from source, rather than installing the binary. >> >> Bob >> >> On Jun 4, 2008, at 2:37 PM, Brad King wrote: >> >>> Unfortunately it didn't work for me. I had to add export in front of >>> the command, which I assume is correct. >>> >>> bradk@bradkm90:/usr/local$ export >>> LD_LIBRARY_PATH=/usr/local/spidermonkey/lib couchdb >>> bradk@bradkm90:/usr/local$ sudo -u couchdb couchdb >>> couch 0.7.3a662495 (LogLevel=info) >>> Apache CouchDB is starting. >>> >>> {"init terminating in do_boot",{error,{open_error,-10}}} >>> init terminating in do_boot () >>> >>> I also went in and set the home directory for the user to >>> /usr/local/var/lib/couchdb, but no change. >>> >>> >>> On Wed, Jun 4, 2008 at 5:22 PM, Mark James Adams >>> wrote: >>>> >>>> Bob, >>>> >>>>> LD_LIBRARY_PATH=/usr/local/spidermonkey/lib64 couchdb >>>>> >>>>> If that works, you know the problem is that LD_LIBRARY_PATH is not set >>>>> for >>>>> the couchdb user. >>>> >>>> That's solved it for me. Thank you thank you thank you. :-) >>>> >>>> -- >>>> Mark James Adams >>>> http://raysend.com/mark/ >>>> >> >> >