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

mbdbmaint.exe doesn't work on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Security Level: Public

      Description

      Forum user reported this, I was able to reproduce:

      Pausing persistence... paused.
      Vacuuming c:/Program Files/Membase/Server/var/lib/membase/data/default-data\default-0.mb
      'sqlite3.exe" "c:' is not recognized as an internal or external command, operable program or batch file.
      Vacuuming c:/Program Files/Membase/Server/var/lib/membase/data/default-data\default-1.mb
      'sqlite3.exe" "c:' is not recognized as an internal or external command, operable program or batch file.
      Vacuuming c:/Program Files/Membase/Server/var/lib/membase/data/default-data\default-2.mb
      'sqlite3.exe" "c:' is not recognized as an internal or external command, operable program or batch file.
      Vacuuming c:/Program Files/Membase/Server/var/lib/membase/data/default-data\default-3.mb
      'sqlite3.exe" "c:' is not recognized as an internal or external command, operable program or batch file.
      Unpausing persistence.

        Attachments

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

          Activity

          Hide
          thuan Thuan Nguyen added a comment - - edited

          I tested the command mbdbmaint.exe on default bucket and it works as expected except a warning message as I mention in bug MB-4041.
          I think the user forgot to use double back slash when executing the command in windows.
          Ex: c:\Program Files>"c:
          Program Files\\Membase\\Server\\bin
          mbdbmaint.exe" --vacuum --backupto="c:\\backup
          tmp" --port=11210
          OR
          c:\Program Files>".\Membase\\Server\\bin
          mbdbmaint.exe" --vacuum --backupto="c:\\backup
          tmp" --port=11210

          Show
          thuan Thuan Nguyen added a comment - - edited I tested the command mbdbmaint.exe on default bucket and it works as expected except a warning message as I mention in bug MB-4041 . I think the user forgot to use double back slash when executing the command in windows. Ex: c:\Program Files>"c: Program Files\\Membase\\Server\\bin mbdbmaint.exe" --vacuum --backupto="c:\\backup tmp" --port=11210 OR c:\Program Files>".\Membase\\Server\\bin mbdbmaint.exe" --vacuum --backupto="c:\\backup tmp" --port=11210
          Hide
          farshid Farshid Ghods (Inactive) added a comment -

          Integrated in github-ep-engine-1-7-1 #129 (See http://qa.hq.northscale.net/job/github-ep-engine-1-7-1/129/)
          MB-4039 Launch sqlite command correctly on windows

          Bin Cui :
          Files :

          • management/mbdbmaint
          Show
          farshid Farshid Ghods (Inactive) added a comment - Integrated in github-ep-engine-1-7-1 #129 (See http://qa.hq.northscale.net/job/github-ep-engine-1-7-1/129/ ) MB-4039 Launch sqlite command correctly on windows Bin Cui : Files : management/mbdbmaint
          Hide
          farshid Farshid Ghods (Inactive) added a comment -

          Integrated in github-ep-engine-2-0 #21 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/21/)
          MB-4039 Launch sqlite command correctly on windows

          Bin Cui :
          Files :

          • management/mbdbmaint
          Show
          farshid Farshid Ghods (Inactive) added a comment - Integrated in github-ep-engine-2-0 #21 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/21/ ) MB-4039 Launch sqlite command correctly on windows Bin Cui : Files : management/mbdbmaint

            People

            • Assignee:
              bcui Bin Cui (Inactive)
              Reporter:
              perry Perry Krug
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes