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 MARCH 30, 2021

Applies to:

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


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

Commons Daemon procrun stderr initialized
Exception in thread "main" tion: path.home is not configured
at org.elasticsearch.env.Environment.<init>(
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareEnvironment(
at org.elasticsearch.common.cli.CliTool.<init>(
at org.elasticsearch.common.cli.CliTool.<init>(
at org.elasticsearch.bootstrap.BootstrapCLIParser.<init>(
at org.elasticsearch.bootstrap.Bootstrap.init(
at org.elasticsearch.bootstrap.Elasticsearch.main(
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




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

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