Details
-
Bug
-
Resolution: User Error
-
Critical
-
6.5.1
-
None
-
Oracle Enterprise Linux 7.6, centos 7.6
-
Untriaged
-
Yes
Description
Install Couchbase server 5.5.0 via nonroot script.
Upgrade Couchbase server to 6.5.1 via nonroot script => Failed.
Then same error when upgrade from 6.0.4 to 6.5.1
[clckwrk@ip-172-31-18-1 ~]$ ./cb_non_package_installer --install --install-location one --package couchbase-server-enterprise-5.5.0-oel7.x86_64.rpm -v
|
Successfully installed
|
[clckwrk@ip-172-31-18-1 ~]$ cd one/opt/couchbase/
|
[clckwrk@ip-172-31-18-1 couchbase]$ ./bin/couchbase-server \-- -noinput -detached
|
|
The maximum number of open files for the couchbase user is set too low.
|
It must be at least 70000.
|
|
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 70000. 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.
|
|
[clckwrk@ip-172-31-18-1 couchbase]$ cd ..
|
[clckwrk@ip-172-31-18-1 opt]$ cd ..
|
[clckwrk@ip-172-31-18-1 one]$ cd ..
|
[clckwrk@ip-172-31-18-1 ~]$ cd one/opt/couchbase/
|
[clckwrk@ip-172-31-18-1 couchbase]$ ./bin/couchbase-server -k
|
[clckwrk@ip-172-31-18-1 couchbase]$ cd ../../../
|
[clckwrk@ip-172-31-18-1 ~]$ ls
|
cb_non_package_installer couchbase-server-enterprise-5.5.0-oel7.x86_64.rpm couchbase-server-enterprise-6.5.1-6286-oel7.x86_64.rpm one
|
[clckwrk@ip-172-31-18-1 ~]$ ./cb_non_package_installer --upgrade --install-location one --package couchbase-server-enterprise-6.5.1-6286-oel7.x86_64.rpm -v
|
2020/03/30T18:35:36 ERROR: Can only upgrade to version 6.0.X
|
[clckwrk@ip-172-31-18-1 ~]$
|
[clckwrk@ip-172-31-18-1 ~]$ ls
|
cb_non_package_installer couchbase-server-enterprise-5.5.0-oel7.x86_64.rpm couchbase-server-enterprise-6.0.4-oel7.x86_64.rpm couchbase-server-enterprise-6.5.1-6286-oel7.x86_64.rpm one
|
[clckwrk@ip-172-31-18-1 ~]$
|
|
|
[clckwrk@ip-172-31-18-1 ~]$ rm -rf one/*
|
[clckwrk@ip-172-31-18-1 ~]$ ./cb_non_package_installer --install --install-location one --package couchbase-server-enterprise-6.0.4-oel7.x86_64.rpm -v
|
Successfully installed
|
[clckwrk@ip-172-31-18-1 ~]$ ./one/opt/couchbase/bin/couchbase-server \-- -noinput -detached
|
|
The maximum number of open files for the couchbase user is set too low.
|
It must be at least 70000.
|
|
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 70000. 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.
|
|
[clckwrk@ip-172-31-18-1 ~]$ ./one/opt/couchbase/bin/couchbase-server -k
|
[clckwrk@ip-172-31-18-1 ~]$ ./cb_non_package_installer --upgrade --install-location one --package couchbase-server-enterprise-6.5.1-6286-oel7.x86_64.rpm -v
|
2020/03/30T18:54:48 ERROR: Can only upgrade to version 6.0.X
|
[clckwrk@ip-172-31-18-1 ~]$
|