Hello,
I have been supper happy with CouchDB, especially about how stable it is. This
is the first time I see CouchDB crashing and I’m not sure why. I see the
following:
> {{badmatch,{error,eacces}},
Is this a permission issue? Perhaps a bad drive? This is occurring in one of
our customer deployment, so I don’t have direct access to the machine. But I
can always ask, of course :-)
I have attached the error at the end of this email. If someone can take a quick
look and let me know what seems to be the problem, that would be awesome.
Thanks so much!
— Tito
[error] [<0.125.0>] {error_report,<0.30.0>,
{<0.125.0>,crash_report,
[[{initial_call,{couch_file,init,['Argument__1']}},
{pid,<0.125.0>},
{registered_name,[]},
{error_info,
{exit,
{{badmatch,{error,eacces}},
[{couch_file,init,1,
[{file,
"/SourceCache/XCSCouchDB/XCSCouchDB-1/dependencies/couchdb/src/couchdb/couch_file.erl"},
{line,314}]},
{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]},
[{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,328}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}},
{ancestors,[<0.124.0>]},
{messages,[]},
{links,[#Port<0.2688>,<0.124.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,27},
{reductions,594}],
[{neighbour,
[{pid,<0.124.0>},
{registered_name,[]},
{initial_call,{erlang,apply,2}},
{current_function,{proc_lib,sync_wait,2}},
{ancestors,[]},
{messages,
[{ack,<0.125.0>,
{error,
{{badmatch,{error,eacces}},
[{couch_file,init,1,
[{file,
"/SourceCache/XCSCouchDB/XCSCouchDB-1/dependencies/couchdb/src/couchdb/couch_file.erl"},
{line,314}]},
{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}}}]},
{links,[<0.87.0>,<0.125.0>]},
{dictionary,[]},
{trap_exit,false},
{status,runnable},
{heap_size,233},
{stack_size,20},
{reductions,28}]}]]}}
[Fri, 14 Nov 2014 23:30:02 GMT] [error] [<0.125.0>] {error_report,<0.30.0>,
{<0.125.0>,crash_report,
[[{initial_call,{couch_file,init,['Argument__1']}},
{pid,<0.125.0>},
{registered_name,[]},
{error_info,
{exit,
{{badmatch,{error,eacces}},
[{couch_file,init,1,
[{file,
"/SourceCache/XCSCouchDB/XCSCouchDB-1/dependencies/couchdb/src/couchdb/couch_file.erl"},
{line,314}]},
{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]},
[{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,328}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}},
{ancestors,[<0.124.0>]},
{messages,[]},
{links,[#Port<0.2688>,<0.124.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,27},
{reductions,594}],
[{neighbour,
[{pid,<0.124.0>},
{registered_name,[]},
{initial_call,{erlang,apply,2}},
{current_function,{proc_lib,sync_wait,2}},
{ancestors,[]},
{messages,
[{ack,<0.125.0>,
{error,
{{badmatch,{error,eacces}},
[{couch_file,init,1,
[{file,
"/SourceCache/XCSCouchDB/XCSCouchDB-1/dependencies/couchdb/src/couchdb/couch_file.erl"},
{line,314}]},
{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}}}]},
{links,[<0.87.0>,<0.125.0>]},
{dictionary,[]},
{trap_exit,false},
{status,runnable},
{heap_size,233},
{stack_size,20},
{reductions,28}]}]]}}
{"init terminating in
do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/SourceCache/XCSCouchDB/XCSCouchDB-1/build/etc/couchdb/default.ini","/SourceCache/XCSCouchDB/XCSCouchDB-1/build/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,auth_cache,{{{case_clause,{{badmatch,{error,eacces}},[{couch_file,init,1,[{file,"/SourceCache/XCSCouchDB/XCSCouchDB-1/dependencies/couchdb/src/couchdb/couch_file.erl"},{line,314}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}},[{couch_server,handle_info,2,[{file,"/SourceCache/XCSCouchDB/XCSCouchDB-1/dependencies/couchdb/src/couchdb/couch_server.erl"},{line,442}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,604}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},{gen_server,call,[couch_server,{open,<<6
bytes>>,[{before_doc_update,#Fun<couch_users_db.before_doc_update.2>},{after_doc_read,#Fun<couch_users_db.after_doc_read.2>},sys_db,{user_ctx,{user_ctx,null,[<<6
bytes>>],undefined}},nologifmissing,sys_db]},infinity]}}}}}}}},[{couch_server_sup,start_server,1,[{file,"/SourceCache/XCSCouchDB/XCSCouchDB-1/dependencies/couchdb/src/couchdb/couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,269}]}]}}}}}},[{couch,start,0,[{file,"/SourceCache/XCSCouchDB/XCSCouchDB-1/dependencies/couchdb/src/couchdb/couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
init terminating in do_boot ()