Hi,
I've recently upgraded an Elasticsearch node from 5.4.3 to 5.5 using the windows msi but unfortunately the service will not start. The service manager returns an error stating that the application terminated unexpectedly, and in eventviewer I see the following error from .NET runtime:
Application: elasticsearch.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Elastic.ProcessHosts.Process.StartupException
Stack:
at Elastic.ProcessHosts.Process.ProcessBase.HandleException(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.AsObservable
1+_[[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 Elastic.ProcessHosts.Process.ObservableProcess+<>c__DisplayClass22_0.<CreateProcessExitSubscription>b__0(System.Reactive.EventPattern
1<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.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)
If I attempt to run elasticsearch.exe manually from a command prompt, it returns the error "Unhandled exception: ", and the above log appears in the event viewer.
I also get a report.wer file generated:
Version=1
EventType=CLR20r3
EventTime=131441505567291907
ReportType=2
Consent=1
ReportIdentifier=959b2005-654d-11e7-80d2-00505687b7b7
IntegratorReportIdentifier=959b2004-654d-11e7-80d2-00505687b7b7
NsAppName=elasticsearch.exe
Response.type=4
Sig[0].Name=Problem Signature 01
Sig[0].Value=elasticsearch.exe
Sig[1].Name=Problem Signature 02
Sig[1].Value=5.5.0.0
Sig[2].Name=Problem Signature 03
Sig[2].Value=5956e851
Sig[3].Name=Problem Signature 04
Sig[3].Value=Elastic.ProcessHosts
Sig[4].Name=Problem Signature 05
Sig[4].Value=1.0.0.0
Sig[5].Name=Problem Signature 06
Sig[5].Value=5956e850
Sig[6].Name=Problem Signature 07
Sig[6].Value=57
Sig[7].Name=Problem Signature 08
Sig[7].Value=24
Sig[8].Name=Problem Signature 09
Sig[8].Value=4CY0JEX2JKCFD2IPWRSCWFYWSHBZ0QKL
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.3.9600.2.0.0.272.7
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=2057
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=490f
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=490f32290e491737d5a1b537ac6fa48f
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=f4f2
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=f4f2b51e08961ca8decad8fbcc0511cd
UI[2]=C:\elasticsearch-5.5\bin\elasticsearch.exe
UI[5]=Check online for a solution (recommended)
UI[6]=Check for a solution later (recommended)
UI[7]=Close
UI[8]=Elasticsearch, you know for search! stopped working and was closed
UI[9]=A problem caused the application to stop working correctly. Windows will notify you if a solution is available.
UI[10]=&Close
LoadedModule[0]=C:\elasticsearch-5.5\bin\elasticsearch.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL
LoadedModule[3]=C:\Windows\system32\KERNEL32.dll
LoadedModule[4]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[5]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[6]=C:\Windows\system32\msvcrt.dll
LoadedModule[7]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[8]=C:\Windows\system32\RPCRT4.dll
LoadedModule[9]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
LoadedModule[10]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[11]=C:\Windows\SYSTEM32\combase.dll
LoadedModule[12]=C:\Windows\system32\USER32.dll
LoadedModule[13]=C:\Windows\system32\GDI32.dll
LoadedModule[14]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
LoadedModule[15]=C:\Windows\SYSTEM32\MSVCR120_CLR0400.dll
LoadedModule[16]=C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\a20cafac04a2e9b3bcb5ec4d674775e5\mscorlib.ni.dll
LoadedModule[17]=C:\Windows\system32\ole32.dll
LoadedModule[18]=C:\Windows\SYSTEM32\kernel.appcore.dll
LoadedModule[19]=C:\Windows\SYSTEM32\CRYPTBASE.dll
LoadedModule[20]=C:\Windows\SYSTEM32\bcryptPrimitives.dll
LoadedModule[21]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll
LoadedModule[22]=C:\Windows\system32\OLEAUT32.dll
LoadedModule[23]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System\6d840e78f9d7168f448d9153f773f5bf\System.ni.dll
LoadedModule[24]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Serv759bfb78#\eec0e0fd7e16b342f2368f29450aa892\System.ServiceProcess.ni.dll
LoadedModule[25]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\4ed1137a5fca2b4c293bbc6e37565fa4\System.Core.ni.dll
LoadedModule[26]=C:\Windows\SYSTEM32\CRYPTSP.dll
LoadedModule[27]=C:\Windows\system32\rsaenh.dll
LoadedModule[28]=C:\Windows\SYSTEM32\bcrypt.dll
LoadedModule[29]=C:\Windows\system32\apphelp.dll
LoadedModule[30]=C:\Windows\SYSTEM32\clbcatq.dll
LoadedModule[31]=C:\Windows\SYSTEM32\VERSION.dll
LoadedModule[32]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll
FriendlyEventName=Stopped working
ConsentKey=CLR20r3
AppName=Elasticsearch, you know for search!
AppPath=C:\elasticsearch-5.5\bin\elasticsearch.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=2618AD7BF2C2408EB08FF4399DAAE489
Does anyone have any idea how to resolve this?
Thanks