我的环境
CentOS 6.6
elasticsearch-2.0.0-rc1.rpm
kibana-4.1.2-linux-x64
[root@node2 files]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
我是 ELK 堆栈的新手。我已经安装了 Elasticsearch 并且没有更改任何设置。在我看来,Elastic 搜索没有问题。
输出
{
"name" : "Danielle Moonstar",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "2.0.0-rc1",
"build_hash" : "4757962b01a4d837af282f90df9e1fbdb68b524e",
"build_timestamp" : "2015-10-01T10:06:08Z",
"build_snapshot" : false,
"lucene_version" : "5.2.1"
},
"tagline" : "You Know, for Search"
}
现在,如果我转到 Kibana(没有更改任何内容)并运行它
[root@node2 files]# /usr/local/kibana-4.1.2-linux-x64/bin/kibana
它给出了以下错误-
{"name":"Kibana","hostname":"node2.mydomain.com","pid":2253,"level":50,"err":{"message":"unknown error","name":"Error","stack":"Error: unknown error\n at respond (/usr/local/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/src/lib/transport.js:237:15)\n at checkRespForFailure (/usr/local/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/src/lib/transport.js:203:7)\n at HttpConnector. (/usr/local/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/src/lib/connectors/http.js:156:7)\n at IncomingMessage.bound (/usr/local/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/node_modules/lodash-node/modern/internals/baseBind.js:56:17)\n at IncomingMessage.emit (events.js:117:20)\n at _stream_readable.js:944:16\n at process._tickCallback (node.js:442:13)"},"msg":"","time":"2015-10-15T09:41:15.952Z","v":0} {"name":"Kibana","hostname":"node2.mydomain.com","pid":2253,"level":60,"err":{"message":"unknown error","name":"Error","stack":"Error: unknown error\n at respond (/usr/local/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/src/lib/transport.js:237:15)\n at checkRespForFailure (/usr/local/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/src/lib/transport.js:203:7)\n at HttpConnector. (/usr/local/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/src/lib/connectors/http.js:156:7)\n at IncomingMessage.bound (/usr/local/kibana-4.1.2-linux-x64/src/node_modules/elasticsearch/node_modules/lodash-node/modern/internals/baseBind.js:56:17)\n at IncomingMessage.emit (events.js:117:20)\n at _stream_readable.js:944:16\n at process._tickCallback (node.js:442:13)"},"msg":"","time":"2015-10-15T09:41:15.952Z","v":0}
不确定如何解决?
最佳答案
正如 Andrei Stefan 所建议的,Kibana 4.2.0-beta 解决了这个问题。 浪费了我一整天。
关于elasticsearch - 无法启动 kibana-4.1.2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33145382/