关闭Kibana进程

2019-05-27 09:04:56 浏览数 (1)

1、Elasticsearch异常停止,Kibana无法连接到Elasticsearch

代码语言:javascript复制
 log   [11:49:18.892] [warning][admin][elasticsearch] No living connections
  log   [11:49:18.894] [warning][admin][elasticsearch] Unable to revive connection: http://node1:9200/
  log   [11:49:18.894] [warning][admin][elasticsearch] No living connections
 error  [11:49:18.896] [warning][stats-collection] Error: No Living connections
    at sendReqWithConnection (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:226:15)
    at next (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/connection_pool.js:214:7)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
  log   [11:49:18.897] [warning][stats-collection] Unable to fetch data from kibana collector
 error  [11:49:18.897] [warning][stats-collection] Error: No Living connections
    at sendReqWithConnection (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:226:15)
    at next (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/connection_pool.js:214:7)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
  log   [11:49:18.899] [warning][stats-collection] Unable to fetch data from canvas collector
 error  [11:49:18.900] [warning][stats-collection] Error: No Living connections
    at sendReqWithConnection (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:226:15)
    at next (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/connection_pool.js:214:7)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
  log   [11:49:18.902] [warning][stats-collection] Unable to fetch data from kql collector
 error  [11:49:18.909] [warning][stats-collection] Error: No Living connections
    at sendReqWithConnection (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:226:15)
    at next (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/connection_pool.js:214:7)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
  log   [11:49:18.927] [warning][stats-collection] Unable to fetch data from rollups collector
 error  [11:49:18.928] [warning][stats-collection] Error: No Living connections
    at sendReqWithConnection (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:226:15)
    at next (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/connection_pool.js:214:7)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
  log   [11:49:18.929] [warning][stats-collection] Unable to fetch data from reporting collector
 error  [11:49:18.929] [warning][stats-collection] Error: No Living connections
    at sendReqWithConnection (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:226:15)
    at next (/opt/kibana-6.5.1-linux-x86_64/node_modules/elasticsearch/src/lib/connection_pool.js:214:7)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)

2、关闭Kibana

代码语言:javascript复制
[root@node1 ~]# ps -ef|grep kibana  
root       2254   2235  0 06:48 pts/2    00:00:00 grep --color=auto kibana
[root@node1 ~]# kill 2254
-bash: kill: (2254) - No such process
[root@node1 ~]# ps -ef | grep node
elastic    2192   2160  2 06:15 pts/1    00:00:44 bin/../node/bin/node --no-warnings bin/../src/cli
root       2256   2235  0 06:51 pts/2    00:00:00 grep --color=auto node
[root@node1 ~]# kill 2192
[root@node1 ~]#

0 人点赞