Couchbase-Server is not Running
Thu, 04/19/2012 - 10:39
I just installed Couchbase Server 2.0:
sudo rpm --install couchbase-server-community_x86_64_2.0.0-dev-preview-4.rpm
And, received a success message after the install:
Starting couchbase-server[ OK ] You have successfully installed Couchbase Server. Please browse to <a href="http://bdugandzic-nix:8091/" title="http://bdugandzic-nix:8091/">http://bdugandzic-nix:8091/</a> to configure your server. Please refer to <a href="http://couchbase.com" title="http://couchbase.com">http://couchbase.com</a> for additional resources. Please note that you have to update your firewall configuration to allow connections to the following ports: 11211, 11210, 4369, 8091, 8092 and from 21100-to-21299. By using this software you agree to the End User License Agreement. See /opt/couchbase/LICENSE.txt.
However, I could not browse/connect to the server via the above address.
Checked the status:
[root@bdugandzic-nix ~]# /etc/init.d/couchbase-server status couchbase-server is not running [root@bdugandzic-nix ~]# /etc/init.d/couchbase-server start Starting couchbase-server[ OK ] [root@bdugandzic-nix ~]# /etc/init.d/couchbase-server status couchbase-server is not running
I do not get an error message when the Couchbase server starts. When I immediately check the servers status, its not running. Is there any known issue with the server not running. Or, is there a log where errors are stored?
Thanks
Fri, 04/20/2012 - 12:03
Error Log:
[error_logger:error] [2012-04-20 11:49:29] [nonode@nohost:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,couch_primary_services}
Context: child_terminated
Reason: normal
Offender: [{pid,<0.167.0>},
{name,couch_log},
{mfargs,{couch_log,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
[ns_server:error] [2012-04-20 11:49:29] [nonode@nohost:dist_manager:dist_manager:read_address_config:58] Got error:einval. Ignoring bad address:[]
[error_logger:error] [2012-04-20 11:49:30] [ns_1@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: ns_log:init/1
pid: <0.290.0>
registered_name: []
exception exit: {badarg,[{erlang,binary_to_term,
[<<131,108,0,0,0,6,104,8,100,0,9,108,
111,103,95,101,110,116,114,121,104,3,
98,0,0,5,54,98,0,13,28,186,98,0,1,
162,152,100,0,14,110,115,95,49,64,49,
50,55,46,48,46,48,46,49,100,0,17,110,
115,95,99,111,111,107,105,101,95,109,
97,110,97,103,101,114,97,3,107,0,32,
73,110,105,116,105,97,108,32,111,116,
112,32,99,111,111,107,105,101,32,103,
101,110,101,114,97,116,101,100,58,32,
126,112,108,0,0,0,1,100,0,16,121,97,
104,97,97,105,117,116,98,100,107,110,
115,97,110,118,106,100,0,4,105,110,
102,111,104,8,100,0,9,108,111,103,95,
101,110,116,114,121,104,3,98,0,0,5,
54,98,0,13,28,186,98,0,5,60,4,100,0,
14,110,115,95,49,64,49,50,55,46,48,
46,48,46,49,100,0,12,109,101,110,101,
108,97,117,115,95,115,117,112,97,1,
107,0,55,67,111,117,99,104,98,97,115,
101,32,83,101,114,118,101,114,32,104,
97,115,32,115,116,97,114,116,101,100,
32,111,110,32,119,101,98,32,112,111,
114,116,32,126,112,32,111,110,32,110,
111,100,101,32,126,112,46,108,0,0,0,
2,98,0,0,31,155,100,0,14,110,115,95,
49,64,49,50,55,46,48,46,48,46,49,106,
100,0,4,105,110,102,111,104,8,100,0,
9,108,111,103,95,101,110,116,114,121,
104,3,98,0,0,5,54,98,0,13,30,70,98,0,
5,44,73,100,0,14,110,115,95,49,64,49,
50,55,46,48,46,48,46,49,100,0,12,109,
101,110,101,108,97,117,115,95,115,
117,112,97,1,107,0,55,67,111,117,99,
104,98,97,115,101,32,83,101,114,118,
101,114,32,104,97,115,32,115,116,97,
114,116,101,100,32,111,110,32,119,
101,98,32,112,111,114,116,32,126,112,
32,111,110,32,110,111,100,101,32,126,
112,46,108,0,0,0,2,98,0,0,31,155,100,
0,14,110,115,95,49,64,49,50,55,46,48,
46,48,46,49,106,100,0,4,105,110,102,
111,104,8,100,0,9,108,111,103,95,101,
110,116,114,121,104,3,98,0,0,5,54,98,
0,13,30,115,98,0,8,70,253,100,0,14,
110,115,95,49,64,49,50,55,46,48,46,
48,46,49,100,0,12,109,101,110,101,
108,97,117,115,95,119,101,98,97,12,
107,0,33,67,114,101,97,116,101,100,
32,98,117,99,107,101,116,32,34,126,
115,34,32,111,102,32,116,121,112,101,
58,32,126,115,126,110,108,0,0,0,2,
107,0,7,100,101,102,97,117,108,116,
100,0,7,109,101,109,98,97,115,101,
106,100,0,4,105,110,102,111,104,8,
100,0,9,108,111,103,95,101,110,116,
114,121,104,3,98,0,0,5,54,98,0,13,30,
116,98,0,4,15,79,100,0,14,110,115,95,
49,64,49,50,55,46,48,46,48,46,49,100,
0,12,110,115,95,109,101,109,99,97,99,
104,101,100,97,1,107,0,42,66,117,99,
107,101,116,32,126,112,32,108,111,97,
100,101,100,32,111,110,32,110,111,
100,101,32,126,112,32,105,110,32,126,
112,32,115,101,99,111,110,100,115,46,
108,0,0,0,3,107,0,7,100,101,102,97,
117,108,116,100,0,14,110,115,95,49,
64,49,50,55,46,48,46,48,46,49,97,0,
106,100,0,4,105,110,102,111,104,8,
100,0,9,108,111,103,95,101,110,116,
114,121,104,3,98,0,0,5,54,98,0,13,61,
106,98,0,0,69,109,100,0,14,110,115,
95,49,64,49,50,55,46,48,46,48,46,49,
100,0,12,109,101,110,101,108,97,117,
115,95,119,101,98,97,19,107,0,34,83,
101,114,118,101,114,32,101,114,114,
111,114,32,100,117,114,105,110,103,
32,112,114,111,99,101,115,115,105,
110,103,58,32,126,112,108,0,0,0,1,
108,0,0,0,5,107,0,18,119,101,98,32,
114,101,113,117,101,115,116,32,102,
97,105,108,101,100,104,2,100,0,4,112,
97,116,104,107,0,36,47,112,111,111,
108,115,47,100,101,102,97,117,108,
116,47,98,117,99,107,101,116,115,47,
100,101,102,97,117,108,116,47,115,
116,97,116,115,104,2,100,0,4,116,121,
112,101,100,0,5,101,114,114,111,114,
104,2,100,0,4,119,104,97,116,100,0,8,
98,97,100,97,114,105,116,104,104,2,
100,0,5,116,114,97,99,101,108,0,0,0,
8,104,3,100,0,4,109,97,116,104,100,0,
5,108,111,103,49,48,108,0,0,0,1,99,
110,97,110,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,106,
104,3,100,0,8,109,111,99,104,105,110,
117,109,100,0,5,115,99,97,108,101,97,
7,104,3,100,0,8,109,111,99,104,105,
110,117,109,100,0,6,100,105,103,105,
116,115,97,1,104,3,100,0,10,109,111,
99,104,105,106,115,111,110,50,100,0,
27,45,106,115,111,110,95,101,110,99,
111,100,101,95,97,114,114,97,121,47,
50,45,102,117,110,45,48,45,97,3,104,
3,100,0,5,108,105,115,116,115,100,0,
5,102,111,108,100,108,97,3,104,3,100,
0,10,109,111,99,104,105,106,115,111,
110,50,100,0,17,106,115,111,110,95,
101,110,99,111,100,101,95,97,114,114,
97,121,97,2,104,3,100,0,10,109,111,
99,104,105,106,115,111,110,50,100,0,
30,45,106,115,111,110,95,101,110,99,
111,100,101,95,112,114,111,112,108,
105,115,116,47,50,45,102,117,110,45,
48,45,97,3,104,3,100,0,5,108,105,115,
116,115,100,0,5,102,111,108,100,108,
97,3,106,106,106,100,0,4,119,97,114,
110,106>>]},
{ns_log,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
in function gen_server:init_it/6
ancestors: [ns_server_sup,ns_server_cluster_sup,<0.42.0>]
messages: []
links: [<0.153.0>,<0.289.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 6765
stack_size: 24
reductions: 775
neighbours:
[error_logger:error] [2012-04-20 11:49:30] [ns_1@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,ns_server_sup}
Context: start_error
Reason: {badarg,[{erlang,binary_to_term,
[<<131,108,0,0,0,6,104,8,100,0,9,108,111,
103,95,101,110,116,114,121,104,3,98,0,0,
5,54,98,0,13,28,186,98,0,1,162,152,100,
0,14,110,115,95,49,64,49,50,55,46,48,46,
48,46,49,100,0,17,110,115,95,99,111,111,
107,105,101,95,109,97,110,97,103,101,
114,97,3,107,0,32,73,110,105,116,105,97,
108,32,111,116,112,32,99,111,111,107,
105,101,32,103,101,110,101,114,97,116,
101,100,58,32,126,112,108,0,0,0,1,100,0,
16,121,97,104,97,97,105,117,116,98,100,
107,110,115,97,110,118,106,100,0,4,105,
110,102,111,104,8,100,0,9,108,111,103,
95,101,110,116,114,121,104,3,98,0,0,5,
54,98,0,13,28,186,98,0,5,60,4,100,0,14,
110,115,95,49,64,49,50,55,46,48,46,48,
46,49,100,0,12,109,101,110,101,108,97,
117,115,95,115,117,112,97,1,107,0,55,67,
111,117,99,104,98,97,115,101,32,83,101,
114,118,101,114,32,104,97,115,32,115,
116,97,114,116,101,100,32,111,110,32,
119,101,98,32,112,111,114,116,32,126,
112,32,111,110,32,110,111,100,101,32,
126,112,46,108,0,0,0,2,98,0,0,31,155,
100,0,14,110,115,95,49,64,49,50,55,46,
48,46,48,46,49,106,100,0,4,105,110,102,
111,104,8,100,0,9,108,111,103,95,101,
110,116,114,121,104,3,98,0,0,5,54,98,0,
13,30,70,98,0,5,44,73,100,0,14,110,115,
95,49,64,49,50,55,46,48,46,48,46,49,100,
0,12,109,101,110,101,108,97,117,115,95,
115,117,112,97,1,107,0,55,67,111,117,99,
104,98,97,115,101,32,83,101,114,118,101,
114,32,104,97,115,32,115,116,97,114,116,
101,100,32,111,110,32,119,101,98,32,112,
111,114,116,32,126,112,32,111,110,32,
110,111,100,101,32,126,112,46,108,0,0,0,
2,98,0,0,31,155,100,0,14,110,115,95,49,
64,49,50,55,46,48,46,48,46,49,106,100,0,
4,105,110,102,111,104,8,100,0,9,108,111,
103,95,101,110,116,114,121,104,3,98,0,0,
5,54,98,0,13,30,115,98,0,8,70,253,100,0,
14,110,115,95,49,64,49,50,55,46,48,46,
48,46,49,100,0,12,109,101,110,101,108,
97,117,115,95,119,101,98,97,12,107,0,33,
67,114,101,97,116,101,100,32,98,117,99,
107,101,116,32,34,126,115,34,32,111,102,
32,116,121,112,101,58,32,126,115,126,
110,108,0,0,0,2,107,0,7,100,101,102,97,
117,108,116,100,0,7,109,101,109,98,97,
115,101,106,100,0,4,105,110,102,111,104,
8,100,0,9,108,111,103,95,101,110,116,
114,121,104,3,98,0,0,5,54,98,0,13,30,
116,98,0,4,15,79,100,0,14,110,115,95,49,
64,49,50,55,46,48,46,48,46,49,100,0,12,
110,115,95,109,101,109,99,97,99,104,101,
100,97,1,107,0,42,66,117,99,107,101,116,
32,126,112,32,108,111,97,100,101,100,32,
111,110,32,110,111,100,101,32,126,112,
32,105,110,32,126,112,32,115,101,99,111,
110,100,115,46,108,0,0,0,3,107,0,7,100,
101,102,97,117,108,116,100,0,14,110,115,
95,49,64,49,50,55,46,48,46,48,46,49,97,
0,106,100,0,4,105,110,102,111,104,8,100,
0,9,108,111,103,95,101,110,116,114,121,
104,3,98,0,0,5,54,98,0,13,61,106,98,0,0,
69,109,100,0,14,110,115,95,49,64,49,50,
55,46,48,46,48,46,49,100,0,12,109,101,
110,101,108,97,117,115,95,119,101,98,97,
19,107,0,34,83,101,114,118,101,114,32,
101,114,114,111,114,32,100,117,114,105,
110,103,32,112,114,111,99,101,115,115,
105,110,103,58,32,126,112,108,0,0,0,1,
108,0,0,0,5,107,0,18,119,101,98,32,114,
101,113,117,101,115,116,32,102,97,105,
108,101,100,104,2,100,0,4,112,97,116,
104,107,0,36,47,112,111,111,108,115,47,
100,101,102,97,117,108,116,47,98,117,99,
107,101,116,115,47,100,101,102,97,117,
108,116,47,115,116,97,116,115,104,2,100,
0,4,116,121,112,101,100,0,5,101,114,114,
111,114,104,2,100,0,4,119,104,97,116,
100,0,8,98,97,100,97,114,105,116,104,
104,2,100,0,5,116,114,97,99,101,108,0,0,
0,8,104,3,100,0,4,109,97,116,104,100,0,
5,108,111,103,49,48,108,0,0,0,1,99,110,
97,110,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,106,104,3,100,0,
8,109,111,99,104,105,110,117,109,100,0,
5,115,99,97,108,101,97,7,104,3,100,0,8,
109,111,99,104,105,110,117,109,100,0,6,
100,105,103,105,116,115,97,1,104,3,100,
0,10,109,111,99,104,105,106,115,111,110,
50,100,0,27,45,106,115,111,110,95,101,
110,99,111,100,101,95,97,114,114,97,121,
47,50,45,102,117,110,45,48,45,97,3,104,
3,100,0,5,108,105,115,116,115,100,0,5,
102,111,108,100,108,97,3,104,3,100,0,10,
109,111,99,104,105,106,115,111,110,50,
100,0,17,106,115,111,110,95,101,110,99,
111,100,101,95,97,114,114,97,121,97,2,
104,3,100,0,10,109,111,99,104,105,106,
115,111,110,50,100,0,30,45,106,115,111,
110,95,101,110,99,111,100,101,95,112,
114,111,112,108,105,115,116,47,50,45,
102,117,110,45,48,45,97,3,104,3,100,0,5,
108,105,115,116,115,100,0,5,102,111,108,
100,108,97,3,106,106,106,100,0,4,119,97,
114,110,106>>]},
{ns_log,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
Offender: [{pid,undefined},
{name,ns_log},
{mfargs,{ns_log,start_link,[]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
[error_logger:error] [2012-04-20 11:49:30] [ns_1@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,ns_server_cluster_sup}
Context: start_error
Reason: shutdown
Offender: [{pid,undefined},
{name,ns_server_sup},
{mfargs,{ns_server_sup,start_link,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
Thu, 12/06/2012 - 07:35
Same problem, here, did you manage to resolve it? We're running on Centos here and using yum to install.
Thu, 12/06/2012 - 11:15
Sorry, no. I never did resolve the issue on the Centos VM quoted above.
I uninstalled Couchbase, removed all existing files, and re-installed.
Success. Couchbase server was running.
However, when I stop the server I cannot successfully restart the server. When I start coucbase-server, it appears to run for a moment and then crash out.
From looking into the initd, daemon is missing on my machine.