Elastic service stopped automatically

Faulting application name: Elasticsearch.exe, version: 7.10.1.0, time stamp: 0x5fcb0351
Faulting module name: KERNELBASE.dll, version: 10.0.14393.4770, time stamp: 0x6180883c
Exception code: 0xe0434352
Fault offset: 0x0000000000034f38
Faulting process id: 0x2350
Faulting application start time: 0x01d7fd55227856a4
Faulting application path: C:\Program Files\Elastic\Elasticsearch\7.10.1\bin\Elasticsearch.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 005e5c28-73ba-43ac-995e-ba3b8d4cd351
Faulting package full name:
Faulting package-relative application ID:

Have you tried to start Elasticsearch manually using:
elasticsearch.exe --debug-env
And share the result? The error from the event log does not show the reason. Is there anything else interesting?
You might try to start ES manually by
C:\Program Files\Elastic\Elasticsearch\7.10.1\bin\Elasticsearch.exe
But if this starts up correctly, you must not kill or abort the process until it is up and running. If you stop the manual startup, this can result in corrupted shards.

Welcome to our community! :smiley:

Posting what appears to be part of a log doesn't let us help you. You've given no indication on when this happens. What version you are using. The config. The actual Elasticsearch logs.

Without adding more information and context you are unlikely to get any help.

Elasticsearch

ES_HOME (in order of precedence)

  • HomeDirectoryProcessVariable = C:\Program Files\Elastic\Elasticsearch\
  • HomeDirectoryUserVariable =
  • HomeDirectoryMachineVariable = C:\Program Files\Elastic\Elasticsearch\
  • From executable location = C:\Program Files\Elastic\Elasticsearch
    ES_CONFIG (in order of precedence)
  • ConfigDirectoryProcessVariable = C:\ProgramData\Elastic\Elasticsearch\config
  • ConfigDirectoryUserVariable =
  • ConfigDirectoryMachineVariable = C:\ProgramData\Elastic\Elasticsearch\config
  • Fallback to ES_HOME = C:\Program Files\Elastic\Elasticsearch\config

Java

Java paths

  • current = C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe
    Java Candidates (in order of precedence)
  • JavaHomeProcessVariable = C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\
  • JavaHomeUserVariable =
  • JavaHomeMachineVariable = C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\
  • JdkRegistry64 = C:\Program Files\Java\jdk1.8.0_144
  • JreRegistry64 = C:\Program Files\Java\jre1.8.0_144
  • JdkRegistry32 =
  • JreRegistry32 =
    Java checks
  • Using32BitJava = False
  • JAVA_HOME as machine and user variable = False

Hi thanks for your concern

Elasticsearch

ES_HOME (in order of precedence)

  • HomeDirectoryProcessVariable = C:\Program Files\Elastic\Elasticsearch\
  • HomeDirectoryUserVariable =
  • HomeDirectoryMachineVariable = C:\Program Files\Elastic\Elasticsearch\
  • From executable location = C:\Program Files\Elastic\Elasticsearch
    ES_CONFIG (in order of precedence)
  • ConfigDirectoryProcessVariable = C:\ProgramData\Elastic\Elasticsearch\config
  • ConfigDirectoryUserVariable =
  • ConfigDirectoryMachineVariable = C:\ProgramData\Elastic\Elasticsearch\config
  • Fallback to ES_HOME = C:\Program Files\Elastic\Elasticsearch\config

Java

Java paths

  • current = C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe
    Java Candidates (in order of precedence)
  • JavaHomeProcessVariable = C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\
  • JavaHomeUserVariable =
  • JavaHomeMachineVariable = C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\
  • JdkRegistry64 = C:\Program Files\Java\jdk1.8.0_144
  • JreRegistry64 = C:\Program Files\Java\jre1.8.0_144
  • JdkRegistry32 =
  • JreRegistry32 =
    Java checks
  • Using32BitJava = False
  • JAVA_HOME as machine and user variable = False

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