Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Elasticsearch 7.1 build completed and startup was not successful

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

When elasticsearch is installed, the local address 127.0.0.1 is listening by default. If you modify network.host: 0.0.0.0, elasticsearch cannot start normally.

View the error log:

Tail-f / var/log/messages

Journalctl-u elasticsearch.service

The reason why the specific error log can not be seen by the two methods

View the error log of the configuration file elasticsearch.yml

/ var/log/elasticsearch

Configure one of these items

Discovery.seed_hosts: xxx

# restart the application

Systemctl restart elasticsearch

Test access: ip:9200

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report