内容简介:elasticsearch不能以root用户启动的解决方法
在 root 用户下启动 elasticsearch,报如下错误:
[root@localhost elasticsearch-5.2.2]# ./bin/elasticsearch
//部分错误如下
[2017-03-15T22:16:22,913][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root
报错明确指出,不能以root用户启动
这种情况下,需要先改变目录的用户权限,然后再以普通用户启动
[root@localhost local]# chown -R essearch elasticsearch-5.2.2
[root@localhost local]# su - essearch
[hncl@localhost elasticsearch-5.2.2]$ ./bin/elasticsearch
这样就可以正常启动了。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 因为修改windows管理员密码导致sql server 2005不能启动处理
- ApiCloud开发SuperWebView——极光推送不能监听通知内容以及不能跳转的问题
- 有的便宜不能占
- golang不能使用debug
- 影像云,一个不能错失的时代
- 面对“智能校服”不能只看到智能
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Haskell Programming from first principles
Christopher Allen、Julie Moronuki / 2015 / USD 59.00
I am writing this book because I had a hard time learning Haskell. It doesn't have to be that way. I've spent the last couple years actively teaching Haskell online and in person. Along the way, I ......一起来看看 《Haskell Programming from first principles》 这本书的介绍吧!
MD5 加密
MD5 加密工具
RGB HSV 转换
RGB HSV 互转工具