我最近安装了Elasticsearch和一切工作顺利进行的最初几天,但不知何故,今天停止工作不能(通过卷曲)
当我启动服务连接到Elasticsearch,它声称是精...
sudo /etc/init.d/elasticsearch start
* Starting Elasticsearch Server
...done.
但后来我得到
curl -GET http://127.0.0.1:9200
curl: (7) couldn't connect to host
望着elasticsearch日志:
[WARN ][bootstrap ] jvm uses the client vm, make sure to run `java` with the server vm for best performance by adding `-server` to the command line
看起来有关于Java VM的警告;这可能是问题吗?我还应该尝试/看什么?
更新你的'$ java的-version',如果你所做的任何elasticsearch配置更改。你的ES日志告诉它只是一个'警告'。 – prayagupd
有没有我能看到引擎盖下发生的事情的日志? ES是否正在监听不同的IP /端口? –
可能是。您可以使用'lsof'命令检查哪个端口正在监听。 – prayagupd