couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Couchdb trunk crashing at starting with Erlang 14A
Date Wed, 07 Jul 2010 21:32:40 GMT

On 7 Jul 2010, at 23:21, Nicolas Dufour wrote:

> Ah yes ... shame on me ... forgot the sudo!
> 
> Thanks Jan!
> 
> 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
-- 

> 
> Nicolas Dufour
> nrdufour@gmail.com
> 
> --
> “Investment in knowledge pays the best interest.”
>                               —Benjamin Franklin
> 
> 
> 
> On Wed, Jul 7, 2010 at 4:49 PM, Jan Lehnardt <jan@apache.org> wrote:
>> It looks like the user that is running the CouchDB process doesn't have
>> the necessary permissions to open the log files.
>> 
>> Cheers
>> Jan
>> --
>> 
>> On 7 Jul 2010, at 22:45, Nicolas Dufour wrote:
>> 
>>> Hello,
>>> 
>>> I have recently installed Erlang OTP 14A and recompile the latest
>>> couchdb trunk against it (07/07/2010).
>>> 
>>> And I get a nasty crash right at starting:
>>> 
>>> Apache CouchDB 0.12.0a37f492f-git (LogLevel=info) is starting.
>>> 
>>> =CRASH REPORT==== 7-Jul-2010::16:39:38 ===
>>>  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:
>>> 
>>> =SUPERVISOR REPORT==== 7-Jul-2010::16:39:38 ===
>>>     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}]
>>> 
>>> 
>>> =SUPERVISOR REPORT==== 7-Jul-2010::16:39:38 ===
>>>     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}]
>>> 
>>> 
>>> =CRASH REPORT==== 7-Jul-2010::16:39:38 ===
>>>  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:
>>> 
>>> =INFO REPORT==== 7-Jul-2010::16:39:38 ===
>>>    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
>>> 
>>> 
>>> With erl:
>>> 
>>> Erlang R14A (erts-5.8) [source] [64-bit] [smp:2:2] [rq:2]
>>> [async-threads:0] [hipe] [kernel-poll:false]
>>> 
>>> I'm using Ubuntu 10.04 and did configure against xulrunner-devel-1.9.2.3
>>> 
>>> Any ideas or suggestions are welcome :)
>>> 
>>> Thank you
>>> 
>>> Nicolas Dufour
>>> nrdufour@gmail.com
>>> 
>>> --
>>> “Investment in knowledge pays the best interest.”
>>>                               —Benjamin Franklin
>> 
>> 


Mime
View raw message