JNA fails to initialize

DataStax Enterprise fails to start because JNA fails to initialize properly.

The DataStax Enterprise Help Center also provides troubleshooting information.

DataStax Enterprise fails to start because the JNA temporary directory is not available. If the tmp directory is inaccessible the following error appears in the system log:
tail -3 /var/log/cassandra/system.log
The error is similar to:
ERROR main 2015-12-18 09:57:00,879 CassandraDaemon.java:213 - JNA failing to initialize properly. Use -Dcassandra.boot_without_jna=true to bootstrap even so.
INFO Thread-2 2015-12-18 09:57:00,880 DseDaemon.java:418 - DSE shutting down...
INFO Thread-2 2015-12-18 09:57:00,881 PluginManager.java:103 - All plugins are stopped.

cassandra-env.sh

The location of the cassandra-env.sh file depends on the type of installation:
Package installations /etc/dse/cassandra/cassandra-env.sh
Tarball installations installation_location/resources/cassandra/conf/cassandra-env.sh

Procedure

Configure the database JNA temporary path to an executable directory.
In cassandra-env.sh, add the line:
JVM_OPTS="$JVM_OPTS -Djna.tmpdir=/path_to_directory"

Where path_to_directory is the absolute path to a directory to which the database user has read, write, and execute permissions.