I can't start elasticsearch

Hello

Could you help me please?

i've got debian 8.6

Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) i686 GNU/Linux
the system is clear, i installed only mc and curl

next

apt-get install openjdk-7-jdk

root@debian:~# java -version
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-2~deb8u1)
OpenJDK Client VM (build 24.111-b01, mixed mode, sharing)

I downloaded the latest version from the website elasticsearch https://www.elastic.co/downloads/elasticsearch (version 5.0.1)

installed

dpkg --install elasticsearch-5.0.1.deb

started

/etc/init.d/elasticsearch start
[ ok ] Starting elasticsearch (via systemctl): elasticsearch.service.

but i don't see the process

root@debian:~# ps aux | grep elastic
root      9201  0.0  0.4   4556  2124 pts/0    S+   05:52   0:00 grep elastic

root@debian:~# netstat -anp | grep LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      400/rpcbind
tcp        0      0 0.0.0.0:58452           0.0.0.0:*               LISTEN      409/rpc.statd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      427/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      697/cupsd
tcp6       0      0 :::111                  :::*                    LISTEN      400/rpcbind
tcp6       0      0 :::80                   :::*                    LISTEN      707/apache2
tcp6       0      0 :::22                   :::*                    LISTEN      427/sshd
tcp6       0      0 ::1:631                 :::*                    LISTEN      697/cupsd
tcp6       0      0 :::60504                :::*                    LISTEN      409/rpc.statd

logs is empty

root@debian:~# ls -l /var/log/elasticsearch/
total 0

Please tell me what I did wrong?

According to the support matrix, Elasticsearch 5.0 no longer supports Java 1.7, which seems to be what you are using. You will need to upgrade Java.

thank you
i updated java

root@debian:~# java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode)
root@debian:~#
root@debian:~#
root@debian:~# /etc/init.d/elasticsearch start
[ ok ] Starting elasticsearch (via systemctl): elasticsearch.service.
root@debian:~# ps aux | grep elastic
root      1116  0.0  0.4   4556  2340 pts/0    S+   08:23   0:00 grep elastic
root@debian:~# netstat -anp | grep LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      396/rpcbind
tcp        0      0 0.0.0.0:60945           0.0.0.0:*               LISTEN      405/rpc.statd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      422/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      486/cupsd
tcp6       0      0 :::111                  :::*                    LISTEN      396/rpcbind
tcp6       0      0 :::80                   :::*                    LISTEN      702/apache2
tcp6       0      0 :::22                   :::*                    LISTEN      422/sshd
tcp6       0      0 ::1:631                 :::*                    LISTEN      486/cupsd
tcp6       0      0 :::34295                :::*                    LISTEN      405/rpc.statd

the same story

Is there anything in the Elasticsearch logs?

no
root@debian:~# ls -l /var/log/elasticsearch/
total 0
can logs write in a different location?

I had allocated too little memory for a virtual machine
was 512 mb
now 4096 mb
elasticsearch is running

thank you

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