Issue with strating Elastic Search on Ples Onyx with CentOS 7


I am struggling to get things working on my Plesk server. I have succesfully installed Elasticsearch and see this error in te log:

[2020-08-04T19:38:31,728][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [] fatal error in thread [elasticsearch[][scheduler][T#1]], exiting
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
        at org.elasticsearch.systemd.Libsystemd.lambda$static$0( ~[?:?]
        at ~[?:?]
        at org.elasticsearch.systemd.Libsystemd.<clinit>( ~[?:?]
        at org.elasticsearch.systemd.SystemdPlugin.sd_notify( ~[?:?]
        at org.elasticsearch.systemd.SystemdPlugin.lambda$createComponents$0( ~[?:?]
        at org.elasticsearch.threadpool.Scheduler$ReschedulingRunnable.doRun( ~[elasticsearch-7.8.1.jar:7.8.1]
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun( ~[elasticsearch-7.8.1.jar:7.8.1]
        at ~[elasticsearch-7.8.1.jar:7.8.1]
        at java.util.concurrent.Executors$ ~[?:?]
        at ~[?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker( ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$ ~[?:?]
        at [?:?]

How did you install Elasticsearch? Did you follow the instructions available here? What is the specification of the host?

Hi, I just 5 minutes ago fixed things. I followed this Elasticsearch could not find Java and now won't start

But thanks for the answer.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.