Failed to link the C library against JNA

Hi,

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 NativeLibraryLinux.java:64 - 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(ClassLoader.java:1946)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1828)
at java.lang.Runtime.load0(Runtime.java:810)
at java.lang.System.load(System.java:1088)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1018)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988)
at com.sun.jna.Native.(Native.java:195)
at com.sun.jna.NativeLibrary.(NativeLibrary.java:87)
at org.apache.cassandra.utils.NativeLibraryLinux.(NativeLibraryLinux.java:55)
at org.apache.cassandra.utils.NativeLibrary.(NativeLibrary.java:103)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:258)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:763)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:887)
DEBUG [main] 2022-01-11 15:22:49,286 AbstractCommitLogService.java:117 - Will update the commitlog markers every 100ms and flush every 10000ms
INFO [main] 2022-01-11 15:22:49,314 MonotonicClock.java:199 - Scheduling approximate time conversion task with an interval of 10000 milliseconds
INFO [main] 2022-01-11 15:22:49,315 MonotonicClock.java:335 - Scheduling approximate time-check task with a precision of 2 milliseconds
WARN [main] 2022-01-11 15:22:49,316 StartupChecks.java:143 - jemalloc shared library could not be preloaded to speed up memory allocations
WARN [main] 2022-01-11 15:22:49,318 StartupChecks.java:158 - 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 StartupChecks.java:187 - JMX is not enabled to receive remote connections. Please see cassandra-env.sh for more info.
ERROR [main] 2022-01-11 15:22:49,318 CassandraDaemon.java:909 - 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
-Djava.io.tmpdir=/var/lib/cassandra/tmp