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

Upgrade php version of xampp not success -

amazon web services - S3 and apache mod_proxy with basic authentication -

powershell - This solution contains one or more assemblies targeted for the global assembly cache -