elasticsearch service fails to start after installation -


i installed elastic search using deb package here. service fails start , throws below error. how can fix this?

    $ sudo service elasticsearch restart   * stopping elasticsearch server      [ ok ]   * starting elasticsearch server   chown: invalid group: `elasticsearch:elasticsearch'   chown: invalid group: `elasticsearch:elasticsearch'    [fail] 

maybe don't have user/group set in system:

for security reasons, running server unprivileged user , group encouraged. create user , group elasticsearch:

groupadd elasticsearch

useradd -s /sbin/nologin -d /usr/local/elasticsearch -c "elasticsearch user"


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -