Open HYERIN0718 opened 2 years ago
elasticsearch 설치한 후 바로 systemct start elasticsearch 하지말고 kibana, logstash부터 설치하고 실행시킨다. 그 후에 elasticsearch를 실행하면 systemctl start/status elasticsearch 성공
root@ubuntu:~# systemctl status elasticsearch
● elasticsearch.service - Elasticsearch
Loaded: loaded (/lib/systemd/system/elasticsearch.service; disabled; vendor preset>
Active: active (running) since Fri 2022-07-01 08:21:57 UTC; 3min 50s ago
Docs: https://www.elastic.co
Main PID: 30936 (java)
Tasks: 68 (limit: 4538)
Memory: 2.1G
CPU: 1min 48.575s
CGroup: /system.slice/elasticsearch.service
├─30936 /usr/share/elasticsearch/jdk/bin/java -Xshare:auto -Des.networkadd>
└─31126 /usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/b>
Jul 01 08:21:01 ubuntu systemd[1]: Starting Elasticsearch...
Jul 01 08:21:57 ubuntu systemd[1]: Started Elasticsearch.
root@ubuntu:~# curl localhost:9200
{
"name" : "ubuntu",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "CnmNRBvRS42q47uWTo1v1Q",
"version" : {
"number" : "7.17.5",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "8d61b4f7ddf931f219e3745f295ed2bbc50c8e84",
"build_date" : "2022-06-23T21:57:28.736740635Z",
"build_snapshot" : false,
"lucene_version" : "8.11.1",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
elasticsearch이 재시작하지 않는 문제 생겼음
VMware Cent0S elasticsearch 7.x version logstash 7.x version kibana 7.x version