Elasticsearch v7.6.2 Failed to Start, Killed by SIGABRT on RHEL 7.7 - [URGENT]

Hi
If you are applying a security compliance in your RHEL installation you must change the path of the TMP directory that will use elasticsearch as Java.

Uncomment at /etc/elasticsearch/jvm.options
-Djava.io.tmpdir=${ES_TMPDIR}

Add in /etc /sysconfig/elasticsearch
ES_TMPDIR=/usr/share/elasticsearch/tmp

Create the /usr/share/elasticsearch/tmp directory and make sure that the owner and group are elasticsearch and the permissions are 0755

Lastly make sure that /dev/shm doesn't have the noexec attribute with command:
mount | grep tmpfs | grep '/dev/shm'
Expected result:
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)

If you get output like these:
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,seclabel)
Add or modify in /etc/fstab the following line:
tmpfs /dev/shm tmpfs defaults,nodev,nosuid 0 0

I had the same problem and this worked for me. Hope i can help you

4 Likes