Details
-
Bug
-
Resolution: Fixed
-
Critical
-
2.1.0
-
Security Level: Public
-
Windows Server 2008 R2, latest patches installed, 8dot3name disabled, default install dir
-
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(
,
[])
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