Gianluca Ghettini
Gianluca Ghettini

Reputation: 11628

Error while installing Elasticsearch 5.6.4 as a Windows service

This is ridiculous:

I downloaded the ElasticSearch 5.6.4 zip file from the official website, unzipped it into a folder and then run the command

./elasticsearch-service.bat

in both PowerShell and standard Windows console

The output is an error message:

Syntax Error

enter image description here

enter image description here

I haven't change anything, just downloaded and run it out of the box. Adding the install and servicename parameters doesn't change anything

Upvotes: 1

Views: 307

Answers (1)

briarheart
briarheart

Reputation: 2006

I've just encountered with the similar issue. Although the error message is different. It is something like

'x64).exe' is not recognized as an internal or external command

Try to run .bat without ./ prefix.

Upvotes: 1

Related Questions