# Logstash 6.2.2 unable to start

**URL:** <https://discuss.elastic.co/t/logstash-6-2-2-unable-to-start/124510>\
**Category:** Logstash\
**Created:** [March 19, 2018, 9:08am UTC](https://discuss.elastic.co/t/logstash-6-2-2-unable-to-start/124510 "2018-03-19T09:08:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dvikas](https://avatars.discourse-cdn.com/v4/letter/d/a9adbd/32.png) [@Dvikas](https://discuss.elastic.co/u/Dvikas)\
**Post date:** [March 19, 2018, 9:08am UTC](https://discuss.elastic.co/t/logstash-6-2-2-unable-to-start/124510/1 "2018-03-19T09:08:39Z")

</div>

I got the following error when i started logstash.

error no 1=\>[ERROR][logstash.pipeline] Error registering plugin {:pipeline\_id=\>"main", :plugin=\>"#\<LogStash::OutputDelegator:0x2edd9e81 @namespaced\_metric=#\<LogStash::Instrument::NamespacedMetric:0x78118e56 @metric=#\<LogStash::Instrument::Metric:0xa5c4fbb @collector=#\<LogStash::Instrument::Collector:0x56f17d26 @agent=nil, @metric\_store=#\<LogStash::Instrument::MetricStore:0x149ac8ef @store=#\<Concurrent:🗺0x00000000000fb0 entries=3 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x5501795a, @fast\_lookup=#\<Concurrent:🗺0x00000000000fb4 entries=63 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :main, :plugins, :outputs, :"062ae3e86ce32acad2bc0f2cde713967554395ab00cf86721d170e4eb0d08fe2"]\>

Error no 2=\>[ERROR][logstash.pipeline] Pipeline aborted due to error {:pipeline\_id=\>"main", :exception=\>java.io.IOException: Invalid keystore format, :backtrace=\>["sun.security.provider.JavaKeyStore.engineLoad(sun/security/provider/JavaKeyStore.java:658)", "sun.security.provider.JavaKeyStore$JKS.engineLoad(sun/security/provider/JavaKeyStore.java:56)", "sun.security.provider.KeyStoreDelegator.engineLoad(sun/security/provider/KeyStoreDelegator.java:224)", "sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(sun/security/provider/JavaKeyStore.java:70)", "java.security.KeyStore.load(java/security/KeyStore.java:1445)", "java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)", "org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:423)", "org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:290)", "home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.vendor.bundle.jruby.$2\_dot\_3\_dot\_0.gems.manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java.lib.manticore.client.block in get\_store(/home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb:683)", "org.jruby.RubyKernel.tap(org/jruby/RubyKernel.java:1741)", "org.jruby.RubyKernel$INVOKER$s$0$0$tap.call(org/jruby/RubyKernel$INVOKER$s$0$0$tap.gen)", "home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.vendor.bundle.jruby.$2\_dot\_3\_dot\_0.gems.manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java.lib.manticore.client.get\_store(/home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb:681)", "home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.vendor.bundle.jruby.$2\_dot\_3\_dot\_0.gems.manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java.lib.manticore.client.RUBY$method$get\_store$0$ **VARARGS** (home/splunk/Installation/$6\_dot\_6\_dot\_2\_ELK/logstash\_minus\_6\_dot\_2\_dot\_2/vendor/bundle/jruby/$2\_dot\_3\_dot\_0/gems/manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java/lib/manticore//home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb)", "home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.vendor.bundle.jruby.$2\_dot\_3\_dot\_0.gems.manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java.lib.manticore.client.setup\_trust\_store(/home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb:625)", "home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.vendor.bundle.jruby.$2\_dot\_3\_dot\_0.gems.manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java.lib.manticore.client.RUBY$method$ssl\_socket\_factory\_from\_options$0$ **VARARGS** (home/splunk/Installation/$6\_dot\_6\_dot\_2\_ELK/logstash\_minus\_6\_dot\_2\_dot\_2/vendor/bundle/jruby/$2\_dot\_3\_dot\_0/gems/manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java/lib/manticore//home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb)", "home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.vendor.bundle.jruby.$2\_dot\_3\_dot\_0.gems.manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java.lib.manticore.client.pool\_builder(/home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb:394)","home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.vendor.bundle.jruby.$2\_dot\_3\_dot\_0.gems.manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java.lib.manticore.client.RUBY$method$pool\_builder$0$ **VARARGS** (home/splunk/Installation/$6\_dot\_6\_dot\_2\_ELK/logstash\_minus\_6\_dot\_2\_dot\_2/vendor/bundle/jruby/$2\_dot\_3\_dot\_0/gems/manticore\_minus\_0\_dot\_6\_dot\_1\_minus\_java/lib/manticore//home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb)", "org.jruby.RubyClass$INVOKER$i$newInstance.call(org/jruby/RubyClass$INVOKER$i$newInstance.gen)", "home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.vendor.bundle.jruby.$2\_dot\_3\_dot\_0.gems.logstash\_minus\_output\_minus\_elasticsearch\_minus\_"home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.logstash\_minus\_core.lib.logstash.pipeline.RUBY$method$run$0$ **VARARGS** (home/splunk/Installation/$6\_dot\_6\_dot\_2\_ELK/logstash\_minus\_6\_dot\_2\_dot\_2/logstash\_minus\_core/lib/logstash//home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/logstash-core/lib/logstash/pipeline.rb)", "home.splunk.Installation.$6\_dot\_6\_dot\_2\_ELK.logstash\_minus\_6\_dot\_2\_dot\_2.logstash\_minus\_core.lib.logstash.pipeline.block in start(/home/splunk/Installation/6.6.2\_ELK/logstash-6.2.2/logstash-core/lib/logstash/pipeline.rb:249)", "org.jruby.RubyProc.call(org/jruby/RubyProc.java:289)", "org.jruby.RubyProc.call(org/jruby/RubyProc.java:246)", "java.lang.Thread.run(java/lang/Thread.java:748)"], :thread=\>"#\<Thread:0x5d08ebb4 run\>"}

error no 3=\>[ERROR][logstash.agent] Failed to execute action {:id=\>:main, :action\_type=\>LogStash::ConvergeResult::FailedAction, :message=\>"Could not execute action: LogStash::PipelineAction::Create/pipeline\_id:main, action\_result: false", :backtrace=\>nil}

for error no 2,I went to this link=https://github.com/elastic/logstash/commit/280722ea70e3ddca96204d44cd14bb37d789fc7e,here they are saying in the third file that is logstash-core/spec/logstash/config/mixin\_spec.rb to change.But the point is there is no such path exist.Correct me if i am wrong in problem solving approach.Please provide me solution for all the above errors.  
Now comes here my config file:- I didnt give any filter as it is optional.One more thing i like to add is that I am using search guard with elastic search so i gave user pwd ssl and those stuffs.  
input {  
beats {  
port =\> "5044"  
type =\> "weblog"

```
}

```

}

filter{

}

output {  
elasticsearch {  
user =\> user  
password =\> user  
ssl =\> true  
ssl\_certificate\_verification =\> true  
truststore =\> "some path which i gave"  
truststore\_password =\> pwd  
hosts =\> ["xx.xxx.xxx.xxx:9200"]  
sniffing =\> true  
index =\> "xyz"

}  
stdout { codec =\> rubydebug }  
}

---

<div class="post-metadata">

**Author:** ![atira](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/atira/32/28699_2.png) [@atira](https://discuss.elastic.co/u/atira)\
**Post date:** [March 31, 2018, 9:56pm UTC](https://discuss.elastic.co/t/logstash-6-2-2-unable-to-start/124510/2 "2018-03-31T21:56:25Z")

</div>

A bit old topic, but maybe...

Have you seen this part of your log?

> [@Dvikas](#):
>
> java.io.IOException: Invalid keystore format

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 28, 2018, 9:56pm UTC](https://discuss.elastic.co/t/logstash-6-2-2-unable-to-start/124510/3 "2018-04-28T21:56:26Z")

</div>

Closed on April 28, 2018, 9:56pm UTC

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