打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Logstash问题

一、在同一系统中启动多个实例产生的错误

[root@node2 opt]# /mnt/logstash/bin/logstash -f /mnt/logstash/conf.d/kafka.conf

Sending Logstash logs to /mnt/logstash/logs which is now configured via log4j2.properties

[2019-07-12T09:28:53,027][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified

[2019-07-12T09:28:53,064][FATAL][logstash.runner          ] Logstash could not be started because there is already another instance using the configured data directory.  If you wish to run multiple instances, you must change the "path.data" setting.

[2019-07-12T09:28:53,081][ERROR][org.logstash.Logstash    ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

解决办法:杀死进程重新启动

[root@node2 opt]#ps -ef |grep logstash

[root@node2 opt]#kill -9 进程号

重新执行消费:

[root@node2 opt]#/mnt/logstash/bin/logstash -f /mnt/logstash/conf.d/kafka.conf

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
logstash使用操作部分
ELK日志分析平台搭建和使用
老司机实战Windows Server Docker:4 单节点Windows Docker服务器简...
如何在elasticsearch中查看Logstash打到elasticsearch的数据
Elasticsearch的基友Logstash
日志分析平台ELK之日志收集器filebeat
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服