ES runs on RHEL/Centos 6.
What exact RHEL/Centos 6 is this? Find out with command
cat /etc/redhat-release
What Java JVM do you use?
What file system do you have ES installed on? It must have permission to
execute binaries.
Also you can run this little Java program to find the reason:
Save this as file with name LoadNativeC.java
import com.sun.jna.Native;
public class LoadNativeC {
public static void main(String[] argv) {
try {
Native.register("c");
} catch (Throwable t) {
t.printStackTrace();
}
}
}
Then compile and run with
javac -classpath $ES_HOME/lib/jna-4.1.0.jar LoadNativeC.java
java -classpath $ES_HOME/lib/jna-4.1.0.jar:. LoadNativeC
Jörg
On Thu, Jun 26, 2014 at 12:28 AM, dup90011 <[email protected]> wrote:
>
>
> Centos 6(64)
>
> Tried to start elasticsearch with mlockall. Started, but mlockall : false
>
> Log file message:
>
> [2014 ...,144][WARN ][common.jna] unable to link C library. native methods
> (mlockall) will be disabled.
>
> File jna-4.1.0.jar here: /usr/share/elasticsearch/lib/jna-4.1.0.jar
>
> Any help?
>
>
>
>
> --
> View this message in context:
> http://elasticsearch-users.115913.n3.nabble.com/unable-to-link-C-library-native-methods-mlockall-will-be-disabled-tp4058617.html
> Sent from the ElasticSearch Users mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/1403735289211-4058617.post%40n3.nabble.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoG-NNA-xSpxbXnwL%2ByCjFSje5%2Bi9w9pynQSTxs6G4rSTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.