Unable to load JNA native support library Elasticsearch 6.x

后端 未结 7 1400
不知归路
不知归路 2020-12-16 02:22

I have installed Elasticsearch 6.x in my Debian 7 (wheezy). I tried to start with service elasticsearch start but its give me an error message

7条回答
  •  失恋的感觉
    2020-12-16 03:18

    On Ubuntu 18.04, the solution was

    sudo systemctl edit --full elasticsearch.service

    adding a line

    Environment=ES_JAVA_OPTS="-Djava.io.tmpdir=/var/lib/elasticsearch/tmp"

    exitting with -x as in vi

    restarting the service

    sudo systemctl restart elasticsearch.service

提交回复
热议问题