我有点怀疑你在刷屏

logstash启动报错

Logstash | 作者 xingzhe | 发布于2019年02月13日 | 阅读数:8490

[ERROR] 2019-02-13 13:31:12.402 [[main]-pipeline-manager] pipeline - Pipeline aborted due to error {:pipeline_id=>"main", :exception=>#<LogStash::ConfigurationError: Logstash must have the permissions to write to the temporary directory: /tmp/logstash>, :backtrace=>["/data/logstash/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-output-s3-4.1.5/lib/logstash/outputs/s3.rb:199:in `register'", "org/logstash/config/ir/compiler/OutputStrategyExt.java:102:in `register'", "org/logstash/config/ir/compiler/AbstractOutputDelegatorExt.java:46:in `register'", "/data/logstash/logstash/logstash-core/lib/logstash/pipeline.rb:242:in `register_plugin'", "/data/logstash/logstash/logstash-core/lib/logstash/pipeline.rb:253:in `block in register_plugins'", "org/jruby/RubyArray.java:1734:in `each'", "/data/logstash/logstash/logstash-core/lib/logstash/pipeline.rb:253:in `register_plugins'", "/data/logstash/logstash/logstash-core/lib/logstash/pipeline.rb:594:in `maybe_setup_out_plugins'", "/data/logstash/logstash/logstash-core/lib/logstash/pipeline.rb:263:in `start_workers'", "/data/logstash/logstash/logstash-core/lib/logstash/pipeline.rb:200:in `run'", "/data/logstash/logstash/logstash-core/lib/logstash/pipeline.rb:160:in `block in start'"], :thread=>"#<Thread:0x2bff578f run>"}
[ERROR] 2019-02-13 13:31:12.422 [Converge PipelineAction::Create<main>] agent - Failed to execute action {:id=>:main, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: PipelineAction::Create<main>, action_result: false", :backtrace=>nil}
已邀请:

rochy - rochy_he

赞同来自:

Logstash must have the permissions to write to the temporary directory: /tmp/logstash
 
看起来是权限不足造成的错误,你可以使用 root 用户运行程序

henry0417 - 80后IT男

赞同来自:

或者不存在  /tmp/logstash 此目录,使用root用户创建目录并运行程序,

要回复问题请先登录注册