cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-14396) Error about JNA on Startup
Date Wed, 18 Apr 2018 03:14:00 GMT
Joe created CASSANDRA-14396:

             Summary: Error about JNA on Startup 
                 Key: CASSANDRA-14396
             Project: Cassandra
          Issue Type: Test
          Components: Build, Configuration, Core, Lifecycle
 * CentOS release 6.8
 * Cassandra 3.11.2
 * Java 1.8.0_152
 * No provide network

            Reporter: Joe
             Fix For: 3.11.2


Hi, all.

I got some error on startup.

this is my own backup server which can't use network.

I just extracted 'apache-cassandra-3.11.2-bin.tar.gz' file to /usr/local/cassandra.

and then ran like this 'cassandra -f'.

but log displayed below's error.


I found some way to solve. but it's not working.

after JNA library download, make JNA library symbolic link - not working

can anyone advise to me about this issue?


ERROR [main] 2018-04-18 10:44:59,536 - Failed to link the C library
against JNA. Native methods will be unavailable.
java.lang.UnsatisfiedLinkError: /tmp/jna-3506402/jna5682737284440877593.tmp: /tmp/jna-3506402/jna5682737284440877593.tmp:
failed to map segment from shared object: Operation not permitted
 at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.8.0_152]
 at java.lang.ClassLoader.loadLibrary0( ~[na:1.8.0_152]
 at java.lang.ClassLoader.loadLibrary( ~[na:1.8.0_152]
 at java.lang.Runtime.load0( ~[na:1.8.0_152]
 at java.lang.System.load( ~[na:1.8.0_152]
 at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath( ~[jna-4.2.2.jar:4.2.2
 at com.sun.jna.Native.loadNativeDispatchLibrary( ~[jna-4.2.2.jar:4.2.2 (b0)]
 at com.sun.jna.Native.<clinit>( ~[jna-4.2.2.jar:4.2.2 (b0)]
 at org.apache.cassandra.utils.NativeLibraryLinux.<clinit>(
 at org.apache.cassandra.utils.NativeLibrary.<clinit>( [apache-cassandra-3.11.2.jar:3.11.2]
 at org.apache.cassandra.service.CassandraDaemon.setup( [apache-cassandra-3.11.2.jar:3.11.2]
 at org.apache.cassandra.service.CassandraDaemon.activate( [apache-cassandra-3.11.2.jar:3.11.2]
 at org.apache.cassandra.service.CassandraDaemon.main( [apache-cassandra-3.11.2.jar:3.11.2]
WARN [main] 2018-04-18 10:44:59,537 - jemalloc shared library could
not be preloaded to speed up memory allocations
WARN [main] 2018-04-18 10:44:59,537 - JMX is not enabled to receive
remote connections. Please see for more info.
ERROR [main] 2018-04-18 10:44:59,539 - The native library could not
be initialized properly.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message