I've run into this problem because my /tmp is mounted as noexec.
Worked around this using these java opts: 
"-Djna.tmpdir=/usr/share/elasticsearch/tmp 
-Djava.io.tmpdir=/usr/share/elasticsearch/tmp"

Cheers


On Wednesday, June 25, 2014 7:28:17 PM UTC-3, dup90011 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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/d61f0dfb-0756-446a-8105-eb060fb7e5be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to