Advertisement
Guest User

Untitled

a guest
Jul 4th, 2021
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. [root@master-1 elasticsearch]# rm * -f
  2. [root@master-1 elasticsearch]# vi /etc/elasticsearch/elasticsearch.yml
  3. [root@master-1 elasticsearch]# vi /etc/elasticsearch/elasticsearch.yml
  4. [root@master-1 elasticsearch]# grep "network.host:" /etc/elasticsearch/elasticsearch.yml
  5. network.host: ["_local_", "_site"]
  6. [root@master-1 elasticsearch]# systemctl restart elasticsearch
  7. Job for elasticsearch.service failed because the control process exited with error code. See "systemctl status elasticsearch.service" and "journalctl -xe" for details.
  8. [root@master-1 elasticsearch]# ls
  9. gc.log playground_audit.json playground_index_indexing_slowlog.json playground_index_search_slowlog.log
  10. gc.log.00 playground_deprecation.json playground_index_indexing_slowlog.log playground_server.json
  11. playground.log playground_deprecation.log playground_index_search_slowlog.json
  12. [root@master-1 elasticsearch]#
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement