cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14396) Error about JNA on Startup
Date Wed, 18 Apr 2018 05:09:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-14396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441913#comment-16441913
] 

Joe commented on CASSANDRA-14396:
---------------------------------

[~jasobrown] 

I already gave all permissions to tmp folder but not working. even removed folder and ran.

thank you for ur reply :)

> Error about JNA on Startup 
> ---------------------------
>
>                 Key: CASSANDRA-14396
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14396
>             Project: Cassandra
>          Issue Type: Test
>          Components: Build, Configuration, Core, Lifecycle
>         Environment:  
>  * CentOS release 6.8
>  * Cassandra 3.11.2
>  * Java 1.8.0_152
>  * No provide network
>  
>            Reporter: Joe
>            Priority: Major
>             Fix For: 3.11.2
>
>         Attachments: cassandra.log
>
>
>  
> 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?(I attached full logging file)
>  
> ERROR [main] 2018-04-18 10:44:59,536 NativeLibraryLinux.java:62 - 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(ClassLoader.java:1941) ~[na:1.8.0_152]
>  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[na:1.8.0_152]
>  at java.lang.Runtime.load0(Runtime.java:809) ~[na:1.8.0_152]
>  at java.lang.System.load(System.java:1086) ~[na:1.8.0_152]
>  at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:851) ~[jna-4.2.2.jar:4.2.2
(b0)]
>  at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:826) ~[jna-4.2.2.jar:4.2.2
(b0)]
>  at com.sun.jna.Native.<clinit>(Native.java:140) ~[jna-4.2.2.jar:4.2.2 (b0)]
>  at org.apache.cassandra.utils.NativeLibraryLinux.<clinit>(NativeLibraryLinux.java:53)
~[apache-cassandra-3.11.2.jar:3.11.2]
>  at org.apache.cassandra.utils.NativeLibrary.<clinit>(NativeLibrary.java:93) [apache-cassandra-3.11.2.jar:3.11.2]
>  at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:196) [apache-cassandra-3.11.2.jar:3.11.2]
>  at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:602) [apache-cassandra-3.11.2.jar:3.11.2]
>  at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691) [apache-cassandra-3.11.2.jar:3.11.2]
>  WARN [main] 2018-04-18 10:44:59,537 StartupChecks.java:136 - jemalloc shared library
could not be preloaded to speed up memory allocations
>  WARN [main] 2018-04-18 10:44:59,537 StartupChecks.java:169 - JMX is not enabled to receive
remote connections. Please see cassandra-env.sh for more info.
>  ERROR [main] 2018-04-18 10:44:59,539 CassandraDaemon.java:708 - The native library could
not be initialized properly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message