Skip to content

Instantly share code, notes, and snippets.

@powdahound
Created August 11, 2010 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save powdahound/519916 to your computer and use it in GitHub Desktop.
Save powdahound/519916 to your computer and use it in GitHub Desktop.
Error starting couchdb after upgrading from 0.10.2 to 0.11.2.
[Wed, 11 Aug 2010 22:28:49 GMT] [error] [<0.90.0>] {error_report,<0.29.0>,
{<0.90.0>,crash_report,
[[{pid,<0.90.0>},
{registered_name,couch_stats_aggregator},
{error_info,{exit,{{badmatch,{error,enoent}},
[{couch_stats_aggregator,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]},
[{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}},
{initial_call,{couch_stats_aggregator,init,['Argument__1']}},
{ancestors,[couch_secondary_services,couch_server_sup,
<0.30.0>]},
{messages,[]},
{links,[<0.83.0>]},
{dictionary,[]},
{trap_exit,false},
{status,running},
{heap_size,987},
{stack_size,23},
{reductions,531}],
[]]}}
[Wed, 11 Aug 2010 22:28:49 GMT] [error] [<0.83.0>] {error_report,<0.29.0>,
{<0.83.0>,supervisor_report,
[{supervisor,{local,couch_secondary_services}},
{errorContext,start_error},
{reason,{{badmatch,{error,enoent}},
[{couch_stats_aggregator,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}},
{offender,[{pid,undefined},
{name,stats_aggregator},
{mfa,{couch_stats_aggregator,start,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]}]}}
[Wed, 11 Aug 2010 22:28:49 GMT] [error] [<0.75.0>] {error_report,<0.29.0>,
{<0.75.0>,supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,shutdown},
{offender,
[{pid,undefined},
{name,couch_secondary_services},
{mfa,{couch_server_sup,start_secondary_services,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]}]}}
@powdahound
Copy link
Author

Got this error when starting couchdb after upgrading from 0.10.2 to 0.11.2.

Problem: CouchDB is looking for $PREFIX/lib/couchdb/erlang/lib/couch-0.11.2/priv/stat_descriptions.cfg but apparently became confused by files left by previous versions (/usr/local/lib/couchdb/erlang/lib/couch-*).

Fix: Removed these directories:

  • /usr/local/lib/couchdb/erlang/lib/couch-0.9.0
  • /usr/local/lib/couchdb/erlang/lib/couch-0.9.1
  • /usr/local/lib/couchdb/erlang/lib/couch-0.10.0a796576
  • /usr/local/lib/couchdb/erlang/lib/mochiweb-r97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment