Hi, i got a problem. i dont have a lot of experience in couchbase so please help me please.
i am using couchbase 2.1.0 in production.
we got 2 nodes in amazon which worked fine.
i wanted to upgrade the disk capacity, i took down a node changed disk size and it didnt come back up.
then i made a big mistake by restarting the second server and now he is not coming up.
(the machine is working. but couchbase doesnt start)
few mistakes that i made (learn from now on)
- i didnt backup using cbbackup
- no elastic ip. so the ip changed after restart (i think this is the main problem why the server wont come back up. i did used our host name for them. but its not working)
- only 2 nodes.
- staying with only one node
when i try to use “chouchbase-server start” i get the following error:
{error_logger,{{2014,2,5},{11,2,9}},“Protocol: ~p: register error: ~p~n”,[“inet_tcp”,{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}
{error_logger,{{2014,2,5},{11,2,9}},crash_report,[[{initial_call,{net_kernel,init,[‘Argument__1’]}},{pid,<0.21.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[#Port<0.64>,<0.18.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,987},{stack_size,24},{reductions,665}],[]]}
{error_logger,{{2014,2,5},{11,2,9}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{‘EXIT’,nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[‘babysitter_of_ns_1@127.0.0.1’,longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2014,2,5},{11,2,9}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2014,2,5},{11,2,9}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{“Kernel pid terminated”,application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
Crash dump was written to: erl_crash.dump.02-05-2014-11:02:08.13152
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
Just to clarify. i got no instances working. how can i bring back one of them (the data should be there on the EBS). then i will backup and create the cluster with more nodes and everything.
update (just discovered):
the servers respond to port 8092 with
{
couchdb: “Welcome”,
version: “1.2.0a-1969a70-git”,
couchbase: “2.1.1-764-rel-community”
}
but still no thing