Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-40675

non-root install script fails to install community edition

    XMLWordPrintable

    Details

    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Description

      Download 6.6 community version rpm
      Run non-root install script

      [arunkumar@node1-mad-hatter-testing-centos7 cb-non-package-installer]$ ./cb-non-package-installer --install --install-location ~/couchbase-home/ --package ~/couchbase-server-community-6.6.0-7899-centos7.x86_64.rpm
      2020/07/28T18:05:11 ERROR: Could not get version from Package name couchbase-server-community-6.6.0-7899-centos7.x86_64.rpm

      It does not say anywhere in the PRD if we should support community version. But the fix is simple and patch is up for review. Will leave fixVersion empty until it is decided to take this in.

        Attachments

        For Gerrit Dashboard: MB-40675
        # Subject Branch Project Status CR V

          Activity

          Hide
          arunkumar Arunkumar Senthilnathan added a comment -

          Works with this fix: http://review.couchbase.org/c/cb-non-package-installer/+/133415

          [arunkumar@node1-mad-hatter-testing-centos7 cb-non-package-installer]$ ./cb-non-package-installer --install --install-location ~/couchbase-home/ --package ~/couchbase-server-community-6.6.0-7899-centos7.x86_64.rpm
          Successfully installed

          Show
          arunkumar Arunkumar Senthilnathan added a comment - Works with this fix: http://review.couchbase.org/c/cb-non-package-installer/+/133415 [arunkumar@node1-mad-hatter-testing-centos7 cb-non-package-installer] $ ./cb-non-package-installer --install --install-location ~/couchbase-home/ --package ~/couchbase-server-community-6.6.0-7899-centos7.x86_64.rpm Successfully installed
          Hide
          build-team Couchbase Build Team added a comment -

          Build python_tools::cb-non-package-installer-6.6.0-8 contains cb-non-package-installer commit 3734f4d with commit message:
          MB-40675 Fix for community edition non root install

          Show
          build-team Couchbase Build Team added a comment - Build python_tools::cb-non-package-installer-6.6.0-8 contains cb-non-package-installer commit 3734f4d with commit message: MB-40675 Fix for community edition non root install
          Hide
          arunkumar Arunkumar Senthilnathan added a comment -

          Verified in 6.6.0:

          [arunkumar@node1-mad-hatter-testing-centos7 cb-non-package-installer]$ ./cb-non-package-installer --install --install-location ~/couchbase-home/ --package ~/couchbase-server-community-6.6.0-7899-centos7.x86_64.rpm
          Successfully installed
          [arunkumar@node1-mad-hatter-testing-centos7 cb-non-package-installer]$ cd ../couchbase-home/opt/couchbase/bin/
          [arunkumar@node1-mad-hatter-testing-centos7 bin]$ ./couchbase-server --start

          The maximum number of processes for the couchbase user is set too low (4096).
          It must be at least 10000.

          Normally this can be increased by adding the following lines to
          /etc/security/limits.conf:

          couchbase soft nproc <value>
          couchbase hard nproc <value>

          Where <value> is greater than 10000. 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 couchbase user is set too low (1024).
          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.

          Show
          arunkumar Arunkumar Senthilnathan added a comment - Verified in 6.6.0: [arunkumar@node1-mad-hatter-testing-centos7 cb-non-package-installer] $ ./cb-non-package-installer --install --install-location ~/couchbase-home/ --package ~/couchbase-server-community-6.6.0-7899-centos7.x86_64.rpm Successfully installed [arunkumar@node1-mad-hatter-testing-centos7 cb-non-package-installer] $ cd ../couchbase-home/opt/couchbase/bin/ [arunkumar@node1-mad-hatter-testing-centos7 bin] $ ./couchbase-server --start The maximum number of processes for the couchbase user is set too low (4096). It must be at least 10000. Normally this can be increased by adding the following lines to /etc/security/limits.conf: couchbase soft nproc <value> couchbase hard nproc <value> Where <value> is greater than 10000. 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 couchbase user is set too low (1024). 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.

            People

            Assignee:
            arunkumar Arunkumar Senthilnathan
            Reporter:
            arunkumar Arunkumar Senthilnathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty