Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Installation on Ubuntu

4 replies [Last post]
  • Login or register to post comments
Sat, 12/15/2012 - 03:00
dyingphoenix
Offline
Joined: 12/15/2012
Groups: None

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!

Top
  • Login or register to post comments
Sat, 12/15/2012 - 09:15
dyingphoenix
Offline
Joined: 12/15/2012
Groups: None

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.

Top
  • Login or register to post comments
Sat, 12/15/2012 - 10:27
tgrall
Offline
Joined: 09/05/2012
Groups: None

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

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Sun, 12/16/2012 - 06:44
dyingphoenix
Offline
Joined: 12/15/2012
Groups: None

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

Top
  • Login or register to post comments
Sun, 12/16/2012 - 06:58
dyingphoenix
Offline
Joined: 12/15/2012
Groups: None

Oh ...
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-sta...
says 4GB RAM minimum :-(

Sorry!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker