Actions
Task #1227
closedReplicate couchdb01-d-d4s.d4science.org databases with couchdb02-d-d4s.d4science.org
Added by Luca Frosini over 9 years ago. Updated over 9 years ago.
Status:
Closed
Priority:
Normal
Assignee:
Category:
System Application
Target version:
Start date:
Oct 23, 2015
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Pre-Production, Production
Related issues
Updated by Luca Frosini over 9 years ago
- Blocked by Task #1226: Migrate databases from accounting-d4s.d4science.org to couchdb01-d-d4s.d4science.org added
Updated by Luca Frosini over 9 years ago
I have replicated the db to new instances and created replication each-other from futon interface in both new instances.
I would like to do some test if the replication created from futon is maintained after a shut-down, and id works as expected.
Trying to stop couchdb (using couchdb stop command) I obtain the following error on both machine:
root@couchdb01-d-d4s:~# couchdb stop Apache CouchDB 1.6.1 (LogLevel=info) is starting. Failure to start Mochiweb: eaddrinuse [error] [<0.105.0>] {error_report,<0.31.0>, {<0.105.0>,crash_report, [[{initial_call, {mochiweb_socket_server,init,['Argument__1']}}, {pid,<0.105.0>}, {registered_name,[]}, {error_info, {exit,eaddrinuse, [{gen_server,init_it,6, [{file,"gen_server.erl"},{line,320}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"},{line,239}]}]}}, {ancestors, [couch_secondary_services,couch_server_sup,<0.32.0>]}, {messages,[]}, {links,[<0.94.0>]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,1598}, {stack_size,27}, {reductions,594}], []]}} {"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,httpd,eaddrinuse}}}}}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,269}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}} Crash dump was written to: erl_crash.dump
Maybe a solution can be found here:
https://wiki.apache.org/couchdb/Error_messages
@andrea.dellamico@isti.cnr.it @tommaso.piccioli@isti.cnr.it can you help me to solve this issue?
Updated by Andrea Dell'Amico over 9 years ago
The right start/stop commands are
start couchdb stop couchdb
start
and stop
are native commands from the upstart
init system
Updated by Luca Frosini over 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 70 to 100
Updated by Luca Frosini over 9 years ago
- Target version changed from zz - Accouting Facility to CouchDB Deployment
Actions