Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@couchdb02:/var/lib/rabbitmq# curl -X POST http://localhost:5984/_replicate -H "Content-Type: application/json" -d '{"source":"http://192.168.1.100:5984/chef","target":"chef","continuous":false}'
{"error":"http_request_failed","reason":"failed to replicate http://192.168.1.100:5984/chef/"}
[Fri, 29 Jun 2012 18:23:56 GMT] [info] [<0.1628.0>] starting new replication "26bf8bcadd4a2381168c434337282768" at <0.1639.0>
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1652.0>] couch_rep_httpc request failed after 10 retries: http://192.168.1.100:5984/chef/
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1650.0>] ** Generic server <0.1650.0> terminating
** Last message in was {'DOWN',#Ref<0.0.0.7903>,process,<0.1652.0>,
{http_request_failed,
<<"failed to replicate http://192.168.1.100:5984/chef/">>}}
** When Server state == {state,<0.1639.0>,
{http_db,"http://192.168.1.100:5984/chef/",[],[],
[{"User-Agent","CouchDB/1.0.1"},
{"Accept","application/json"},
{"Accept-Encoding","gzip"}],
[],get,nil,
[{response_format,binary},
{inactivity_timeout,30000},
{max_sessions,10},
{max_pipeline_size,10}],
10,500,nil},
<0.1648.0>,<0.1651.0>,[],0,
{[],[]},
{<0.1660.0>,#Ref<0.0.0.7946>},
waiting_on_monitors,3,nil,
[2,7,17],
[15]}
** Reason for termination ==
** {http_request_failed,<<"failed to replicate http://192.168.1.100:5984/chef/">>}
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1650.0>] {error_report,<0.1114.0>,
{<0.1650.0>,crash_report,
[[{initial_call,{couch_rep_reader,init,['Argument__1']}},
{pid,<0.1650.0>},
{registered_name,[]},
{error_info,
{exit,
{http_request_failed,
<<"failed to replicate http://192.168.1.100:5984/chef/">>},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[<0.1639.0>,couch_rep_sup,couch_primary_services,couch_server_sup,
<0.1115.0>]},
{messages,[]},
{links,[<0.1639.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,314}],
[]]}}
[Fri, 29 Jun 2012 18:37:58 GMT] [info] [<0.1628.0>] 127.0.0.1 - - 'POST' /_replicate 500
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1639.0>] ** Generic server <0.1639.0> terminating
** Last message in was {'EXIT',<0.1650.0>,
{http_request_failed,
<<"failed to replicate http://192.168.1.100:5984/chef/">>}}
** When Server state == {state,<0.1646.0>,<0.1648.0>,<0.1650.0>,<0.1660.0>,
{http_db,"http://192.168.1.100:5984/chef/",[],[],
[{"User-Agent","CouchDB/1.0.1"},
{"Accept","application/json"},
{"Accept-Encoding","gzip"}],
[],get,nil,
[{response_format,binary},
{inactivity_timeout,30000},
{max_sessions,10},
{max_pipeline_size,10}],
10,500,nil},
{db,<0.1260.0>,<0.1261.0>,nil,
<<"1340993874971407">>,<0.1254.0>,<0.1262.0>,
{db_header,5,12,0,
{14693,{12,0}},
{15679,12},
{20569,[]},
0,nil,nil,1000},
12,
{btree,<0.1254.0>,
{14693,{12,0}},
#Fun<couch_db_updater.7.69395062>,
#Fun<couch_db_updater.8.86519079>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.9.24674233>},
{btree,<0.1254.0>,
{15679,12},
#Fun<couch_db_updater.10.90337910>,
#Fun<couch_db_updater.11.13595824>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.12.34906778>},
{btree,<0.1254.0>,
{20569,[]},
#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
12,<<"chef">>,
"/var/lib/couchdb/1.0.1/chef.couch",[],[],nil,
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth, default_authentication_handler}">>},
nil,1000,
[before_header,after_header,on_file_open],
false},
false,false,
["26bf8bcadd4a2381168c434337282768",
{[{<<"source">>,
<<"http://192.168.1.100:5984/chef">>},
{<<"target">>,<<"chef">>},
{<<"continuous">>,false}]},
{user_ctx,null,
[<<"_admin">>],
<<"{couch_httpd_auth, default_authentication_handler}">>}],
nil,1,
[{[{<<"session_id">>,
<<"1fbb0dd11bf3349cad1c636d79fd00d6">>},
{<<"start_time">>,
<<"Fri, 29 Jun 2012 18:06:35 GMT">>},
{<<"end_time">>,
<<"Fri, 29 Jun 2012 18:06:40 GMT">>},
{<<"start_last_seq">>,0},
{<<"end_last_seq">>,1},
{<<"recorded_seq">>,1},
{<<"missing_checked">>,0},
{<<"missing_found">>,14},
{<<"docs_read">>,12},
{<<"docs_written">>,12},
{<<"doc_write_failures">>,0}]}],
{doc,
<<"_local/26bf8bcadd4a2381168c434337282768">>,
{0,[<<"2">>]},
{[{<<"session_id">>,
<<"1fbb0dd11bf3349cad1c636d79fd00d6">>},
{<<"source_last_seq">>,1},
{<<"history">>,
[{[{<<"session_id">>,
<<"1fbb0dd11bf3349cad1c636d79fd00d6">>},
{<<"start_time">>,
<<"Fri, 29 Jun 2012 18:06:35 GMT">>},
{<<"end_time">>,
<<"Fri, 29 Jun 2012 18:06:40 GMT">>},
{<<"start_last_seq">>,0},
{<<"end_last_seq">>,1},
{<<"recorded_seq">>,1},
{<<"missing_checked">>,0},
{<<"missing_found">>,14},
{<<"docs_read">>,12},
{<<"docs_written">>,12},
{<<"doc_write_failures">>,0}]}]}]},
[],false,[]},
{doc,
<<"_local/26bf8bcadd4a2381168c434337282768">>,
{0,[<<"1">>]},
{[{<<"session_id">>,
<<"1fbb0dd11bf3349cad1c636d79fd00d6">>},
{<<"source_last_seq">>,1},
{<<"history">>,
[{[{<<"session_id">>,
<<"1fbb0dd11bf3349cad1c636d79fd00d6">>},
{<<"start_time">>,
<<"Fri, 29 Jun 2012 18:06:35 GMT">>},
{<<"end_time">>,
<<"Fri, 29 Jun 2012 18:06:40 GMT">>},
{<<"start_last_seq">>,0},
{<<"end_last_seq">>,1},
{<<"recorded_seq">>,1},
{<<"missing_checked">>,0},
{<<"missing_found">>,14},
{<<"docs_read">>,12},
{<<"docs_written">>,12},
{<<"doc_write_failures">>,0}]}]}]},
[],false,[]},
"Fri, 29 Jun 2012 18:23:56 GMT",
<<"1340992836524670">>,<<"1340993874971407">>,nil,
[{<0.1628.0>,#Ref<0.0.0.7933>}],
false,0,155695,nil}
** Reason for termination ==
** {http_request_failed,<<"failed to replicate http://192.168.1.100:5984/chef/">>}
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1639.0>] {error_report,<0.1114.0>,
{<0.1639.0>,crash_report,
[[{initial_call,{couch_rep,init,['Argument__1']}},
{pid,<0.1639.0>},
{registered_name,[]},
{error_info,
{exit,
{http_request_failed,
<<"failed to replicate http://192.168.1.100:5984/chef/">>},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_rep_sup,couch_primary_services,couch_server_sup,<0.1115.0>]},
{messages,
[{'EXIT',<0.1660.0>,
{{http_request_failed,
<<"failed to replicate http://192.168.1.100:5984/chef/">>},
{gen_server,call,[<0.1650.0>,next_docs,infinity]}}}]},
{links,[<0.1165.0>]},
{dictionary,[{task_status_update,{{0,0,0},0}}]},
{trap_exit,true},
{status,running},
{heap_size,610},
{stack_size,24},
{reductions,3535}],
[]]}}
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1165.0>] {error_report,<0.1114.0>,
{<0.1165.0>,supervisor_report,
[{supervisor,{local,couch_rep_sup}},
{errorContext,child_terminated},
{reason,
{http_request_failed,
<<"failed to replicate http://192.168.1.100:5984/chef/">>}},
{offender,
[{pid,<0.1639.0>},
{name,"26bf8bcadd4a2381168c434337282768"},
{mfargs,{gen_server,start_link,undefined}},
{restart_type,temporary},
{shutdown,1},
{child_type,worker}]}]}}
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1657.0>] couch_rep_httpc request failed after 10 retries: http://192.168.1.100:5984/chef/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment