解决logstash报错[ERROR][logstash.config.sourceloader] No configuration found in the configured sources.

在做产品研发环境部署是,发现一个错,记录下来,以给遇到同样问题的筒子们

报错信息:

[troll@standalone logstash-6.4.3]$ bin/logstash -f data-conf/zipkin-server.conf 
Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
[2018-11-07T22:06:31,926][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2018-11-07T22:06:34,956][INFO ][logstash.runner          ] Starting Logstash {"logstash.version"=>"6.4.3"}
[2018-11-07T22:06:35,299][INFO ][logstash.config.source.local.configpathloader] No config files found in path {:path=>"/home/troll/softs/logstash-6.4.3/data-conf/zipkin-server.conf"}
[2018-11-07T22:06:35,348][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.
[2018-11-07T22:06:36,660][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}

具体错误:

[2018-11-07T22:06:35,348][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.

##错误分析
遇到该问题通常有几种原因造成:

  • 配置文件没有读取权限
  • 配置文件不存在
  • 文件名错误
  • 其他的我也没遇到过啦,有遇到的希望在下面反馈,供大家学习~~

即使是老司机如果不经常倒腾,也很容易生疏了,还是要多注意细节~~

评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

时空琴弦

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值