Elasticsearch Service 7.4/7.3 wont start

Fresh install on Windows Server 2016, Java jre-8u211x64. The install completes perfectly fine, but when i attempt to start the "Elasticsearch" service it looks like it is starting then stops.

Below are the event logs of the service attempting to start:

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.ObserverBase1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].OnError(System.Exception) at System.Reactive.Observer1[[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.AutoDetachObserver1[[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.EventPattern1<System.Object>)
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)

Then:

Faulting application name: elasticsearch.exe, version: 7.3.0.0, time stamp: 0x5d38bb7f
Faulting module name: KERNELBASE.dll, version: 10.0.14393.3269, time stamp: 0x5d9133fb
Exception code: 0xe0434352
Fault offset: 0x0000000000034c48
Faulting process id: 0x1490
Faulting application start time: 0x01d57ea84b830e15
Faulting application path: C:\Program Files\Elastic\Elasticsearch\7.3.0\bin\elasticsearch.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: d23e5aba-f4e5-4c56-8a59-5fd0154f9e98
Faulting package full name:
Faulting package-relative application ID:

Any help would be greatly appriciated.

Thanks, Mike

Would you be able to show what's in the elasticsearch logs, by default at %ALLUSERSPROFILE%\Elastic\Elasticsearch\logs\<cluster name>.log, where <cluster name> is the name of the Elasticsearch cluster.

I was able to get the services started, during the MSI install i was putting in the IP address of the server and this was causing the issue. When i left the IP address field blank during the installation the service was able to start.

Thanks,
Mike

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.