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

Couchbase Server installed via yum failed to start in Amazon Linux 2017.09

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.1, 5.1.0
    • 5.0.0
    • installer
    • None
    • Amazon Linux 2017.09
    • Untriaged
    • 1
    • Yes
    • Build Team 2017 week 44, Build Team 2017 week 45

    Description

      Deploy an Amazon Linux 2017.09
      Login as ec2-user.
      Change to super user.
      Install Couchbase release package https://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-4-x86_64.rpm
      Run yum update to update server.
      Install Couchbase Server via yum
      yum install couchbase-server

      [root@ip-172-31-20-219 ec2-user]# yum install couchbase-server
      Loaded plugins: priorities, update-motd, upgrade-helper
      amzn-main                                                                                                                                                                                                                     | 2.1 kB  00:00:00     
      amzn-updates                                                                                                                                                                                                                  | 2.5 kB  00:00:00     
      Resolving Dependencies
      --> Running transaction check
      ---> Package couchbase-server.x86_64 0:5.0.0-3519 will be installed
      --> Finished Dependency Resolution
       
      Dependencies Resolved
       
      =====================================================================================================================================================================================================================================================
       Package                                                        Arch                                                 Version                                                    Repository                                                      Size
      =====================================================================================================================================================================================================================================================
      Installing:
       couchbase-server                                               x86_64                                               5.0.0-3519                                                 couchbase-server                                               114 M
       
      Transaction Summary
      =====================================================================================================================================================================================================================================================
      Install  1 Package
       
      Total download size: 114 M
      Installed size: 317 M
      Is this ok [y/d/N]: y
      Downloading packages:
      warning: /var/cache/yum/x86_64/latest/couchbase-server/packages/couchbase-server-enterprise-5.0.0-centos7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd406e62: NOKEY=================================        ]  41 MB/s | 105 MB  00:00:00 ETA 
      Public key for couchbase-server-enterprise-5.0.0-centos7.x86_64.rpm is not installed
      couchbase-server-enterprise-5.0.0-centos7.x86_64.rpm                                                                                                                                                                          | 114 MB  00:00:02     
      Retrieving key from file:///etc/pki/rpm-gpg/GPG-KEY-COUCHBASE-1.0
      Importing GPG key 0xCD406E62:
       Userid     : "Couchbase Release Key (RPM) <support@couchbase.com>"
       Fingerprint: 136c d3ba 884e 3cb0 e44e 7a5b e905 c770 cd40 6e62
       Package    : couchbase-release-1.0-4.x86_64 (installed)
       From       : /etc/pki/rpm-gpg/GPG-KEY-COUCHBASE-1.0
      Is this ok [y/N]: y
      Importing GPG key 0xD9223EDA:
       Userid     : "Couchbase Release Key <support@couchbase.com>"
       Fingerprint: 407d 39ed e720 6760 7ff1 da1c a3fa a648 d922 3eda
       Package    : couchbase-release-1.0-4.x86_64 (installed)
       From       : /etc/pki/rpm-gpg/GPG-KEY-COUCHBASE-1.0
      Is this ok [y/N]: y
      Importing GPG key 0x79CF7903:
       Userid     : "Couchbase Builder Key <support@couchbase.com>"
       Fingerprint: e9b0 86b4 cbfc e32d 92ec 10f7 6ef1 eac4 79cf 7903
       Package    : couchbase-release-1.0-4.x86_64 (installed)
       From       : /etc/pki/rpm-gpg/GPG-KEY-COUCHBASE-1.0
      Is this ok [y/N]: y
      Running transaction check
      Running transaction test
      Transaction test succeeded
      Running transaction
      Warning: Transparent hugepages looks to be active and should not be.
      Please look at https://developer.couchbase.com/documentation/server/current/install/thp-disable.html as for how to PERMANENTLY alter this setting.
      Warning: Swappiness is not set to 0.
      Please look at https://developer.couchbase.com/documentation/server/current/install/install-swap-space.html as for how to PERMANENTLY alter this setting.
      Minimum RAM required  : 4 GB
      System RAM configured : 7.31 GB
       
      Minimum number of processors required : 4 cores
      Number of processors on the system    : 4 cores
       
        Installing : couchbase-server-5.0.0-3519.x86_64                                                                                                                                                                                                1/1 
      /var/tmp/rpm-tmp.HuoRr0: line 6: systemctl: command not found
      /var/tmp/rpm-tmp.HuoRr0: line 9: systemctl: command not found
       
      You have successfully installed Couchbase Server.
      Please browse to http://ip-172-31-20-219:8091/ to configure your server.
      Please refer to http://couchbase.com for additional resources.
       
      Please note that you have to update your firewall configuration to
      allow connections to the following ports:
      4369, 8091 to 8094, 9100 to 9105, 9998, 9999, 11207, 11209 to 11211,
      11214, 11215, 18091 to 18093, and from 21100 to 21299.
       
      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.
       
        Verifying  : couchbase-server-5.0.0-3519.x86_64                                                                                                                                                                                                1/1 
       
      Installed:
        couchbase-server.x86_64 0:5.0.0-3519                                                                                                                                                                                                               
       
      Complete!
      [root@ip-172-31-20-219 ec2-user]#
      

      Check if Couchbase Server is running by grepping beam.smp process. No processes returned.

      Manuall start Couchbase Server, failed to start.

      [root@ip-172-31-20-219 ec2-user]# /opt/couchbase/etc/couchbase-server.service start
      /opt/couchbase/etc/couchbase-server.service: line 2: [Unit]: command not found
      /opt/couchbase/etc/couchbase-server.service: line 3: Server: command not found
      /opt/couchbase/etc/couchbase-server.service: line 5: remote-fs.target: command not found
      /opt/couchbase/etc/couchbase-server.service: line 7: [Service]: command not found
      /opt/couchbase/etc/couchbase-server.service: line 14: --: command not found
      /opt/couchbase/etc/couchbase-server.service: line 15: -k: command not found
      /opt/couchbase/etc/couchbase-server.service: line 17: [Install]: command not found
      [root@ip-172-31-20-219 ec2-user]# ps aux | grep beam.smp
      root     30081  0.0  0.0 110468  2140 pts/0    S+   17:42   0:00 grep --color=auto beam.smp
      [root@ip-172-31-20-219 ec2-user]# ls
      

      A work around is using Couchbase Server 5.0.0 AMI in market place.

      I will post log and credential to login to instance below.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              thuan Thuan Nguyen
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty