Installation on Ubuntu
Hello,
I'm totally new to couchbase. I have tried to install couchbase server on ubuntu 12.04. It installed and configured without any error message. But I can not connect via telnet:
telnet localhost 11211
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
(I have also tried the IP instead of localhost - with no change)
In the log of the Web Console there is this errormessage (every 5 seconds):
Port server memcached on node 'ns_1@127.0.0.1' exited with status 1. Restarting. Messages: Sat Dec 15 10:56:09.103928 CET 3: Can't create thread: Resource temporarily unavailable
The Cluster Overview says: "Servers Down: 1"
I have removed and reinstalled couchbase server twice. At last I have installed the enterprise edition. But the error stays the same.
I have no firewall installed.
Hopefully someone can help.
Thanks a lot!
Hello,
I just tested the Couchbase Server 2.0 installation on a new Unbutu 12.04 64b on a VM. With no issue, so let's try to see why it is not working in your environment.
Joining a Cluster is used when you want to add a new node to an existing cluster. I think, for now, you just want to install a single node on your server and check that everything is working correctly.
1- Which exact version are you installing? (name of the deb file)
2- Could you please uninstall it (just to be sure we start from scratch)
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-uninstallin...
2.1 - sudo dpkg -r couchbase-server
2.2 - Delete /opt/couchbase (default install)
3- Reinstall : select default options
4- Go to http://127.0.0.1:8091
4.1 Do you see the admin console?
4.2 if not could you please go to the logs (/opt/couchbase/var/lib/couchbase/logs ) and drop the content here if you see error
Regards
Tug
Hello Tug
Thanks for help.
1:
I have installed:
couchbase-server-community_x86_2.0.0.deb
The server is hosted at strato and has 750 MB RAM available. (Is it enough?)
2/3:
That is what I did before. But I reinstalled again, just to be sure and now I get an error during installation:
Unexpected server error, request logged.
This is the beginning of error.log:
[ns_server:error,2012-12-16T14:09:29.813,ns_1@127.0.0.1:ns_heart<0.374.0>:ns_heart:grab_samples_loading_tasks:328]Failed to grab samples loader tasks: {exit,
{noproc,
{gen_server,call,
[samples_loader_tasks,get_tasks,
2000]}},
[{gen_server,call,3},
{ns_heart,grab_samples_loading_tasks,0},
{ns_heart,current_status,0},
{ns_heart,handle_info,2},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}
[error_logger:error,2012-12-16T14:09:29.822,ns_1@127.0.0.1:error_logger<0.5.0>:ale_error_logger_handler:log_msg:76]** Generic server memsup terminating
** Last message in was {'EXIT',<0.51.0>,{port_died,normal}}
** When Server state == [{data,[{"Timeout",60000}]},
{items,{"Memory Usage",
[{"Allocated",556523520},
{"Total",786432000}]}},
{items,{"Worst Memory User",
[{"Pid",<0.6.0>},{"Memory",300724}]}}]
** Reason for termination ==
** {port_died,normal}
[error_logger:error,2012-12-16T14:09:29.831,ns_1@127.0.0.1:error_logger<0.5.0>:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: memsup:init/1
pid: <0.50.0>
registered_name: memsup
exception exit: {port_died,normal}
in function gen_server:terminate/6
ancestors: [os_mon_sup,<0.47.0>]
messages: []
links: [<0.48.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 610
stack_size: 24
reductions: 13566
neighbours:
[error_logger:error,2012-12-16T14:09:29.831,ns_1@127.0.0.1:error_logger<0.5.0>:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,os_mon_sup}
Context: child_terminated
Reason: {port_died,normal}
Offender: [{pid,<0.50.0>},
{name,memsup},
{mfargs,{memsup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
[error_logger:error,2012-12-16T14:09:29.832,ns_1@127.0.0.1:error_logger<0.5.0>:ale_error_logger_handler:log_msg:76]** Generic server ns_heart terminating
** Last message in was beat
** When Server state == {state,undefined,<0.375.0>}
** Reason for termination ==
** {{port_died,normal},
{gen_server,call,[memsup,get_system_memory_data,infinity]}}
[error_logger:error,2012-12-16T14:09:29.833,ns_1@127.0.0.1:error_logger<0.5.0>:ale_error_logger_handler:log_report:72]
Thanks for help!
Phoenix
Oh ...
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-sta...
says 4GB RAM minimum :-(
Sorry!
I reinstalled couchbase again and read a bit more carefully.
Under "Join Cluster / Join new Cluster" it says "RAM available: 0 MB". But I have > 500 MB available ...? I do not understand this. Hopefully someone has a hint, what I can do next.
Thanks.