ElasticSearch安装启动问题
1. org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root 解决:切换非root用户 2.Likely root cause: java.nio.file.AccessDeniedException: /usr/local/elasticsearch-6.4.3/config/elasticsearch.keystore 解决 :权限不够 chown -R esuser:esuser /usr/local/elasticsearch-6.4.3 3.ERROR: [1] bootstrap checks failed [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] max_map_count 提升到262144 解决 vim /etc/sysctl.conf max_map_count=262145 sysctl -p (重新生效) 来源: oschina 链接: https://my.oschina.net/u/4182459/blog/3188966