Unable to start ES after upgrade to version 5.0 under Debian OS


(Tal Bar Or) #1

Hi All,
I just upgraded to version 5, when i am trying to start ES i don't have any indication but when i trying to get status i get following below error , in addition under "/var/log/elasticsearch" , i don't have any log
Any idea ?
please advise
Thanks
> ● elasticsearch.service - Elasticsearch

       Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled)
       Active: failed (Result: exit-code) since Thu 2016-10-27 13:24:47 IDT; 2s ago
         Docs: http://www.elastic.co
      Process: 33686 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${L                     OG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
      Process: 33683 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
     Main PID: 33686 (code=exited, status=1/FAILURE)
    Oct 27 13:24:47 dlt-srv-siem01 elasticsearch[33686]: at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    Oct 27 13:24:47 dlt-srv-siem01 elasticsearch[33686]: at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    Oct 27 13:24:47 dlt-srv-siem01 elasticsearch[33686]: at java.security.AccessController.doPrivileged(Native Method)
    Oct 27 13:24:47 dlt-srv-siem01 elasticsearch[33686]: at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    Oct 27 13:24:47 dlt-srv-siem01 elasticsearch[33686]: at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    Oct 27 13:24:47 dlt-srv-siem01 elasticsearch[33686]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    Oct 27 13:24:47 dlt-srv-siem01 elasticsearch[33686]: at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    Oct 27 13:24:47 dlt-srv-siem01 elasticsearch[33686]: at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
    Oct 27 13:24:47 dlt-srv-siem01 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
    Oct 27 13:24:47 dlt-srv-siem01 systemd[1]: Unit elasticsearch.service entered failed state.

(Xavier Facq) #2

Hi,

Do you have more errors in /var/log/syslog ?

tail -200 /var/log/syslog

bye,
Xavier


(Tal Bar Or) #3

issue solved just updated Java version
Thanks


(system) #4