I’m trying to startup a server of EventStore on OSx through Node.JS (via: child_process.spawn), because I want to startup a development environment with Node & EventStore easily (I want to use the NPM package in a Meteor.JS package).
Unfortunately starting up EventStore throws an error:
[01034,17,13:13:11.254] Couldn’t get drive name for directory ‘/event-store-server-3.0.3-osx/server/data’ on Unix.
ApplicationName=‘df’, CommandLine=’-P /event-store-server-3.0.3-osx/server/data’, CurrentDirectory=’’, Native error= Cannot find the specified file
``
Within the node log I find this:
[PID:01034:017 2015.05.29 13:13:11.254 DEBUG MonitoringService ] Couldn’t get drive name for directory ‘/event-store-server-3.0.3-osx/serve
System.ComponentModel.Win32Exception: ApplicationName=‘df’, CommandLine=’-P /event-store-server-3.0.3-osx/server/data’, CurrentDirectory=’’,
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0
at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in :0
at EventStore.Common.Utils.ShellExecutor.GetOutput (System.String command, System.String args) [0x00000] in :0
at EventStore.Core.Services.Monitoring.Stats.EsDriveInfo.GetDirectoryRootInUnix (System.String directory, ILogger log) [0x00000] in :0
``
I found one other similar error, but there was a mention of lack of memory, don’t think that is the case for me, as there have been no writes to the database.
Anyone an idea?
Many thanks!