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

[Doc'd] during upgrade 2.0.0->2.1.0 with non default port get 'Failed to stop couchbase-server' in console on Ubuntu

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.0.1, 2.1.0
    • Fix Version/s: bug-backlog
    • Component/s: installer
    • Security Level: Public
    • Labels:
    • Environment:
      Ubuntu 64
    • Triage:
      Untriaged
    • Sprint:
      PCI Team - Sprint 5, PCI Team - Sprint 6, PCI Team - Sprint 14, PCI Team - Sprint 15, PCI Team - Sprint 16

      Description

      Steps:

      dpkg -i couchbase-server-enterprise_x86_64_2.0.0-1976-rel.deb
      Selecting previously deselected package couchbase-server.
      (Reading database ... 62014 files and directories currently installed.)
      Unpacking couchbase-server (from couchbase-server-enterprise_x86_64_2.0.0-1976-rel.deb) ...
      libssl0.9.8 is installed. Continue installing
      Setting up couchbase-server (2.0.0) ...

      • Started couchbase-server

      You have successfully installed Couchbase Server.
      Please browse to http://ubu-2502: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: 11211, 11210, 11209, 4369,
      8091 and from 21100 to 21299.

      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.

      Processing triggers for ureadahead ...

      root@ubu-2502:/opt/couchbase/bin# ./couchbase-cli cluster-init --cluster=10.3.3.19:8091 -u Administrator -p password --cluster-init-user=Administrator --cluster-init-password=password --cluster-init-port=8099
      SUCCESS: init 10.3.3.19

      root@ubu-2502:/tmp# dpkg -i couchbase-server-enterprise_x86_64_2.0.2-760-rel.deb
      (Reading database ... 68049 files and directories currently installed.)
      Preparing to replace couchbase-server 2.0.0 (using couchbase-server-enterprise_x86_64_2.0.2-760-rel.deb) ...

      =INFO REPORT==== 10-Apr-2013::01:47:20 ===
      Initiated server shutdown** at node ns_1@127.0.0.1 **

      =INFO REPORT==== 10-Apr-2013::01:47:26 ===
      Stopped ns_server application** at node ns_1@127.0.0.1 **

      • Stopped couchbase-server
        libssl0.9.8 is installed. Continue installing
        Minimum RAM required : 4 GB
        System RAM configured : 4060188 kB

      Minimum number of processors required : 4 cores
      Number of processors on the system : 4 cores
      Upgrading previous couchbase ... (2.0.0)
      Stopping previous couchbase ... (2.0.0)

      • Failed to stop couchbase-server
        Saving previous couchbase config.dat ...
        Cleaning symlinks ...
        Unpacking replacement couchbase-server ...
        dpkg: warning: unable to delete old directory '/opt/couchbase/var/lib/couchbase/mnesia': Directory not empty
        Setting up couchbase-server (2.0.2) ...
        Upgrading couchbase-server ...
        /opt/couchbase/bin/install/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.dat.debsave
        Target node: ns_1@127.0.0.1
        No buckets to be upgraded.
      • Started couchbase-server

      You have successfully installed Couchbase Server.
      Please browse to http://ubu-2502: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: 11211, 11210, 11209, 4369,
      8091, 8092 and from 21100 to 21299.

      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.

      Processing triggers for ureadahead ...

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

        Activity

        Hide
        mikew Mike Wiederhold added a comment - - edited

        Closing since this issue is old and affects 2.x versions only. If it still exists on newer versions then please reopen this issue.

        Show
        mikew Mike Wiederhold added a comment - - edited Closing since this issue is old and affects 2.x versions only. If it still exists on newer versions then please reopen this issue.
        Hide
        kzeller kzeller added a comment - - edited

        Added to RN 2.0.2 per Wayne:

        On Ubuntu if you upgrade from Couchbase Server 2.0 to 2.0.2 and use a non-default
        port, the upgrade can fail and return the message 'Failed to stop couchbase-server.' We recommend
        you use the default ports on both 2.0 and 2.1.0 when you perform an upgrade.

        Show
        kzeller kzeller added a comment - - edited Added to RN 2.0.2 per Wayne: On Ubuntu if you upgrade from Couchbase Server 2.0 to 2.0.2 and use a non-default port, the upgrade can fail and return the message 'Failed to stop couchbase-server.' We recommend you use the default ports on both 2.0 and 2.1.0 when you perform an upgrade.
        Hide
        andreibaranouski Andrei Baranouski added a comment -

        new issue for centos 64 with online upgrade non default port
        MB-8172 centos64 :online upgrade non default port:rebalance failed/Port server moxi on node 'babysitter_of_ns_1@lh' exited with status 0.curl error:transfer closed with outstanding read data remaining from: lh:8091/pools/default/saslBucketsStreaming EOL on stdin

        Show
        andreibaranouski Andrei Baranouski added a comment - new issue for centos 64 with online upgrade non default port MB-8172 centos64 :online upgrade non default port:rebalance failed/Port server moxi on node 'babysitter_of_ns_1@lh' exited with status 0.curl error:transfer closed with outstanding read data remaining from: lh:8091/pools/default/saslBucketsStreaming EOL on stdin
        Hide
        maria Maria McDuff (Inactive) added a comment -

        what is the behavior in centos? can you confirm.

        Show
        maria Maria McDuff (Inactive) added a comment - what is the behavior in centos? can you confirm.
        Hide
        anil Anil Kumar added a comment -

        this is a minor issue but still needs to fixed in 2.0.2.

        Show
        anil Anil Kumar added a comment - this is a minor issue but still needs to fixed in 2.0.2.

          People

          • Assignee:
            bcui Bin Cui
            Reporter:
            andreibaranouski Andrei Baranouski
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile

                Gerrit Reviews

                There are no open Gerrit changes