Windows: CouchDB crashes during reinstallation -


i have couchdb installed on windows machine sometime ago working fine , version 1.1.0. (after few months of first installation) tried uninstalling existing couchdb 1.1.0 , went has left folders '/etc' , '/var' in installation directory. trying re-install using setup-couchdb-1.2.0_otp_r15b.exe without deleting above folders. after re-install when trying connect db below error in log. please on issue...

[thu, 08 aug 2013 09:36:53 gmt] [error] [<0.108.0>] {error_report,<0.34.0>, {<0.108.0>,crash_report, [[{initial_call,{couch_db_updater,init,['argument__1']}}, {pid,<0.108.0>}, {registered_name,[]}, {error_info, {exit,snappy_nif_not_loaded, [{gen_server,init_it,6, [{file,"gen_server.erl"},{line,321}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]}}, {ancestors,[<0.107.0>,<0.105.0>]}, {messages,[]}, {links,[<0.107.0>]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,610}, {stack_size,24}, {reductions,672}], [{neighbour, [{pid,<0.105.0>}, {registered_name,[]}, {initial_call,{erlang,apply,2}}, {current_function,{proc_lib,sync_wait,2}}, {ancestors,[]}, {messages,[]}, {links,[<0.106.0>,<0.107.0>,<0.93.0>]}, {dictionary,[]}, {trap_exit,false}, {status,waiting}, {heap_size,233}, {stack_size,9}, {reductions,50}]}, {neighbour, [{pid,<0.107.0>}, {registered_name,[]}, {initial_call,{couch_db,init,['argument__1']}}, {current_function,{proc_lib,sync_wait,2}}, {ancestors,[<0.105.0>]}, {messages, [{ack,<0.108.0>,{error,snappy_nif_not_loaded}}]}, {links,[<0.105.0>,<0.108.0>]}, {dictionary,[]}, {trap_exit,false}, {status,runnable}, {heap_size,233}, {stack_size,16}, {reductions,43}]}]]}} [thu, 08 aug 2013 09:36:53 gmt] [error] [<0.93.0>] open database `_users`, apache couchdb must built erlang otp r13b04 or higher. [thu, 08 aug 2013 09:36:53 gmt] [error] [<0.103.0>] {error_report,<0.34.0>, {<0.103.0>,crash_report, [[{initial_call,{couch_auth_cache,init,['argument__1']}}, {pid,<0.103.0>}, {registered_name,[]}, {error_info, {exit, {{badmatch,file_exists}, [{couch_auth_cache,ensure_users_db_exists,2, [{file, "d:/relax/couchdb/src/couchdb/couch_auth_cache.erl"}, {line,380}]}, {couch_auth_cache,open_auth_db,0, [{file, "d:/relax/couchdb/src/couchdb/couch_auth_cache.erl"}, {line,352}]}, {couch_auth_cache,reinit_cache,1, [{file, "d:/relax/couchdb/src/couchdb/couch_auth_cache.erl"}, {line,217}]}, {couch_auth_cache,init,1, [{file, "d:/relax/couchdb/src/couchdb/couch_auth_cache.erl"}, {line,123}]}, {gen_server,init_it,6, [{file,"gen_server.erl"},{line,297}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]}, [{gen_server,init_it,6, [{file,"gen_server.erl"},{line,321}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]}}, {ancestors, [couch_secondary_services,couch_server_sup,<0.35.0>]}, {messages,[]}, {links,[<0.101.0>,<0.104.0>]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,1597}, {stack_size,24}, {reductions,284}], [{neighbour, [{pid,<0.104.0>}, {registered_name,[]}, {initial_call, {couch_event_sup,init,['argument__1']}}, {current_function,{gen_server,loop,6}}, {ancestors, [couch_auth_cache,couch_secondary_services, couch_server_sup,<0.35.0>]}, {messages,[]}, {links,[<0.103.0>,<0.96.0>]}, {dictionary,[]}, {trap_exit,false}, {status,waiting}, {heap_size,233}, {stack_size,9}, {reductions,32}]}]]}} [thu, 08 aug 2013 09:36:53 gmt] [error] [<0.101.0>] {error_report,<0.34.0>, {<0.101.0>,supervisor_report, [{supervisor,{local,couch_secondary_services}}, {errorcontext,start_error}, {reason, {{badmatch,file_exists}, [{couch_auth_cache,ensure_users_db_exists,2, [{file, "d:/relax/couchdb/src/couchdb/couch_auth_cache.erl"}, {line,380}]}, {couch_auth_cache,open_auth_db,0, [{file, "d:/relax/couchdb/src/couchdb/couch_auth_cache.erl"}, {line,352}]}, {couch_auth_cache,reinit_cache,1, [{file, "d:/relax/couchdb/src/couchdb/couch_auth_cache.erl"}, {line,217}]}, {couch_auth_cache,init,1, [{file, "d:/relax/couchdb/src/couchdb/couch_auth_cache.erl"}, {line,123}]}, {gen_server,init_it,6, [{file,"gen_server.erl"},{line,297}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,227}]}]}}, {offender, [{pid,undefined}, {name,auth_cache}, {mfargs,{couch_auth_cache,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}]}]}} [thu, 08 aug 2013 09:36:53 gmt] [error] [<0.89.0>] {error_report,<0.34.0>, {<0.89.0>,supervisor_report, [{supervisor,{local,couch_server_sup}}, {errorcontext,start_error}, {reason,shutdown}, {offender, [{pid,undefined}, {name,couch_secondary_services}, {mfargs,{couch_secondary_sup,start_link,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]}]}}}  

it looks you'd hit couchdb-1482 issue. try install more recent couchdb release (or 1.2.2 if you'd stay on 1.2.x branch) has snappy issue fixed.

also, try make clear couchdb install: move etc , var dirs somewhere, uninstall couchdb , remove remain files, install couchdb , move var data back. instead of moving old etc on top of new one, have backport config changes local.ini file manually (don't override default.ini file!) sure there wouldn't config collisions.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -