Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Membase connection reset

5 replies [Last post]
  • Login or register to post comments
Mon, 03/14/2011 - 18:37
perry
Offline
Joined: 10/11/2010
Groups:

 The connection is getting terminated in every second when I telnet.I can also see the connection reset message appearing on top of the Administrative console.

/var and /var/opt are owned by root and /var/opt/membase is owned by membase

drwxr-xr-x 3 membase membase 4096 Jan 24 22:07 membase

I have this user created and /etc/security/limits.conf has the following entries

membase soft nofile 10240
membase hard nofile 10240

 

Can you please suggest me a fix for this issue? I am using Membase 1.6.5
Thanks
Abhilash

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Mon, 03/14/2011 - 18:39
perry
Offline
Joined: 10/11/2010
Groups:

 Abhilash, we'll need to see the full logs to determine what the issue is here.  Can you send the output of "/opt/membase/bin/ns_server/collect_info <output_file>" to 'perry -at- couchbase -dot- com'?

 

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Mon, 03/14/2011 - 20:15
abhihome
Offline
Joined: 03/14/2011
Groups: None

Thanks Perry!

I have sent the file to 'perry -at- couchbase -dot- com'

-Thanks, Abhilash

 

Top
  • Login or register to post comments
Tue, 03/15/2011 - 10:21
perry
Offline
Joined: 10/11/2010
Groups:

It looks like there may be a permissions problem with the database files:

/var/opt/membase/1.6.5/data:
total 8
drwxr-xr-x 2 255 membase 4096 Mar 2 14:08 ns_1

/var/opt/membase/1.6.5/data/ns_1:
total 2608
-rw-r--r-- 1 255 membase 46080 Mar 2 12:07 default
...

What user is '255'?

The logs show:
memcached<0.26983.29>: Failed to create database: unable to open database file
memcached<0.26983.29>: No access to "/var/opt/membase/1.6.5/data/ns_1/default".
memcached<0.26983.29>: sqlite error: unable to open database file

Is there something that would have changed the permissions unexpectedly? What happens if you reset the permissions on the '/var/opt/membase/1.6.5/data/ns_1' directory?

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Wed, 03/16/2011 - 13:26
abhihome
Offline
Joined: 03/14/2011
Groups: None

Hi Perry, Thanks for looking into it. Resetting permission on /var/opt/membase/ resolved the issue.

 

Few additional details, if this can help others.
I had this permission issue when I installed this using yum. I'll check with my Net Eng. and see if there is any permission issues.

sudo yum install [membase-server]

However I have also noticed that installing with the following command set the permissions correctly, there were no issues.

sudo rpm --install membase-server-enterprise_x86_64_1.6.5.rpm

Thanks again!

Abhilash

Top
  • Login or register to post comments
Wed, 03/16/2011 - 17:52
perry
Offline
Joined: 10/11/2010
Groups:

Abhilash, I've seen similar problems with environments that have puppet (or another config management system) installed that periodically scans the system and resets things back to what it expects.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

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