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

Do not install in path with spaces if 8dot3name disabled

    XMLWordPrintable

Details

    • Triaged
    • Build Sprint 5: 4/21 - 5/09

    Description

      WORKAROUND: Install Couchbase afresh at a location with no space characters (ex., C:\Couchbase)

      On windows, the NTFS filesystem has an "8dot3name" attribute that, when enabled, gives files and directories a short filename where necessary. e.g "Program Files" is given the short filename "PROGR~1".

      Erlang relies on this capability to start CB when installed in the default directory. If 8dot3name behaviour is disabled, the babysitter fails to launch the os monitor process with the following:

      erlang:open_port(

      {spawn, "c:/Program Files/Couchbase/Server/lib/os_mon-2.2.7/priv/bin/win32sysinfo.exe"}

      , []).
      exception error: enoent
      in function open_port/2
      called as open_port(

      {spawn,"c:/Program Files/Couchbase/Server/lib/os_mon-2.2.7/priv/bin/win32sysinfo.exe"}

      ,
      [])

      The spawn command does not tolerate the whitespace in the path. A workaround is to install CB into a different directory that does not contain a space in the path.

      The 8dot3name attribute can be set and queried using the fsutil command: http://technet.microsoft.com/en-us/library/ff621566.aspx?ppud=4

      Attachments

        Issue Links

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

          Activity

            People

              thuan Thuan Nguyen
              dhaikney David Haikney (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty