栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

{“type“: “server“, “timestamp“: “2022-05-27T07:24:11,958Z“, “level“: “ERROR“, “component“:

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

{“type“: “server“, “timestamp“: “2022-05-27T07:24:11,958Z“, “level“: “ERROR“, “component“:

{"type": "server", "timestamp": "2022-05-27T07:24:11,958Z", "level": "ERROR", "component": "o.e.b.ElasticsearchUncaughtExceptionHandler", "cluster.name": "elasticsearch", "node.name": "234e4baad6ab", "message": "uncaught exception in thread [main]",

以上的错误是来自docker20.10.16环境下部署elasticsearch:7.6.2

命令:

docker run --name es -p 9200:9200 -p 9300:9300
-e "discovery.type=single-node"
-e ES_JAVA_OPTS="-Xms128m -Xmx256m"
-v /home/DataBrainProject/Elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
-v /home/DataBrainProject/Elasticsearch/data:/usr/share/elasticsearch/data
-v /home/DataBrainProject/Elasticsearch/plugins:/usr/share/elasticsearch/plugins
-d elasticsearch:7.6.2

 处理这个问题浪费我2个小时的时间~结果原因就是那么的简单。

解决方法:

chmod 777 /home/DataBrainProject/Elasticsearch/config/
chmod 777 /home/DataBrainProject/Elasticsearch/data
chmod 777 /home/DataBrainProject/Elasticsearch/plugins

原因就是因为没有权限挂载~

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/941790.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号