Install Elasticsearch on Debian Jessie failed

Hi,

As my elasticsearch stop frequently, I decide to reinstall it on my debian jessie.
I did the following commands :
sudo apt-get --purge autoremove elasticsearch
sudo rm -rf /var/lib/elasticsearch/
sudo rm -rf /etc/elasticsearch
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt update && sudo apt install elasticsearch
sudo update-rc.d elasticsearch defaults 95 10
I tried also sudo -i service elasticsearch start

However at the end of installation, my elasticsearch service won't start and I don't know why :
The following is the status log of my Elasticsearch :
systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled)
Active: failed (Result: signal) since mar. 2017-10-24 10:33:41 CEST; 2min 38s ago
Docs: http://www.elastic.co
Process: 24344 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=killed, signal=KILL)
Process: 24341 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 24344 (code=killed, signal=KILL)

oct. 24 10:33:37 vps75137.ovh.net systemd[1]: Started Elasticsearch.
oct. 24 10:33:41 vps75137.ovh.net systemd[1]: elasticsearch.service: main process exited, code=killed, status=9/KILL
oct. 24 10:33:41 vps75137.ovh.net systemd[1]: Unit elasticsearch.service entered failed state.

I don't know why ?
There is nothing in my /var/log/elasticsearch/

If someone can help me.

Best regards,

JC

Is there anything in the main OS sysslog?

Oct 24 10:33:37 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/nfs-common.service: No such file or directory
Oct 24 10:33:37 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/rpcbind.service: No such file or directory
Oct 24 10:33:37 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/systemd-random-seed.service: No such file or directory
Oct 24 10:33:37 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/networking.service: No such file or directory
Oct 24 10:33:37 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/systemd-journald.service: No such file or directory
Oct 24 10:33:37 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/systemd-remount-fs.service: No such file or directory
Oct 24 10:33:37 vps75137 systemd[1]: Started Elasticsearch.
Oct 24 10:33:41 vps75137 systemd[1]: elasticsearch.service: main process exited, code=killed, status=9/KILL
Oct 24 10:33:41 vps75137 systemd[1]: Unit elasticsearch.service entered failed state.
Oct 24 10:39:01 vps75137 CRON[24384]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)

Any advice ?

First of all, I discovered in /etc/sysctl.d/99-sysctl.conf that there was a mistake on the following lines:

#kernel.printk = 3 4 1 3

##############################################################3

You can see a "3" at the end of comment's line. You need to remove it. After that, I reinstall Elasticsearch.

However, same result for Elasticsearch :cry:. My new syslog :
Oct 25 14:24:08 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/systemd-tmpfiles-setup.service: No such file or directory
Oct 25 14:24:08 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/nfs-common.service: No such file or directory
Oct 25 14:24:08 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/rpcbind.service: No such file or directory
Oct 25 14:24:08 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/systemd-random-seed.service: No such file or directory
Oct 25 14:24:08 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/networking.service: No such file or directory
Oct 25 14:24:08 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/systemd-journald.service: No such file or directory
Oct 25 14:24:08 vps75137 systemd[1]: Failed to reset devices.list on /system.slice/systemd-remount-fs.service: No such file or directory
Oct 25 14:24:08 vps75137 systemd[1]: Started Elasticsearch.
Oct 25 14:24:12 vps75137 systemd[1]: Elasticsearch.service: main process exited, code=killed, status=9/KILL
Oct 25 14:24:12 vps75137 systemd[1]: Unit Elasticsearch.service entered failed state.

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