# I can't start elasticsearch

**URL:** https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538
**Category:** Elasticsearch
**Created:** [November 18, 2016, 12:28pm UTC](https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538 "2016-11-18T12:28:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![vanyadog](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vanyadog](https://discuss.elastic.co/u/vanyadog)
#### Post date: [November 18, 2016, 12:28pm UTC](https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538/1 "2016-11-18T12:28:00Z")

</div>

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](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?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 18, 2016, 12:39pm UTC](https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538/2 "2016-11-18T12:39:28Z")

</div>

According to the [support matrix](https://www.elastic.co/support/matrix#show_jvm), Elasticsearch 5.0 no longer supports Java 1.7, which seems to be what you are using. You will need to upgrade Java.

---

<div class="post-metadata">

### Author: ![vanyadog](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vanyadog](https://discuss.elastic.co/u/vanyadog)
#### Post date: [November 18, 2016, 1:27pm UTC](https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538/3 "2016-11-18T13:27:34Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [November 18, 2016, 1:35pm UTC](https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538/4 "2016-11-18T13:35:34Z")

</div>

Is there anything in the Elasticsearch logs?

---

<div class="post-metadata">

### Author: ![vanyadog](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vanyadog](https://discuss.elastic.co/u/vanyadog)
#### Post date: [November 18, 2016, 1:54pm UTC](https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538/5 "2016-11-18T13:54:32Z")

</div>

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

---

<div class="post-metadata">

### Author: ![vanyadog](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@vanyadog](https://discuss.elastic.co/u/vanyadog)
#### Post date: [November 19, 2016, 8:01pm UTC](https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538/6 "2016-11-19T20:01:04Z")

</div>

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

thank you

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 17, 2016, 8:01pm UTC](https://discuss.elastic.co/t/i-cant-start-elasticsearch/66538/7 "2016-12-17T20:01:21Z")

</div>

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