Failed to link the C library against JNA


Got issue when trying to install Cassandra in 2 data centers.
The 3 cassandra nodes installed in 1 data center can start successfully but the other 3 cassandra nodes installed in 2nd data center fail to start (using the same installer package).
The error from log is below. Please help.

ERROR [main] 2022-01-11 15:22:49,265 - Failed to link the C library against JNA. Native methods will be unavailable.
java.lang.UnsatisfiedLinkError: /tmp/jna7353832167012028621.tmp: /tmp/jna7353832167012028621.tmp: failed to map segment from shared object
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.load0(
at java.lang.System.load(
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(
at com.sun.jna.Native.loadNativeDispatchLibrary(
at com.sun.jna.Native.(
at com.sun.jna.NativeLibrary.(
at org.apache.cassandra.utils.NativeLibraryLinux.(
at org.apache.cassandra.utils.NativeLibrary.(
at org.apache.cassandra.service.CassandraDaemon.setup(
at org.apache.cassandra.service.CassandraDaemon.activate(
at org.apache.cassandra.service.CassandraDaemon.main(
DEBUG [main] 2022-01-11 15:22:49,286 - Will update the commitlog markers every 100ms and flush every 10000ms
INFO [main] 2022-01-11 15:22:49,314 - Scheduling approximate time conversion task with an interval of 10000 milliseconds
INFO [main] 2022-01-11 15:22:49,315 - Scheduling approximate time-check task with a precision of 2 milliseconds
WARN [main] 2022-01-11 15:22:49,316 - jemalloc shared library could not be preloaded to speed up memory allocations
WARN [main] 2022-01-11 15:22:49,318 - lz4-java was unable to load native libraries; this will lower the performance of lz4 (network/sstables/etc.): Could not initialize class net.jpountz.lz4.LZ4JNI
WARN [main] 2022-01-11 15:22:49,318 - JMX is not enabled to receive remote connections. Please see for more info.
ERROR [main] 2022-01-11 15:22:49,318 - The native library could not be initialized properly.

Does the /var/lib/cassandra/tmp directory exist, has proper read/write settings? Might also be worth to try to set path to this dir in JVM_OPTS