Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centos上docker部署失败 #47

Open
haohongbin opened this issue Aug 14, 2023 · 4 comments
Open

centos上docker部署失败 #47

haohongbin opened this issue Aug 14, 2023 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@haohongbin
Copy link

error:
moonbox-elasticsearch | Invalid -Xlog option '-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m', see error log for details.
moonbox-elasticsearch | Error: Could not create the Java Virtual Machine.
moonbox-elasticsearch | Error: A fatal exception has occurred. Program will exit.
moonbox-elasticsearch | at org.elasticsearch.tools.launchers.JvmOption.flagsFinal(JvmOption.java:119)
moonbox-elasticsearch | at org.elasticsearch.tools.launchers.JvmOption.findFinalOptions(JvmOption.java:81)
moonbox-elasticsearch | at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:38)
moonbox-elasticsearch | at org.elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:135)
moonbox-elasticsearch | at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:86)

@node node added the help wanted Extra attention is needed label Aug 17, 2023
@chenjianpengok
Copy link

去docker文件下把elasticsearch目录复读写权限试试?

@MrZbb
Copy link

MrZbb commented Nov 14, 2023

同样的报错

@ASwordCold
Copy link

把docker目录下的elasticsearch目录权限修改为777,就可以了。
另外elasticsearch外挂目录需要手动新建一下,也同样赋予777的权限。

@chow-q
Copy link

chow-q commented Mar 15, 2024

after this ,it work
1000 mkdir -R /usr/share/elasticsearch/data
1001 mkdir -r /usr/share/elasticsearch/data
1002 mkdir -p /usr/share/elasticsearch/data
1003 mkdir -p /usr/share/elasticsearch/logs
1004 mkdir -p /usr/share/elasticsearch/plugins
1005 chmod 777 -R /usr/share/elasticsearch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants