es遇到的问题

来源:互联网 发布:mysql 降序 desc 编辑:程序博客网 时间:2024/05/21 00:54

记录Linux下安装elasticSearch时遇到的一些错误

 (2016-11-02 22:03:11)
转载
标签: 

elasticsearch

分类: 程序错误集锦
  本人安装ElasticSearch的步骤完全参照官方文档来进行,在此仅记录下安装过程遇到的一些错误以及解决的办法。
错误一 cannot allocate memory
记录Linux下安装elasticSearch时遇到的一些错误
解决方案: 虚拟机内存不够,关掉centos,重新加大内存分配,原先是512M,现在分配到1800M

记录Linux下安装elasticSearch时遇到的一些错误

错误二  can not run elasticsearch as root

记录Linux下安装elasticSearch时遇到的一些错误
解决方案: 不能用root用户登录来执行,切换为普通用户,

错误三 切换为普通用户后,权限不够
解决方案:https://my.oschina.net/topeagle/blog/591451?fromerr=mzOr2qzZ

错误四  max virtual memory areas vm.max_count [65530] likely too low,increase to at least [26244] 

记录Linux下安装elasticSearch时遇到的一些错误
解决方案:https://zhuanlan.zhihu.com/p/22241634?refer=dataeye
记录Linux下安装elasticSearch时遇到的一些错误

错误五 max file descriptors [4096]  for elasticsearch process likely too low,increase to at least[65536] 
记录Linux下安装elasticSearch时遇到的一些错误

解决方案 http://www.chepoo.com/elasticsearch-installation-parameters-configuration-considerations.html

解决以上错误后成功开启ES服务

记录Linux下安装elasticSearch时遇到的一些错误



http://www.open-open.com/lib/view/open1451451639167.html