Skip to content

Elastic Service does not start. #18001

@AlexKovynev

Description

@AlexKovynev

ES 2.3.1
JDK 1.8.0.91
Windows 10

C:\elasticsearch-2.3.1\bin>service.bat install
Installing service : "elasticsearch-service-x64"
Using JAVA_HOME (64-bit): "C:\Program Files\Java\jdk1.8.0_91"
The service 'elasticsearch-service-x64' has been installed.

C:\elasticsearch-2.3.1\bin>service.bat start
Failed starting 'elasticsearch-service-x64' service

Service start failed

[2016-04-27 06:57:42] [info] [1680] Starting service ...
[2016-04-27 06:57:42] [error] [1680] Failed creating java %JAVA_HOME%\jre\bin\server\jvm.dll
[2016-04-27 06:57:42] [error] [1680] The system can not find the path specified.
[2016-04-27 06:57:42] [error] [1680] ServiceStart returned 1
[2016-04-27 06:57:42] [error] [1680] The system can not find the path specified.
[2016-04-27 06:57:42] [info] [3540] Run service finished.
[2016-04-27 06:57:42] [info] [3540] Commons Daemon procrun finished
[2016-04-27 06:57:44] [error] [3896] Failed to start 'elasticsearch-service-x64' service
[2016-04-27 06:57:44] [error] [3896] The data area passed to a system call is too small.
[2016-04-27 06:57:44] [info] [3896] Start service finished.
[2016-04-27 06:57:44] [error] [3896] Commons Daemon procrun failed with exit value: 5 (Failed to start service)
[2016-04-27 06:57:44] [error] [3896] The data area passed to a system call is too small.

All fine if i change HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\elasticsearch-service-x64\Parameters\Java\Jvm from %JAVA_HOME%\jre\bin\server\jvm.dll to C:\Program Files\Java\jdk1.8.0_91\jre\bin\server\jvm.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions