停止kibana

kibana启动后通过jps或jobs找不到对应的PID
但是启动的时候却报:

{"type":"log","@timestamp":"2018-11-21T06:32:59Z","tags":["fatal"],"pid":22160,"message":"Port 5601 is already in use. Another instance of Kibana may be running!"}

可以通过ps -ef|grep node命令或netstat -anltp|grep 5601查找对应端口

[app@VM-103-194-centos ~]$ ps -ef|grep node
app      22933 22639  0 14:35 pts/1    00:00:00 grep node
bigdata  24338     1  0 Nov16 ?        00:32:17 ./bin/../node/bin/node --no-warnings ./bin/../src/cli

[app@VM-103-194-centos ~]$ netstat -anltp|grep 5601
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 x.x.x.194:5601         0.0.0.0:*                   LISTEN      -                   
[app@VM-103-194-centos ~]$ sudo netstat -anltp|grep 5601
tcp        0      0  x.x.x194:5601         0.0.0.0:*                   LISTEN      24338/./bin/../node 

最后把对应端口的pid kill掉就可以了

kill -9 24338
  • 5
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值