CentOS 7.8 sunucuya Elasticsearch 7.9 kurdunuz fakat servis başlamıyor. Sorun: /tmp klasörünün sistemde noexec olarak yerleştirlmiş olması. Çözüm: ES_TMPDIR klasörünü başka bir konuma verin, her şey çalışmaya başlayacak. Gereken komutlar: Yeni bir tmp dizini oluşturun: mkdir /var/lib/elasticsearch/tmp Ardından doğru sahiplik ve izinleri atayın: chown elasticsearch:elasticsearch /var/lib/elasticsearch/tmp chmod 775 /var/lib/elasticsearch/tmp Son olarak, ES_TMPDIR ve TMPDIR satırını /etc/sysconfig/elasticsearch'e ekleyin: echo "ES_TMPDIR=/var/lib/elasticsearch/tmp" >> /etc/sysconfig/elasticsearch echo "TMPDIR=/var/lib/elasticsearch/tmp" >> /etc/sysconfig/elasticsearch Artık ES sunucusunu çalıştırabilirsiniz: systemctl start elasticsearch Sürprizbozan: Hata Kaydı Kod:Panoya kopyala unable to load JNA native support library, native methods will be disabled. java. lang. UnsatisfiedLinkError: /tmp/elasticsearch-11321975724510634029/jna4301737808016431714. tmp: /tmp/elasticsearch-11321975724510634029/jna4301737808016431714. tmp: failed to map segment from shared object: Operation not permitted at java. lang. ClassLoader$NativeLibrary. load0 at java. lang. ClassLoader$NativeLibrary. load(ClassLoader. java:2452) at java. lang. ClassLoader$NativeLibrary. loadLibrary(ClassLoader. java:2508) at java. lang. ClassLoader. loadLibrary0(ClassLoader. java:2704) at java. lang. ClassLoader. loadLibrary(ClassLoader. java:2637) at java. lang. Runtime. load0(Runtime. java:745) at java. lang. System. load(System. java:1871) at com. sun. jna. Native. loadNativeDispatchLibraryFromClasspath(Native. java:1018) at com. sun. jna. Native. loadNativeDispatchLibrary(Native. java:988) at com. sun. jna. Native.<clinit>(Native. java:195) at java. lang. Class. forName0 at java. lang. Class. forName(Class. java:340) at org. elasticsearch. bootstrap. Natives.<clinit>(Natives. java:45) at org. elasticsearch. bootstrap. Bootstrap. initializeNatives(Bootstrap. java:110) at org. elasticsearch. bootstrap. Bootstrap. setup(Bootstrap. java:178) at org. elasticsearch. bootstrap. Bootstrap. init(Bootstrap. java:393) at org. elasticsearch. bootstrap. Elasticsearch. init(Elasticsearch. java:170) at org. elasticsearch. bootstrap. Elasticsearch. execute(Elasticsearch. java:161) at org. elasticsearch. cli. EnvironmentAwareCommand. execute(EnvironmentAwareCommand. java:86) at org. elasticsearch. cli. Command. mainWithoutErrorHandling(Command. java:127) at org. elasticsearch. cli. Command. main(Command. java:90) at org. elasticsearch. bootstrap. Elasticsearch. main(Elasticsearch. java:126) at org. elasticsearch. bootstrap. Elasticsearch. main(Elasticsearch. java:92) cannot check if running as root because JNA is not available cannot install system call filter because JNA is not available cannot register console handler because JNA is not available cannot getrlimit RLIMIT_NPROC because JNA is not available cannot getrlimit RLIMIT_AS because JNA is not available cannot getrlimit RLIMIT_FSIZE because JNA is not available version , pid , build , OS , JVM JVM home JVM arguments loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module loaded module no plugins loaded using data paths, mounts ], net usable_space , net total_space , types heap size , compressed ordinary object pointers node name , node ID , cluster name controller (64 bit): Version 7.9.0 (Build 2639177a4c3ad6) Copyright 2020 Elasticsearch BV parsed roles from file using discovery type and seed hosts providers gateway. auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually initialized starting... publish_address , bound_addresses , system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk the default discovery settings are unsuitable for production use; at least one of must be configured cluster UUID no discovery configuration found, will perform best-effort cluster bootstrapping after unless existing master is discovered elected-as-master ( nodes joined) , term: 6, version: 6, delta: master node changed master node changed , term: 6, version: 6, reason: Publication publish_address , bound_addresses , started fatal error in thread , exiting java. lang. NoClassDefFoundError: Could not initialize class com. sun. jna. Native at org. elasticsearch. systemd. Libsystemd. lambda$static$0(Libsystemd. java:34) at java. security. AccessController. doPrivileged(AccessController. java:312) at org. elasticsearch. systemd. Libsystemd.<clinit>(Libsystemd. java:33) at org. elasticsearch. systemd. SystemdPlugin. sd_notify(SystemdPlugin. java:126) at org. elasticsearch. systemd. SystemdPlugin. onNodeStarted(SystemdPlugin. java:137) at java. util. ArrayList. forEach(ArrayList. java:1510) at org. elasticsearch. node. Node. start(Node. java:868) at org. elasticsearch. bootstrap. Bootstrap. start(Bootstrap. java:317) at org. elasticsearch. bootstrap. Bootstrap. init(Bootstrap. java:402) at org. elasticsearch. bootstrap. Elasticsearch. init(Elasticsearch. java:170) at org. elasticsearch. bootstrap. Elasticsearch. execute(Elasticsearch. java:161) at org. elasticsearch. cli. EnvironmentAwareCommand. execute(EnvironmentAwareCommand. java:86) at org. elasticsearch. cli. Command. mainWithoutErrorHandling(Command. java:127) at org. elasticsearch. cli. Command. main(Command. java:90) at org. elasticsearch. bootstrap. Elasticsearch. main(Elasticsearch. java:126) at org. elasticsearch. bootstrap. Elasticsearch. main(Elasticsearch. java:92)