Just to let you know that if you are using the service wrapper and
running elasticsearch as a non-root user, eg using the instructions on
then you need to make a change to your user.
The new version of the service wrapper now requires your elasticsearch
user to have a shell specified.
Previously, the tutorial above said to create your user as:
useradd -d $ES_HOME elasticsearch
This creates the user with the shell set to /bin/false.
I've now changed this to:
useradd -d $ES_HOME -s /bin/sh elasticsearch
You can change this for an existing user with:
usermod -s /bin/bash elasticsearch