You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2020/11/12 08:23:00 UTC

[jira] [Updated] (CASSANDRA-14396) Error about JNA on Startup

     [ https://issues.apache.org/jira/browse/CASSANDRA-14396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Semb Wever updated CASSANDRA-14396:
-------------------------------------------
    Resolution: Cannot Reproduce
        Status: Resolved  (was: Open)

Closing out, as explained by [~jasobrown].

If more information can be provided that illustrates this is a Cassandra fault rather than a system-level configuration/installation problem, that would help.

> Error about JNA on Startup 
> ---------------------------
>
>                 Key: CASSANDRA-14396
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14396
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Build, Legacy/Core, Local/Config, Local/Startup and Shutdown
>         Environment:  
>  * CentOS release 6.8
>  * Cassandra 3.11.2
>  * Java 1.8.0_152
>  * No provide network
>  
>            Reporter: Joe
>            Priority: Normal
>             Fix For: 3.11.x
>
>         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
(v8.3.4#803005)

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