org.jruby.exceptions.RaiseException: (RuntimeError) Can't daemonize, no fork in JRuby. at LogStash::Agent.configure(file:/var/lib/logstash/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:207) at LogStash::Agent.run(file:/var/lib/logstash/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:242)

JIRA | Alexander Fortin | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. org.jruby.exceptions.RaiseException

    (RuntimeError) Can't daemonize, no fork in JRuby. at LogStash::Agent.configure(file:/var/lib/logstash/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:207) at LogStash::Agent.run(file:/var/lib/logstash/logstash-1.0.17-monolithic.jar!/logstash/agent.rb:242)

    at logstash.runner.run()
  2. logstash
    runner.run
    1. logstash.runner.run(logstash/runner.rb:36)
    1 frame
  3. JRuby Main Maven Artifact
    RubyProc.call
    1. org.jruby.RubyProc.call(org/jruby/RubyProc.java:268)
    2. org.jruby.RubyProc.call(org/jruby/RubyProc.java:228)
    2 frames
  4. logstash
    runner.<init>
    1. logstash.runner.run(logstash/runner.rb:53)
    2. logstash.runner.main(logstash/runner.rb:13)
    3. logstash.runner.<init>(root)
    3 frames