2015-10-15 34 views
4

我的環境無法啓動kibana-4.1.2

CentOS 6.6 
elasticsearch-2.0.0-rc1.rpm 
kibana-4.1.2-linux-x64 

[[email protected] 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,並沒有改變任何設置。在我看來,彈性搜索沒有問題。

http://localhost:9200

輸出

{                                                
    "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(沒有改變任何東西),然後運行它

[[email protected] 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}

不知道如何解決它?

+2

我建議嘗試Kibana 4.2.0-beta。與1.x相比,Elasticsearch 2.0有很多不同之處。 –

回答

4

正如Andrei Stefan所建議的,Kibana 4.2.0-beta解決了這個問題。 浪費了我整整一天的時間。