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

Incorrect Premission for saslconf file when upgrading from 1654->1711-> 180r-36 (failed)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.0
    • Component/s: installer
    • Security Level: Public
    • Labels:
      None

      Description

      error_info
      {exit,badmatch,{error,eacces,
      [

      {ns_config_isasl_sync,writeSASLConf,6}

      ,

      {ns_config_isasl_sync,init,1}

      ,

      {gen_server,init_it,6},
      {proc_lib,init_p_do_apply,3}]},
      [{gen_server,init_it,6}

      ,

      {proc_lib,init_p_do_apply,3}

      ]}

      SOLUTION:-

      chown -R couchbase:couchbase /opt/membase/var/lib/membase/data

      ERROR:

      INSTALL_UPGRADE_CONFIG_DIR=/opt/membase/var/lib/membase/config dpkg -i /tmp/couchbase-server-enterprise_x86_64_1.8.0r-36-gfda5241.deb
      (Reading database ... 51433 files and directories currently installed.)
      Preparing to replace couchbase-server 1.8.0r (using .../couchbase-server-enterprise_x86_64_1.8.0r-36-gfda5241.deb) ...

      • Stopped couchbase-server
        Upgrading previous couchbase ... (1.8.0r)
        Stopping previous couchbase ... (1.8.0r)
      • Stopped couchbase-server
        Saving previous couchbase config.dat ...
        Cleaning symlinks ...
        Unpacking replacement couchbase-server ...
        Setting up couchbase-server (1.8.0r) ...
        Upgrading couchbase-server ...
        /opt/couchbase/bin/cbupgrade -c /opt/membase/var/lib/membase/config -a yes
        Automatic mode: running without interactive questions or confirmations.
        Upgrading your Couchbase Server to 1.8.0r-36-gfda5241.
        The upgrade process might take awhile.
        Analysing...
        Previous config.dat file is /opt/membase/var/lib/membase/config/config.dat.debsave
        Target node: ns_1@10.211.147.159

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

      Database dir: /var/opt/membase/1.6.5.4/data/ns_1

      Buckets to upgrade: default

      Checking disk space available for buckets in directory:
      /var/opt/membase/1.6.5.4/data/ns_1
      Free disk bucket space wanted: 254169088.0
      Free disk bucket space available: 1677099008
      Free disk space factor: 2.0
      Ok.

      Analysis complete.

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

      Done.

      • Failed to start couchbase-server
        dpkg: error processing couchbase-server (--install):
        subprocess installed post-installation script returned error exit status 1
        Processing triggers for ureadahead ...
        Errors were encountered while processing:
        couchbase-server
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            karan Karan Kumar (Inactive)
            Reporter:
            karan Karan Kumar (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes