Details
Description
https://docs.couchbase.com/server/current/install/non-root.html
Followed the above documentation to install 7.0.4-7220. could able to install but while starting server, we see below error:
[username@cluster-g3 cb-install]$ cd ..
|
[username@cluster-g3 tmp]$ cd ./cb-install/opt/couchbase/bin
|
[username@cluster-g3 bin]$ ./couchbase-server --start
|
|
The maximum number of open files for the couchbase user is set too low (70000).
|
It must be at least 200000.
|
|
Normally this can be increased by adding the following lines to
|
/etc/security/limits.conf:
|
|
couchbase soft nofile <value>
|
couchbase hard nofile <value>
|
|
Where <value> is greater than 200000. The procedure may be totally
|
different if you're running so called "non-root/non-sudo install" or
|
if you've built Couchbase Server from source.
|
The maximum number of open files for the non root user is set to 70000 as mentioned in the document. Either documentation to be updated or above error message to be fixed.
After setting it to 200000, could able to start the server.