Elastic runner exception on logstash startup

Hi Team,

I installed/configured Elastic, logstash, kabana on individual nodes.

I am seeing the below issue while logstash server startup, i followed this doc for logstash installations Installing Logstash (Optional) | Beats Platform Reference [5.4] | Elastic

[2017-05-30T00:01:16,386][INFO ][logstash.outputs.elasticsearch] Elasticsearch pool
URLs updated {:changes=>{:removed=>, :added=>[http://localhost:9200/, http://10.29
.144.38:9200/]}}
[2017-05-30T00:01:16,400][INFO ][logstash.outputs.elasticsearch] Running health chec
k to see if an Elasticsearch connection is working {:healthcheck_url=>http://localho
st:9200/, :path=>"/"}
[2017-05-30T00:01:16,510][WARN ][logstash.outputs.elasticsearch] Attempted to resurr
ect connection to dead ES instance, but got an error. {:url=>#<URI::HTTP:0x21b059e U
RL:http://localhost:9200/>, :error_type=>LogStash::Outputs::Elasticsearch::HttpClien
t::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://localhost
:9200/][Manticore::SocketException] Connection refused (Connection refused)"}
[2017-05-30T00:01:16,511][INFO ][logstash.outputs.elasticsearch] Running health chec
k to see if an Elasticsearch connection is working {:healthcheck_url=>http://10.29.1
44.38:9200/, :path=>"/"}
[2017-05-30T00:01:16,537][WARN ][logstash.outputs.elasticsearch] Restored connection
to ES instance {:url=>#<URI::HTTP:0x44c04590 URL:http://10.29.144.38:9200/>}
[2017-05-30T00:01:16,540][INFO ][logstash.outputs.elasticsearch] New Elasticsearch o
utput {:class=>"LogStash::Outputs::Elasticsearch", :hosts=>[#<URI::Generic:0x18025be
2 URL://localhost:9200>, #<URI::Generic:0x793ae832 URL://10.29.144.38:9200>]}
[2017-05-30T00:01:16,606][INFO ][logstash.pipeline ] Starting pipeline {"id"=

"main", "pipeline.workers"=>4, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>
5, "pipeline.max_inflight"=>500}
[2017-05-30T00:01:17,156][INFO ][logstash.inputs.beats ] Beats inputs: Starting i
nput listener {:address=>"0.0.0.0:5044"}
[2017-05-30T00:01:17,202][INFO ][logstash.pipeline ] Pipeline main started
[2017-05-30T00:01:17,624][FATAL][logstash.runner ] An unexpected error occu
rred! {:error=>#<SocketError: initialize: name or service not known>, :backtrace=>["
org/jruby/ext/socket/RubyTCPServer.java:115:in `initialize'", "org/jruby/RubyIO.java
:871:in `new'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/puma-2.16.0-java/l
ib/puma/binder.rb:234:in `add_tcp_listener'", "(eval):2:in `add_tcp_listener'", "/us
r/share/logstash/logstash-core/lib/logstash/webserver.rb:88:in `start_webserver'", "

Any thoughts please ?

Thanks,
Anil

Please format the log snippet as preformatted text (use the </> toolbar button) so that things don't get mangled. Specifically, what comes after "An unexpected error occurred! {:error=>#"? And what does your configuration look like?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.