Membase connection reset
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
Thanks Perry!
I have sent the file to 'perry -at- couchbase -dot- com'
-Thanks, Abhilash
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
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
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
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!