最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

執(zhí)行bin/elasticsearch出現(xiàn)的情況

OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
[2018-06-09T14:48:07,132][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]

在執(zhí)行bin/elasticsearch時(shí)碰到的問題,希望能夠幫助解決下,謝謝

正在回答

6 回答

Caused by: java.lang.RuntimeException: can not run elasticsearch as root

不能以 root 來運(yùn)行 es,新建一個(gè) elasticsearch 的用戶來運(yùn)行


1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_良好_0 提問者

非常感謝!
2018-06-11 回復(fù) 有任何疑惑可以回復(fù)我~
#2

qq_良好_0 提問者

大神在問你一個(gè)問題,我用yum安裝的lrzsz上傳下載的一個(gè)包,用lz命令執(zhí)行時(shí)出現(xiàn)下面情況怎么回事,求告知,在線等急!![root@localhost ~]# lz Reading directory of standard input. gzip: compressed data not read from a terminal. Use -f to force decompression. For help, type: gzip -h tar: 它似乎不像是一個(gè) tar 歸檔文件 tar: 由于前次錯(cuò)誤,將以上次的錯(cuò)誤狀態(tài)退出
2018-06-11 回復(fù) 有任何疑惑可以回復(fù)我~
#3

qq_良好_0 提問者 回復(fù) qq_良好_0 提問者

這個(gè)不用回了,已知道。
2018-06-11 回復(fù) 有任何疑惑可以回復(fù)我~

就這些報(bào)錯(cuò)嗎?沒看出有價(jià)值的信息,你貼一下更詳細(xì)的信息

0 回復(fù) 有任何疑惑可以回復(fù)我~

? 樓主解決了嗎


0 回復(fù) 有任何疑惑可以回復(fù)我~

[root@localhost elasticsearch]# sudo? -u? elasticsearch? ./bin/elasticsearch
Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/elasticsearch-6.2.4/config/jvm.options
?at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
?at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
?at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
?at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
?at java.nio.file.Files.newByteChannel(Files.java:361)
?at java.nio.file.Files.newByteChannel(Files.java:407)
?at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
?at java.nio.file.Files.newInputStream(Files.java:152)
?at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:58)

大神幫我看看這個(gè),遇到了新的難題。

0 回復(fù) 有任何疑惑可以回復(fù)我~

https://img1.sycdn.imooc.com//5b1e91320001ed4f14240290.jpg我也是的


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_良好_0 提問者

這是讓你用普通用戶登陸,別用root用戶。
2018-06-12 回復(fù) 有任何疑惑可以回復(fù)我~

[root@localhost elasticsearch-6.2.4]# ./bin/elasticsearch
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
[2018-06-11T09:56:25,893][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root
?at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125) ~[elasticsearch-6.2.4.jar:6.2.4]
?at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) ~[elasticsearch-6.2.4.jar:6.2.4]
?at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.2.4.jar:6.2.4]
?at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
?at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.2.4.jar:6.2.4]
?at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.2.4.jar:6.2.4]
?at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.2.4.jar:6.2.4]
Caused by: java.lang.RuntimeException: can not run elasticsearch as root
?at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:105) ~[elasticsearch-6.2.4.jar:6.2.4]
?at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:172) ~[elasticsearch-6.2.4.jar:6.2.4]
?at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:323) ~[elasticsearch-6.2.4.jar:6.2.4]
?at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) ~[elasticsearch-6.2.4.jar:6.2.4]
?... 6 more

這是我執(zhí)行./bin/elasticsearch??后輸出的結(jié)果,沒出現(xiàn)你所說的startd。

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

執(zhí)行bin/elasticsearch出現(xiàn)的情況

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)