ES 2.4.1 fail on startup

I have trouble starting ES 2.4.1 on an Ubuntu 14.04 box. ES has been installed using apt-get and is invoked by init (running as default "elasticsearch" user):

admin@LOG:/tmp$ sudo -i service elasticsearch start
 * Starting Elasticsearch Server        [fail] 

I see no addtional output on the screen other than the shown. Log files are updated but show no content:

admin@LOG:/tmp$ ls /var/log/elasticsearch/ -al
total 8
drwxr-xr-x  2 elasticsearch elasticsearch 4096 Jul 31 11:27 .
drwxrwxr-x 14 root          syslog        4096 Jul 31 11:26 ..
-rw-r--r--  1 elasticsearch elasticsearch    0 Jul 31 11:27 elasticsearch_deprecation.log
-rw-r--r--  1 elasticsearch elasticsearch    0 Jul 31 11:27 elasticsearch_index_indexing_slowlog.log
-rw-r--r--  1 elasticsearch elasticsearch    0 Jul 31 11:27 elasticsearch_index_search_slowlog.log
-rw-r--r--  1 elasticsearch elasticsearch    0 Jul 31 13:05 elasticsearch.log

The syslog shows no entries - the box has 4Gb memory and jvm.option limits has been set to "1g".

Any ideas?

Hey Morten,

if this is using the init script (I am not sure on top of my head, if 14.04 is using sysvinit, upstart or systemd), you can probably shed some more light by calling the init script manually and add set -x in there, or by checking journalctl if there is any more information in the systemd logs, if that one is being used.


Hello Alexander, thanks for getting back.

Actually, I ditched the old 2.4.1 version (had to manually circumvent a crazy requirement on ES as running in the dpkg prerm script to be able to remove the package and deleted several dangling folders as well) . Then moved to the latest 7.3 version which worked almost out of the box. Sadly more errors had to be debugged, for instance that the box I've inherited was low on disk space, so ES went into READ-ONLY mode and threw errors in Kibana.

But, yes, Ubuntu 14.04 is using sysvinit and I could probably have behaved more patiently and done some more debugging.

Thanks again - ES seem to have a responsive community, which is a key to success.

1 Like

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