在安装7.11版本的elasticsearch时 多次出现 启动不了的情况 如以下日志:
[root@c7-41 ~]# tailf /var/log/elasticsearch/ylm666.log
[2020-07-31T07:17:14,180][INFO ][o.e.t.TransportService ] [node-1] publish_address {10.0.0.41:9300}, bound_addresses {10
[2020-07-31T07:17:14,187][INFO ][o.e.b.BootstrapChecks ] [node-1] bound or publishing to a non-loopback address, enforc
[2020-07-31T07:17:14,201][ERROR][o.e.b.Bootstrap ] [node-1] node validation exception
[1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.se
[2020-07-31T07:17:14,215][INFO ][o.e.n.Node ] [node-1] stopping ...
[2020-07-31T07:17:14,312][INFO ][o.e.n.Node ] [node-1] stopped
[2020-07-31T07:17:14,313][INFO ][o.e.n.Node ] [node-1] closing ...
[2020-07-31T07:17:14,333][INFO ][o.e.n.Node ] [node-1] closed
[2020-07-31T07:17:14,337][INFO ][o.e.x.m.p.NativeController] [node-1] Native controller process has stopped - no new nati
[root@c7-41 ~]# egrep -v "^#|^$" /etc/elasticsearch/elasticsearch.yml
cluster.initial_master_nodes: ["node-1"] #开启这样行
okok
[root@c7-41 ~]# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 10.0.0.41:9200 :::* LISTEN 2793/java
tcp6 0 0 10.0.0.41:9300 :::* LISTEN 2793/java