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

couchbase service not fully restarting after upgrade with rpm -U

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • Cheshire-Cat
    • ns_server
    • None
    • 2-node 7.0.0-4960
    • Untriaged
    • 1
    • Unknown

    Description

      Trying to upgrade from 7.0.0-4960 to 7.0.0-5017.

      • Failed over node
      • Stopped couchbase service
      • sudo rpm -U couchbase-server-enterprise-7.0.0-5017-centos7.x86_64.rpm

      install looks successful

      Minimum number of processors required : 4 cores
      Number of processors on the system    : 4 cores
      Upgrading couchbase-server ...
        /opt/couchbase/bin/cbupgrade -c /opt/couchbase/var/lib/couchbase/config -a yes
      Automatic mode: running without interactive questions or confirmations.
      Analysing...
      Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.datDatabase dir: /opt/couchbase/var/lib/couchbase/dataBuckets to upgrade: [no buckets found]Checking disk space available for buckets in directory:
        /opt/couchbase/var/lib/couchbase/data
        Free disk bucket space wanted: 0.0
        Free disk bucket space available: 38622449664
        Free disk space factor: 2.0
        Ok.Analysis complete.No data directories found for namespace upgrade
      Copying /opt/couchbase/var/lib/couchbase/config/config.dat
          cp /opt/couchbase/var/lib/couchbase/config/config.dat /opt/couchbase/var/lib/couchbase/config/config.dat
      Copying /opt/couchbase/var/lib/couchbase/ip
          cp /opt/couchbase/var/lib/couchbase/ip /opt/couchbase/var/lib/couchbase/ip
      Copying /opt/couchbase/var/lib/couchbase/config/dist_cfg
          cp /opt/couchbase/var/lib/couchbase/config/dist_cfg /opt/couchbase/var/lib/couchbase/config/dist_cfg
      Ensuring bucket data directories.
      Ensuring dbdir and indexdir owner/group: /opt/couchbase/var/lib/couchbase/data
          chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
      Ensuring dbdir and indexdir owner/group: /opt/couchbase/var/lib/couchbase/data
          chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
      Ensuring dbdir and indexdir owner/group: /opt/couchbase/var/lib/couchbase/data
          chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/dataDone.You have successfully installed Couchbase Server.

      However, the service doesn't seem to be fully restarted:

      # systemctl status couchbase-server
      ● couchbase-server.service - Couchbase Server
         Loaded: loaded (/usr/lib/systemd/system/couchbase-server.service; enabled; vendor preset: disabled)
         Active: active (running) since Mon 2021-05-03 11:58:27 PDT; 7min ago
           Docs: https://docs.couchbase.com
        Process: 8824 ExecStop=/opt/couchbase/bin/couchbase-server -k (code=exited, status=0/SUCCESS)
       Main PID: 8868 (beam.smp)
         CGroup: /system.slice/couchbase-server.service
                 ├─8868 /opt/couchbase/lib/erlang/erts-10.7.2.7/bin/beam.smp -A 16 -sbwt none -- -root /opt/couchbase/lib/erlang -progname erl -- -home /opt/couchbase -- -smp enable -kernel inetrc "/opt/couchbase/etc/couc...
                 ├─8881 /opt/couchbase/lib/erlang/erts-10.7.2.7/bin/epmd -daemon
                 ├─8936 erl_child_setup 200000
                 ├─8959 /opt/couchbase/bin/gosecrets
                 ├─9589 /opt/couchbase/lib/erlang/erts-10.7.2.7/bin/beam.smp -A 16 -sbt u -P 327680 -K true -swt low -sbwt none -MMmcs 30 -e102400 -- -root /opt/couchbase/lib/erlang -progname erl -- -home /opt/couchbase -...
                 └─9611 erl_child_setup 200000May 03 11:58:27 CentOS7_template systemd[1]: Started Couchbase Server.
      May 03 11:58:27 CentOS7_template systemd[1]: Starting Couchbase Server...

       

      And:

      # netstat -anp | grep 8091 
      <nothing

      Tried restarting, but no change in status.

       

       

       

      Attachments

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

        Activity

          People

            dfinlay Dave Finlay
            jean.randriam Jean Randriam
            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