My Oracle Support Banner

E-ES: Unable To Start Elastic Search As Service In Windows. Fails With "Windows could not start Elasticsearch 2.3.2(elasticsearch-service-x64) on Local computer" (Doc ID 2416095.1)

Last updated on JULY 16, 2018

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.56 and later
Information in this document applies to any platform.

Symptoms

When attempting to start Elasticsearch service on windows, it fails. However, navigating to ES_HOME/bin folder and running 'elasticsearch.bat' starts the search server without any issues. Following are the errors observed when trying to start ES as a service: 

Error from services window
---------------------------------
Windows could not start Elasticsearch 2.3.2(elasticsearch-service-x64) on Local computer. For more information review the System Event log. If this is non-Microsoft service, contact the service vendor, and refer to service specific error code 1.

System Windows log shows this error:
---------------------------------------
Elasticsearch service terminated with the following service-specific error: Incorrect Function

elasticsearch-service-x64-stderr.log
-----------------------------------------
Commons Daemon procrun stderr initialized
Exception in thread "main" tion: path.home is not configured
at org.elasticsearch.env.Environment.<init>(Environment.java:101)
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:81)
at org.elasticsearch.common.cli.CliTool.<init>(CliTool.java:107)
at org.elasticsearch.common.cli.CliTool.<init>(CliTool.java:100)
at org.elasticsearch.bootstrap.BootstrapCLIParser.<init>(BootstrapCLIParser.java:48)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:226)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Refer to the log for complete error details.

In addition, it was observed that there is additional information logged into this file with the following error when tried to start elasticsearch using 'service.bat start' command:

The data area passed to a system call is too small

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.