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
Check the permissions on your /tmp/ directory. It must have had noexec.
/tmp needs exec to support JNA. A workaround is to specify a tmp directory in elasticsearch sysconfig file.
Something like export JAVA_OPTS="-Djava.io.tmpdir=$ES_HOME/tmp"
Make sure there is a $ES_HOME/tmp directory and elasticsearch user has write permissions to it.
I had this issue as I was using a hardened OS and also because the default umask is 0027.