Elastic start but not open port

Hi!
I instal elastic on raspbian.
After instalation i run it by type:
serivce elasticsearch start

Output from
service elasticsearch status

● elasticsearch.service - LSB: Starts elasticsearch
Loaded: loaded (/etc/init.d/elasticsearch; generated; vendor preset: enabled)
Active: active (exited) since Sun 2018-04-15 13:52:19 UTC; 2h 3min ago
Docs: man:systemd-sysv-generator(8)
Process: 1446 ExecStop=/etc/init.d/elasticsearch stop (code=exited, status=0/SUCCESS)
Process: 1480 ExecStart=/etc/init.d/elasticsearch start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/elasticsearch.service

journalctl dont show any errors, i dont have blocked ports.

Also I try set ip address manualy by uncoment and change:
network.host: 127.0.0.1
But after restart anything was change.
I try connect localy, by curl
curl -XGET 127.0.0.1:9200
curl: (7) Failed to connect to 127.0.0.1 port 9200: Connection refused

Did u have any idea whats is wrong?

Hey,

What do the Elasticsearch logs reveal? Typically the best best place to start when Elasticsearch won't start up.

You can typically find these in '/var/log/elasticsearch/*' depending on your platform.

Cheers,
Tom

The problem is i dont have any logs there. As i said elasticsearch start.

What does a 'systemctl -l status elasticsearch' return beyond just the process info listed above?

● elasticsearch.service - LSB: Starts elasticsearch
   Loaded: loaded (/etc/init.d/elasticsearch; generated; vendor preset: enabled)
   Active: active (exited) since Sun 2018-04-15 16:09:09 UTC; 2h 6min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3304 ExecStop=/etc/init.d/elasticsearch stop (code=exited, status=0/S
  Process: 3337 ExecStart=/etc/init.d/elasticsearch start (code=exited, status=0

Apr 15 16:09:08 raspberrypi systemd[1]: Starting LSB: Starts elasticsearch...
Apr 15 16:09:09 raspberrypi systemd[1]: Started LSB: Starts elasticsearch.

/var/log/elasticsearch:

root@raspberrypi:/var/log/elasticsearch# ls -al
total 8
drwxr-xr-x 2 elasticsearch elasticsearch 4096 May 20 2016 .
drwxr-xr-x 7 root root 4096 Apr 15 13:39 ..
root@raspberrypi:/var/log/elasticsearch#

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