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

error " * Failed to stop couchbase-server" when try to upgrade/reinstall 3.0.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 3.0
    • 3.0
    • installer
    • Security Level: Public
    • None
    • Untriaged
    • Ubuntu 64-bit
    • Unknown

    Description

      3.0.0-629

      I already had CB on the host when I'm trying to reinstall CB and always get the error:

      Stopping previous couchbase ... (3.0.0)

      • Failed to stop couchbase-server

      sudo /etc/init.d/couchbase-server status

      • couchbase-server is running
        andrey@baranouski:/tmp$ sudo dpkg -i couchbase-server-enterprise_x86_64_3.0.0-629-rel.deb
        (Reading database ... 872867 files and directories currently installed.)
        Preparing to replace couchbase-server 3.0.0 (using couchbase-server-enterprise_x86_64_3.0.0-629-rel.deb) ...
      • Stopped couchbase-server
        libssl0.9.8 is installed. Continue installing
        Warning: Transparent hugepages may be enabled. To disable the usage
        of transparent hugepages, set the kernel settings at runtime with
        echo never > /sys/kernel/mm/transparent_hugepage/enabled
        Warning: Swappiness is not 0.
        You can set the swappiness at runtime with
        sysctl vm.swappiness=0
        Minimum RAM required : 4 GB
        System RAM configured : 15.56 GB

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

      • Failed to stop couchbase-server
        Saving previous couchbase config.dat ...
        Cleaning symlinks ...
        Unpacking replacement couchbase-server ...
        Setting up couchbase-server (3.0.0) ...
        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
        Upgrading from 2.0

      Couchbase should not be running.
      Please use: /etc/init.d/couchbase-server stop

      Database dir: /opt/couchbase/var/lib/couchbase/data

      Buckets to upgrade: default

      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: 328790032384
      Free disk space factor: 2.0
      Ok.

      Analysis complete.

      Copying /opt/couchbase/var/lib/couchbase/config/config.dat.debsave
      cp /opt/couchbase/var/lib/couchbase/config/config.dat.debsave /opt/couchbase/bin/install/../../var/lib/couchbase/config/config.dat
      Ensuring bucket data directories.
      Ensuring bucket data directory: /opt/couchbase/var/lib/couchbase/data/default
      mkdir -p /opt/couchbase/var/lib/couchbase/data/default
      Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
      chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
      Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
      chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
      Upgrading buckets.
      Skipping already converted bucket: /opt/couchbase/var/lib/couchbase/data/default

      Done.

      • Started couchbase-server

      You have successfully installed Couchbase Server.
      Please browse to http://baranouski: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 ...

      Please note, that I'm able to stop CB manually but sometimes it takes more than 1 min

      Fri May 2 15:48:49 FET 2014
      andrey@baranouski:/tmp$ sudo /etc/init.d/couchbase-server stop

      • Stopped couchbase-server
        andrey@baranouski:/tmp$ date
        Fri May 2 15:50:07 FET 2014

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            andreibaranouski Andrei Baranouski
            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