Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 66469 invoked from network); 5 Sep 2009 00:47:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Sep 2009 00:47:16 -0000 Received: (qmail 70872 invoked by uid 500); 5 Sep 2009 00:47:15 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70788 invoked by uid 500); 5 Sep 2009 00:47:15 -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 70778 invoked by uid 99); 5 Sep 2009 00:47:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 00:47:15 +0000 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 paul.joseph.davis@gmail.com designates 209.85.210.199 as permitted sender) Received: from [209.85.210.199] (HELO mail-yx0-f199.google.com) (209.85.210.199) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Sep 2009 00:47:05 +0000 Received: by yxe37 with SMTP id 37so3247327yxe.5 for ; Fri, 04 Sep 2009 17:46:44 -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=j4p7njNJV+mc4I4jh+0tyUlO3TxwLSaulp0dwbEAIhs=; b=P0aYv0YkkETbnPfua5fQ1dqx+JitiC79o6nQcndmHkXHTZOWmcLSiCuYMkTnFu3cvi wPuoKt8r4bIh+ELt7z3OvpkNkR17aEWhZMvGd59I0Sbmx7+Z+JiHgoj/CqBis6JKp1gB yrhgKhchjq52YqUWteH605ECa2duxWE+lxcV8= 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=uXm0lFcvDupwlL9FGXknE8ePAF8wXe7kwPPQNKOeXADbighTJo6Pjs51/iE6xankGT TDBCnaxoijJqQmgE3aEMRkjE/SEbe7D6+xXwc6RaAihVmErLfqDcHbawDkyBY3cBvMRH v86pK9HFxSTdatsVN+uGrbY4H0mCQbnANigEs= MIME-Version: 1.0 Received: by 10.100.239.2 with SMTP id m2mr13236078anh.20.1252111604765; Fri, 04 Sep 2009 17:46:44 -0700 (PDT) In-Reply-To: References: <64E6739B-D28C-4499-B66C-4669E9B572AF@apache.org> Date: Fri, 4 Sep 2009 20:46:44 -0400 Message-ID: Subject: Re: CouchDB build with Snow Leopard fails to start up - no suitable image found From: Paul Davis To: user@couchdb.apache.org, jwalgran@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org {{badmatch,{error,enoent}}, [{couch_log,init,1}, {gen_event,server_add_handler,4}, {gen_event,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}}} Looks like the path to your log directory doesn't exist. Paul Davis On Fri, Sep 4, 2009 at 8:22 PM, Justin Walgran wrote: > With some direction from Jan (thank you!) I did find that an old MacPorts > install of Erlang was preventing the newly built version of Erlang from > running. I cleared out MacPorts, rebuilt Erlang then rebuilt CouchDB from= a > fresh checkout of the trunk. utils/run is still crashing out, but now the= re > is a new message. Any troubleshooting tips would be appreciated. > $ ./utils/run > Apache CouchDB 0.11.0a811576 (LogLevel=3Dinfo) is starting. > > =3DCRASH REPORT=3D=3D=3D=3D 4-Sep-2009::20:17:46 =3D=3D=3D > =A0crasher: > =A0 =A0initial call: couch_event_sup:init/1 > =A0 =A0pid: <0.79.0> > =A0 =A0registered_name: [] > =A0 =A0exception exit: {{badmatch, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {'EXIT', > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {{badmatch,{error= ,enoent}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[{couch_log,in= it,1}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {gen_event,se= rver_add_handler,4}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {gen_event,ha= ndle_msg,5}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {proc_lib,ini= t_p_do_apply,3}]}}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [{couch_event_sup,init,1}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{gen_server,init_it,6}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{proc_lib,init_p_do_apply,3}]} > =A0 =A0 =A0in function =A0gen_server:init_it/6 > =A0 =A0ancestors: [couch_primary_services,couch_server_sup,<0.32.0>] > =A0 =A0messages: [] > =A0 =A0links: [<0.78.0>,<0.4.0>] > =A0 =A0dictionary: [] > =A0 =A0trap_exit: false > =A0 =A0status: running > =A0 =A0heap_size: 377 > =A0 =A0stack_size: 24 > =A0 =A0reductions: 120 > =A0neighbours: > > =3DSUPERVISOR REPORT=3D=3D=3D=3D 4-Sep-2009::20:17:46 =3D=3D=3D > =A0 =A0 Supervisor: {local,couch_primary_services} > =A0 =A0 Context: =A0 =A0start_error > =A0 =A0 Reason: =A0 =A0 {{badmatch,{'EXIT',{{badmatch,{error,enoent}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [= {couch_log,init,1}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0{gen_event,server_add_handler,4}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0{gen_event,handle_msg,5}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0{proc_lib,init_p_do_apply,3}]}}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[{couch_event_sup,init,1}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {gen_server,init_it,6}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {proc_lib,init_p_do_apply,3}]} > =A0 =A0 Offender: =A0 [{pid,undefined}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{name,couch_log}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{mfa,{couch_log,start_link,[]}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{restart_type,permanent}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{shutdown,brutal_kill}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{child_type,worker}] > > > =3DSUPERVISOR REPORT=3D=3D=3D=3D 4-Sep-2009::20:17:46 =3D=3D=3D > =A0 =A0 Supervisor: {local,couch_server_sup} > =A0 =A0 Context: =A0 =A0start_error > =A0 =A0 Reason: =A0 =A0 shutdown > =A0 =A0 Offender: =A0 [{pid,undefined}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{name,couch_primary_services}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{mfa,{couch_server_sup,start_primary_s= ervices,[]}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{restart_type,permanent}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{shutdown,infinity}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{child_type,supervisor}] > > > =3DCRASH REPORT=3D=3D=3D=3D 4-Sep-2009::20:17:46 =3D=3D=3D > =A0crasher: > =A0 =A0initial call: application_master:init/4 > =A0 =A0pid: <0.31.0> > =A0 =A0registered_name: [] > =A0 =A0exception exit: {bad_return, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{{couch_app,start, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [normal, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0["/usr/local/e= tc/couchdb/default.ini", > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "/usr/local/e= tc/couchdb/local.ini"]]}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {'EXIT', > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {{badmatch,{error= ,shutdown}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[{couch_server= _sup,start_server,1}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {application_= master,start_it_old,4}]}}}} > =A0 =A0 =A0in function =A0application_master:init/4 > =A0 =A0ancestors: [<0.30.0>] > =A0 =A0messages: [{'EXIT',<0.32.0>,normal}] > =A0 =A0links: [<0.30.0>,<0.5.0>] > =A0 =A0dictionary: [] > =A0 =A0trap_exit: true > =A0 =A0status: running > =A0 =A0heap_size: 987 > =A0 =A0stack_size: 24 > =A0 =A0reductions: 162 > =A0neighbours: > > =3DINFO REPORT=3D=3D=3D=3D 4-Sep-2009::20:17:46 =3D=3D=3D > =A0 =A0application: couch > =A0 =A0exited: {bad_return,{{couch_app,start, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[n= ormal, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [= "/usr/local/etc/couchdb/default.ini", > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0"/usr/local/etc/couchdb/local.ini"]]}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {'EXIT',{{badmatch,{error= ,shutdown}}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[{couc= h_server_sup,start_server,1}, > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {appl= ication_master,start_it_old,4}]}}}} > =A0 =A0type: temporary > > -Justin > > > > On Thu, Sep 3, 2009 at 8:51 AM, Jan Lehnardt wrote: > >> >> On 3 Sep 2009, at 13:57, Justin Walgran wrote: >> >> =A0Thanks for the reply Jan. Here is the output of otool: >>> >>> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so= : >>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current versio= n >>> 123.0.0) >>> >> >> That's good for starters, I forgot to ask for >> >> file >> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.so >> >> as well, sorry :) >> >> Feel free to hop on #couchdb on irc.freenode.net for some more immediate >> help >> >> Cheers >> Jan >> -- >> >> >> >>> -Justin >>> >>> On Thu, Sep 3, 2009 at 3:05 AM, Jan Lehnardt wrote: >>> >>>> >>>> >>>> can you run otool -L >>>> /Users/jwalgran/Developer/couchdb/src/couchdb/.libs/couch_erl_driver.s= o? >>>> >>>> Cheers >>>> Jan >>>> -- >>>> >>>> >>>> >>>> >>>> >>>> =A0-Justin >>>>> >>>>> >>>> >>>> >> >