1

Installing Elastic-search 7.7 service not getting started we are are getting following error

Error "the system property [es.path.conf] must be set" when starting the service registered

1 Answer 1

4

After Investigating the elastic search logs (path: c:\elasticsearch-7.7.0\logs\elasticsearch-service-x64-stderr.YYYY-MM-dd)

Error "the system property [es.path.conf] must be set" when starting the service registered

Refer to the link for the fix

Solution:

The fix provided here [#57769][2] doesn't help since the culprit is not the same variable, I had to add the line
if not "%OTHER_JAVA_OPTS%" == "" set OTHER_JAVA_OPTS=%OTHER_JAVA_OPTS:;;=;%
before calling "%EXECUTABLE%" (after line 205) to file elasticsearch-service.bat

Hope this will help if anyone face a similar issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.