1

我已经按照指南在 Ubuntu 上设置 graylog 并且在让 elasticsearch 运行时遇到问题。我已经安装了所有东西,在弹性搜索“连接被拒绝”上搜索了无数线程。找到一个关于“它是否在端口 9200 上监听?”的问题/答案。和好。

martin@SERVER:/var/log/elasticsearch$ sudo systemctl status elasticsearch

elasticsearch.service - LSB: Starts elasticsearch
   Loaded: loaded (/etc/init.d/elasticsearch; bad; vendor preset: enabled)
   Active: active (exited) since Tue 2016-12-20 05:47:11 UTC; 20min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 17637 ExecStop=/etc/init.d/elasticsearch stop (code=exited, status=0/SUCCESS)
  Process: 17671 ExecStart=/etc/init.d/elasticsearch start (code=exited, status=0/SUCCESS)
    Tasks: 0
   Memory: 0B
      CPU: 0

Dec 20 05:47:11 HillhouseTech systemd[1]: Stopped LSB: Starts elasticsearch.

Dec 20 05:47:11 HillhouseTech systemd[1]: Starting LSB: Starts elasticsearch...

Dec 20 05:47:11 HillhouseTech systemd[1]: Started LSB: Starts elasticsearch.

martin@SERVER:/var/log/elasticsearch$ netstat -l -n
Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address           Foreign Address         State

tcp        0      0 127.0.0.1:27017         0.0.0.0:*               LISTEN

tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN

tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN

tcp6       0      0 :::80                   :::*                    LISTEN

tcp6       0      0 :::22                   :::*                    LISTEN

tcp6       0      0 ::1:6010                :::*                    LISTEN

tcp6       0      0 :::443                  :::*                    LISTEN

udp        0      0 0.0.0.0:68              0.0.0.0:*

有什么建议么?

4

0 回答 0