记录Linux下安装elasticSearch时遇到的一些错误
![此博文包含图片](http://simg.sinajs.cn/blog7style/images/common/sg_trans.gif)
标签: elasticsearch | 分类: 程序错误集锦 |
错误一 cannot allocate memory
解决方案: https://zhuanlan.zhihu.com/p/22241634?refer=dataeye
解决方案:
不能用
root
用户登录来执行,切换为普通用户,
错误三
切换为普通用户后,权限不够
错误四 max virtual memory areas vm.max_count [65530] likely too low,increase to at least [26244
]
![记录Linux下安装elasticSearch时遇到的一些错误 记录Linux下安装elasticSearch时遇到的一些错误](https://i-blog.csdnimg.cn/blog_migrate/caed4d000ca7e57b2b5e08136c3a2d29.jpeg)
解决方案: https://zhuanlan.zhihu.com/p/22241634?refer=dataeye
![记录Linux下安装elasticSearch时遇到的一些错误 记录Linux下安装elasticSearch时遇到的一些错误](https://i-blog.csdnimg.cn/blog_migrate/79d517b8b196641520a2c2c03eac9624.jpeg)
错误五 max file descriptors [4096
]
for elasticsearch process likely too low,increase to at least[65536
]
![记录Linux下安装elasticSearch时遇到的一些错误 记录Linux下安装elasticSearch时遇到的一些错误](https://i-blog.csdnimg.cn/blog_migrate/ba2e60f3ae5699692215199ea4e3ff03.jpeg)
解决方案
解决以上错误后成功开启ES服务
http://www.open-open.com/lib/view/open1451451639167.html