我已经按照指南在Ubuntu上设置了graylog,并且遇到了弹性搜索的问题。我已经安装了所有内容,在弹性搜索“连接被拒绝”上搜索了无数线程。发现了一个问题/答案“它是否正在侦听端口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:*
有什么建议吗?