一、在同一系統(tǒng)中啟動(dòng)多個(gè)實(shí)例產(chǎn)生的錯(cuò)誤 [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 解決辦法:殺死進(jìn)程重新啟動(dòng) [root@node2 opt]#ps -ef |grep logstash [root@node2 opt]#kill -9 進(jìn)程號(hào) 重新執(zhí)行消費(fèi): [root@node2 opt]#/mnt/logstash/bin/logstash -f /mnt/logstash/conf.d/kafka.conf |
|
來(lái)自: BIGDATA云 > 《Logstash》