Troubleshooting
Problem
JNA fails to initialize
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.logThe 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.
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.
Last Reviewed Date: 2023/12/12
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCR56","label":"IBM DataStax Enterprise"},"ARM Category":[{"code":"","label":""}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]
Historical Number
ka0Ui00000009uXIAQ
Was this topic helpful?
Document Information
Modified date:
30 January 2026
UID
ibm17258775