I've installed Elasticsearch on a new server using the Windows MSI. It installed successfully and the Windows service starts. I have installed Java 8 - Update 201 as was required.
The problem comes in when I attempt to use ElasticSearch. As soon as I navigate to localhost:9200
in my browser, or use Postman to try and get the indices, the Windows service crashes with the following errors in the Event Viewer:
Entry 1 - Error:
Application: elasticsearch.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: Elastic.ProcessHosts.Process.StartupException at Elastic.ProcessHosts.Process.ProcessBase.HandleException(System.Exception) at System.Reactive.ObserverBase
1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnError(System.Exception) at System.Reactive.Observer
1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnError(System.Exception) at System.Reactive.Linq.ObservableImpl.AsObservable1+_[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnError(System.Exception) at System.Reactive.AutoDetachObserver
1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnErrorCore(System.Exception) at System.Reactive.ObserverBase1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnError(System.Exception) at Elastic.ProcessHosts.Process.ObservableProcess+<>c__DisplayClass22_0.<CreateProcessExitSubscription>b__0(System.Reactive.EventPattern
1) at System.Reactive.AnonymousSafeObserver`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnNext(System.__Canon) at System.EventHandler.Invoke(System.Object, System.EventArgs) at System.Diagnostics.Process.OnExited() at System.Diagnostics.Process.RaiseOnExited() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)
Entry 2 - Information:
Service started successfully.
Entry 3 - Error:
Faulting application name: elasticsearch.exe, version: 6.6.2.0, time stamp: 0x5c7ff1f7 Faulting module name: KERNELBASE.dll, version: 10.0.17763.292, time stamp: 0xb51bba8e Exception code: 0xe0434352 Fault offset: 0x0000000000055549 Faulting process id: 0x1a14 Faulting application start time: 0x01d4e47c584ce367 Faulting application path: C:\Program Files\Elastic\Elasticsearch\6.6.2\bin\elasticsearch.exe Faulting module path: C:\Windows\System32\KERNELBASE.dll Report Id: 4e6eeff8-09b8-41c2-b448-0593d03a2b42 Faulting package full name: Faulting package-relative application ID:
I do not know what I may be missing as there are no other steps in the installation process (https://www.elastic.co/guide/en/elasticsearch/reference/current/windows.html) and navigating to localhost:9200
on another server that has Elasticsearch installed (this was already installed when I started working on the system) brings back the data that it should.
User contributions licensed under CC BY-SA 3.0