cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Jirsa (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-13791) unable to install apache-cassandra-3.11.0 in linux box
Date Thu, 24 Aug 2017 05:54:00 GMT

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

Jeff Jirsa resolved CASSANDRA-13791.
------------------------------------
    Resolution: Duplicate

This was caused (and resolved) by CASSANDRA-13072 , where JNA was upgraded to {{4.4.0}}. That
4.4.0 JNA library was linked against a different version of glibc ( {{GLIBC_2.14}} ), which
causes this error. This is fixed in {{3.11.1}}, but you can work around the issue by downloading
the 4.2.2 JNA jar from [here|https://github.com/apache/cassandra/raw/00a777ec8ab701b843172e23a6cbdc4d6cf48f8d/lib/jna-4.2.2.jar]
and placing it into the classpath ({{lib/}}), removing {{jna-4.4.0.jar}} in the process.


> unable to install apache-cassandra-3.11.0 in linux  box
> -------------------------------------------------------
>
>                 Key: CASSANDRA-13791
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13791
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Configuration
>         Environment: Linux
>            Reporter: rajasekhar
>            Priority: Critical
>             Fix For: 3.11.0
>
>         Attachments: log_cassdb.txt
>
>
> While  installing the Cassandra in linux serverr,  I am getting below error . could you
please look int it and provide suggestions. PFA atttached log for more information.
> [cassdb@alsc_dev_db bin]$ sh /u01/Cassandra_home/apache-cassandra-3.11.0/bin/cassandra
> Error:
> ERROR [main] 2017-08-23 09:48:21,467 NativeLibraryLinux.java:62 - Failed to link the
C library against JNA. Native methods will be unavailable.
> java.lang.UnsatisfiedLinkError: /tmp/jna--1367560132/jna4859101025087222330.tmp: /lib64/libc.so.6:
version `GLIBC_2.14' not found (required by /tmp/jna--1367560132/jna4859101025087222330.tmp)
>         at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[na:1.8.0_71]
>         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938) ~[na:1.8.0_71]
>        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821) ~[na:1.8.0_71]
>         at java.lang.Runtime.load0(Runtime.java:809) ~[na:1.8.0_71]
>         at java.lang.System.load(System.java:1086) ~[na:1.8.0_71]
>         at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:947)
~[jna-4.4.0.jar:4.4.0 (b0)]
>         at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922) ~[jna-4.4.0.jar:4.4.0
(b0)]
>         at com.sun.jna.Native.<clinit>(Native.java:190) ~[jna-4.4.0.jar:4.4.0 (b0)]
>         at org.apache.cassandra.utils.NativeLibraryLinux.<clinit>(NativeLibraryLinux.java:53)
~[apache-cassandra-3.11.0.jar:3.11.0]
>         at org.apache.cassandra.utils.NativeLibrary.<clinit>(NativeLibrary.java:93)
[apache-cassandra-3.11.0.jar:3.11.0]
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:196)
[apache-cassandra-3.11.0.jar:3.11.0]
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:600)
[apache-cassandra-3.11.0.jar:3.11.0]
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:689)
[apache-cassandra-3.11.0.jar:3.11.0]
> WARN  [main] 2017-08-23 09:48:21,468 StartupChecks.java:127 - jemalloc shared library
could not be preloaded to speed up memory allocations
> WARN  [main] 2017-08-23 09:48:21,469 StartupChecks.java:160 - JMX is not enabled to receive
remote connections. Please see cassandra-env.sh for more info.
> ERROR [main] 2017-08-23 09:48:21,470 CassandraDaemon.java:706 - The native library could
not be initialized properly



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message