Here the hole is what i am running into
-
i tried to resolve the issue with "elasticsearch plugin is red". Then i thought the index .kibana still there, so i remove it by "curl -XDELETE http://localhost:9200/.kibana". i thought it may work.
-
then i restart kibana. that is how i get unable to revive connection.
log [15:34:56.681] [info][status][plugin:kibana@6.0.0] Status changed from uninitialized to green - Ready
log [15:34:56.733] [info][status][plugin:elasticsearch@6.0.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [15:34:56.764] [error][admin][elasticsearch] Request error, retrying
HEAD http://xxx.xxx.xxx.0:9200/ => connect ECONNREFUSED xxx.xxx.xxx.0:9200
log [15:34:56.770] [warning][admin][elasticsearch] Unable to revive connection: http://xxx.xxx.xxx.0:9200/
log [15:34:56.771] [warning][admin][elasticsearch] No living connections
log [15:34:56.774] [info][status][plugin:console@6.0.0] Status changed from uninitialized to green - Ready
log [15:34:56.778] [error][status][plugin:elasticsearch@6.0.0] Status changed from yellow to red - Unable to connect to Elasticsearch at http://xxx.xxx.xxx.0:9200.
log [15:34:56.789] [info][status][plugin:metrics@6.0.0] Status changed from uninitialized to green - Ready
log [15:34:56.976] [info][status][plugin:timelion@6.0.0] Status changed from uninitialized to green - Ready
log [15:34:56.981] [info][listening] Server running at http://xxx.xxx.xxx.0:5600
log [15:34:56.982] [error][status][ui settings] Status changed from uninitialized to red - Elasticsearch plugin is red
log [15:34:59.285] [warning][admin][elasticsearch] Unable to revive connection: http://xxx.xxx.xxx.0:9200/
log [15:34:59.285] [warning][admin][elasticsearch] No living connections
log [15:35:01.790] [warning][admin][elasticsearch] Unable to revive connection: http://xxx.xxx.xxx.0:9200/
log [15:35:01.792] [warning][admin][elasticsearch] No living connections
log [15:35:04.302] [warning][admin][elasticsearch] Unable to revive connection: http://xxx.xxx.xxx.0:9200/
log [15:35:04.303] [warning][admin][elasticsearch] No living connections
log [15:35:06.808] [warning][admin][elasticsearch] Unable to revive connection: http://xxx.xxx.xxx.0:9200/
log [15:35:06.809] [warning][admin][elasticsearch] No living connections -
i tried to solve the stuff. then i tested if es is running normally, "curl http://localhost:9200" gave me a positive result showing it's running good. However, the url with ip:port is what i hvnt tried. Interesting thing happened that "curl http://xxx.xxx.xxx.0:9200" showed "couldn't connect to host"
-
here r my configs
es config:
cluster.name=myes
node.name: mynode-1
path.data:/data/es
network.host:127.0.0.1
http.port: 9200
discovery.zen.ping.unicast.hosts: ["127.0.0.1", "xxx.xx.xx.xx"]
discovery.zen.minimum_master_nodes: 1
kibana config:
server.port: 5600
server.host: "localhost"
elasticsearch.preserveHost: true
kibana.index: ".kibana"
kibana.defaultAppId: "discover"
elasticsearch.username: "es"
elasticsearch.password: "es123"
pid.file: /var/run/kibana.pid
- how can i get kibana and es to run and cooperate perfectly? Do appreciate any help from u masters.......