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

Linux: Bad messages when restarting service

    Details

    • Triage:
      Untriaged
    • Sprint:
      12/Aug - 30/Aug

      Description

      [root@localhost ~]# rm /opt/couchbase/var/lib/couchbase/config/config.dat
      rm: remove regular file `/opt/couchbase/var/lib/couchbase/config/config.dat'? y
      [root@localhost ~]# /etc/init.d/couchbase-server restart
      Stopping couchbase-server
      =INFO REPORT==== 12-Mar-2013::07:18:44 ===
      Initiated server shutdown** at node ns_1@127.0.0.1 **

      =INFO REPORT==== 12-Mar-2013::07:18:53 ===
      Stopped ns_server application** at node ns_1@127.0.0.1 **
      NOTE: shutdown failed

      {badrpc,nodedown}

      Starting couchbase-server [ OK ]
      [root@localhost ~]#

      Let me know if you need logs.

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

        Activity

        Hide
        perry Perry Krug added a comment -

        FYI, I was not able to reproduce this when only the default bucket was configured, but by creating both sample buckets I was able to reproduce it. This is on a VM on my laptop, so might be a race condition due to lower resources.

        Logs are: http://s3.amazonaws.com/customers.couchbase.com/perry/shutdownlog

        Show
        perry Perry Krug added a comment - FYI, I was not able to reproduce this when only the default bucket was configured, but by creating both sample buckets I was able to reproduce it. This is on a VM on my laptop, so might be a race condition due to lower resources. Logs are: http://s3.amazonaws.com/customers.couchbase.com/perry/shutdownlog
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        We should just investigate and possibly fix if there's something to fix.

        Note: it's 3.0 stuff and is part of current "sprint"

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - We should just investigate and possibly fix if there's something to fix. Note: it's 3.0 stuff and is part of current "sprint"
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        I don't see it anymore:

        (amd64)root@beta:~# dpkg -i ~/Desktop/forReview/couchbase-server-enterprise_ubuntu_1204_x86_64_3.0.1-1347-rel.deb
        Selecting previously unselected package couchbase-server.
        (Reading database ... 81093 files and directories currently installed.)
        Preparing to unpack .../couchbase-server-enterprise_ubuntu_1204_x86_64_3.0.1-1347-rel.deb ...
        libssl1* 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 : 23.51 GB

        Minimum number of processors required : 4 cores
        Number of processors on the system : 8 cores
        Unpacking couchbase-server (3.0.1) ...
        Setting up couchbase-server (3.0.1) ...
        [ ok ] Started couchbase-server.

        You have successfully installed Couchbase Server.
        Please browse to http://beta.altoros.corp: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, 18091, 18092, 11214, 11215 and from 21100 to 21299.

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

        (amd64)root@beta:~# rm -rf /opt/couchbase/var/lib/couchbase/
        config/ ip
        couchbase-server.cookie ip_start
        couchbase-server.cookie-ns-server isasl.pw
        couchbase-server.node logs/
        couchbase-server.pid ns_log
        data/ stats/
        initargs
        (amd64)root@beta:~# rm -rf /opt/couchbase/var/lib/couchbase/config/
        config.dat local-ssl-pkey.pem memcached-key.pem
        local-ssl-cert.pem memcached-cert.pem ssl-cert-key.pem
        local-ssl-meta memcached.json ssl-cert-key.pem-ca
        (amd64)root@beta:~# rm -rf /opt/couchbase/var/lib/couchbase/config/config.dat
        (amd64)root@beta:~# /etc/init.d/couchbase-server restart
        [ ok ] Stopped couchbase-server.
        [ ok ] Started couchbase-server.
        (amd64)root@beta:~#

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - I don't see it anymore: (amd64)root@beta:~# dpkg -i ~/Desktop/forReview/couchbase-server-enterprise_ubuntu_1204_x86_64_3.0.1-1347-rel.deb Selecting previously unselected package couchbase-server. (Reading database ... 81093 files and directories currently installed.) Preparing to unpack .../couchbase-server-enterprise_ubuntu_1204_x86_64_3.0.1-1347-rel.deb ... libssl1* 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 : 23.51 GB Minimum number of processors required : 4 cores Number of processors on the system : 8 cores Unpacking couchbase-server (3.0.1) ... Setting up couchbase-server (3.0.1) ... [ ok ] Started couchbase-server. You have successfully installed Couchbase Server. Please browse to http://beta.altoros.corp: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, 18091, 18092, 11214, 11215 and from 21100 to 21299. By using this software you agree to the End User License Agreement. See /opt/couchbase/LICENSE.txt. (amd64)root@beta:~# rm -rf /opt/couchbase/var/lib/couchbase/ config/ ip couchbase-server.cookie ip_start couchbase-server.cookie-ns-server isasl.pw couchbase-server.node logs/ couchbase-server.pid ns_log data/ stats/ initargs (amd64)root@beta:~# rm -rf /opt/couchbase/var/lib/couchbase/config/ config.dat local-ssl-pkey.pem memcached-key.pem local-ssl-cert.pem memcached-cert.pem ssl-cert-key.pem local-ssl-meta memcached.json ssl-cert-key.pem-ca (amd64)root@beta:~# rm -rf /opt/couchbase/var/lib/couchbase/config/config.dat (amd64)root@beta:~# /etc/init.d/couchbase-server restart [ ok ] Stopped couchbase-server. [ ok ] Started couchbase-server. (amd64)root@beta:~#

          People

          • Assignee:
            alkondratenko Aleksey Kondratenko (Inactive)
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile

                Gerrit Reviews

                There are no open Gerrit changes