Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 60640 invoked from network); 7 Jul 2010 21:33:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 21:33:44 -0000 Received: (qmail 59461 invoked by uid 500); 7 Jul 2010 21:33:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 59267 invoked by uid 500); 7 Jul 2010 21:33:43 -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 59259 invoked by uid 99); 7 Jul 2010 21:33:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 21:33:43 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.244.253.218] (HELO mail.traeumt.net) (80.244.253.218) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 21:33:34 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.traeumt.net (Postfix) with ESMTP id C1F8C1B569 for ; Wed, 7 Jul 2010 23:32:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.g3th.net Received: from unknown by localhost (amavisd-new, unix socket) id WyPaGyO2NwCV for ; Wed, 7 Jul 2010 23:32:41 +0200 (CEST) Received: from dahlia.fritz.box (brln-d9bad4d3.pool.mediaWays.net [217.186.212.211]) (authenticated) by mail.traeumt.net (amavisd-milter) (authenticated as web50m1); Wed, 7 Jul 2010 23:32:41 +0200 (CEST) (envelope-from ) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Couchdb trunk crashing at starting with Erlang 14A From: Jan Lehnardt In-Reply-To: Date: Wed, 7 Jul 2010 23:32:40 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <2FEB6E0E-1930-4DE7-9BE8-070A6561ABA6@apache.org> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On 7 Jul 2010, at 23:21, Nicolas Dufour wrote: > Ah yes ... shame on me ... forgot the sudo! >=20 > Thanks Jan! >=20 > You did figure out from the log because couch_log was the offender? Yes, and the {error,eacces} tuple in the error message :) Cheers Jan --=20 >=20 > Nicolas Dufour > nrdufour@gmail.com >=20 > -- > =93Investment in knowledge pays the best interest.=94 > =97Benjamin Franklin >=20 >=20 >=20 > On Wed, Jul 7, 2010 at 4:49 PM, Jan Lehnardt wrote: >> It looks like the user that is running the CouchDB process doesn't = have >> the necessary permissions to open the log files. >>=20 >> Cheers >> Jan >> -- >>=20 >> On 7 Jul 2010, at 22:45, Nicolas Dufour wrote: >>=20 >>> Hello, >>>=20 >>> I have recently installed Erlang OTP 14A and recompile the latest >>> couchdb trunk against it (07/07/2010). >>>=20 >>> And I get a nasty crash right at starting: >>>=20 >>> Apache CouchDB 0.12.0a37f492f-git (LogLevel=3Dinfo) is starting. >>>=20 >>> =3DCRASH REPORT=3D=3D=3D=3D 7-Jul-2010::16:39:38 =3D=3D=3D >>> crasher: >>> initial call: couch_event_sup:init/1 >>> pid: <0.79.0> >>> registered_name: [] >>> exception exit: {{badmatch, >>> {'EXIT', >>> {{badmatch,{error,eacces}}, >>> [{couch_log,init,1}, >>> {gen_event,server_add_handler,4}, >>> {gen_event,handle_msg,5}, >>> {proc_lib,init_p_do_apply,3}]}}}, >>> [{couch_event_sup,init,1}, >>> {gen_server,init_it,6}, >>> {proc_lib,init_p_do_apply,3}]} >>> in function gen_server:init_it/6 >>> ancestors: [couch_primary_services,couch_server_sup,<0.31.0>] >>> messages: [] >>> links: [<0.78.0>,<0.6.0>] >>> dictionary: [] >>> trap_exit: false >>> status: running >>> heap_size: 377 >>> stack_size: 24 >>> reductions: 116 >>> neighbours: >>>=20 >>> =3DSUPERVISOR REPORT=3D=3D=3D=3D 7-Jul-2010::16:39:38 =3D=3D=3D >>> Supervisor: {local,couch_primary_services} >>> Context: start_error >>> Reason: {{badmatch,{'EXIT',{{badmatch,{error,eacces}}, >>> [{couch_log,init,1}, >>> = {gen_event,server_add_handler,4}, >>> {gen_event,handle_msg,5}, >>> = {proc_lib,init_p_do_apply,3}]}}}, >>> [{couch_event_sup,init,1}, >>> {gen_server,init_it,6}, >>> {proc_lib,init_p_do_apply,3}]} >>> Offender: [{pid,undefined}, >>> {name,couch_log}, >>> {mfargs,{couch_log,start_link,[]}}, >>> {restart_type,permanent}, >>> {shutdown,brutal_kill}, >>> {child_type,worker}] >>>=20 >>>=20 >>> =3DSUPERVISOR REPORT=3D=3D=3D=3D 7-Jul-2010::16:39:38 =3D=3D=3D >>> Supervisor: {local,couch_server_sup} >>> Context: start_error >>> Reason: shutdown >>> Offender: [{pid,undefined}, >>> {name,couch_primary_services}, >>> = {mfargs,{couch_server_sup,start_primary_services,[]}}, >>> {restart_type,permanent}, >>> {shutdown,infinity}, >>> {child_type,supervisor}] >>>=20 >>>=20 >>> =3DCRASH REPORT=3D=3D=3D=3D 7-Jul-2010::16:39:38 =3D=3D=3D >>> crasher: >>> initial call: application_master:init/4 >>> pid: <0.30.0> >>> registered_name: [] >>> exception exit: {bad_return, >>> {{couch_app,start, >>> [normal, >>> ["/usr/local/etc/couchdb/default.ini", >>> "/usr/local/etc/couchdb/local.ini"]]}, >>> {'EXIT', >>> {{badmatch,{error,shutdown}}, >>> [{couch_server_sup,start_server,1}, >>> = {application_master,start_it_old,4}]}}}} >>> in function application_master:init/4 >>> ancestors: [<0.29.0>] >>> messages: [{'EXIT',<0.31.0>,normal}] >>> links: [<0.29.0>,<0.7.0>] >>> dictionary: [] >>> trap_exit: true >>> status: running >>> heap_size: 987 >>> stack_size: 24 >>> reductions: 163 >>> neighbours: >>>=20 >>> =3DINFO REPORT=3D=3D=3D=3D 7-Jul-2010::16:39:38 =3D=3D=3D >>> application: couch >>> exited: {bad_return,{{couch_app,start, >>> [normal, >>> = ["/usr/local/etc/couchdb/default.ini", >>> = "/usr/local/etc/couchdb/local.ini"]]}, >>> {'EXIT',{{badmatch,{error,shutdown}}, >>> [{couch_server_sup,start_server,1}, >>> = {application_master,start_it_old,4}]}}}} >>> type: temporary >>>=20 >>>=20 >>> With erl: >>>=20 >>> Erlang R14A (erts-5.8) [source] [64-bit] [smp:2:2] [rq:2] >>> [async-threads:0] [hipe] [kernel-poll:false] >>>=20 >>> I'm using Ubuntu 10.04 and did configure against = xulrunner-devel-1.9.2.3 >>>=20 >>> Any ideas or suggestions are welcome :) >>>=20 >>> Thank you >>>=20 >>> Nicolas Dufour >>> nrdufour@gmail.com >>>=20 >>> -- >>> =93Investment in knowledge pays the best interest.=94 >>> =97Benjamin Franklin >>=20 >>=20