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

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -