ELK - Elasticsearch啓動不了: Could not create the Java Virtual Machine

提供一個思路。

Elasticsearch啓動不了

Nov 04 15:45:10 appserver01 elasticsearch[25283]: Invalid -Xlog option '-Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m', see error log for details.
Nov 04 15:45:10 appserver01 elasticsearch[25283]: Error: Could not create the Java Virtual Machine.
Nov 04 15:45:10 appserver01 elasticsearch[25283]: Error: A fatal exception has occurred. Program will exit.

去看log發現整個folder都不見了(被刪了)。

重建,grant right to elasticsearch就OK了。

/var/log/elasticsearch
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章