# Unable to start logstash getting error

**URL:** https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093
**Category:** Logstash
**Created:** [March 29, 2018, 12:55pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093 "2018-03-29T12:55:09Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![Suman\_Reddy1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suman_reddy1/32/27303_2.png) [@Suman\_Reddy1](https://discuss.elastic.co/u/Suman_Reddy1)
#### Post date: [April 6, 2018, 12:40pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/21 "2018-04-06T12:40:09Z")

</div>

try below.

`logstash -e "input {stdin {}}output {stdout {}}" --debug`

Everything looks fine to me.. Some environment is the issue, coz- am able to run w/o any issues. @camarar also able to start logstash.

I feel something is wrong with your Java/Logstash. Dont mind but try a new copy of logstash. Lets give it a try. I know thats not a solution, but we can pinpoint that, the problem is with the installation or something else.

> [@Exception while starting Logstash \[LoadError: load error: jopenssl/load -- java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals\]](https://discuss.elastic.co/t/exception-while-starting-logstash-loaderror-load-error-jopenssl-load-java-lang-verifyerror-class-org-bouncycastle-asn1-asn1primitive-overrides-final-method-equals/51024):
>
> I am getting below exception while starting logstash [logstash-1.5.3]. Can any one please help me. LoadError: load error: jopenssl/load -- java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z require at org/jruby/RubyKernel.java:1072 (root) at /home/release/release\_independent/elk/logstash/logstash-1.5.3/vendor/jruby/lib/ruby/shared/openssl.rb:1 require at org/jruby/RubyKernel.java:1072 (root) at /home/release/release\_independe…

> <https://github.com/elastic/logstash/issues/7770>
>
> \- Version: logstash-2.4.0 and 5.5.0
> \- OS: macOS Sierra 10.12.5
> 
> \- Steps to re…produce:
> Command: bin/logstash or bin/logstash -f pipeline.conf (you don't even need to specify the filename and it blows up)
> 
> \- JDK: 
> ls -l /Library/Java/JavaVirtualMachines/
> total 0
> drwxr-xr-x 3 root wheel 102 Sep 21 2016 jdk1.8.0\_101.jdk
> 
> Issue:
> LoadError: load error: jopenssl/load -- java.lang.NoClassDefFoundError: org/bouncycastle/crypto/params/AsymmetricKeyParameter
> require at org/jruby/RubyKernel.java:1040
> (root) at /Users/nand/Development/elk/logstash-2.4.0/vendor/jruby/lib/ruby/shared/openssl.rb:1
> require at org/jruby/RubyKernel.java:1040
> (root) at /Users/nand/Development/elk/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/patches/stronger\_openssl\_defaults.rb:1
> require at org/jruby/RubyKernel.java:1040
> (root) at /Users/nand/Development/elk/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/patches/stronger\_openssl\_defaults.rb:2
> require at org/jruby/RubyKernel.java:1040
> (root) at /Users/nand/Development/elk/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/patches.rb:1
> require at org/jruby/RubyKernel.java:1040
> (root) at /Users/nand/Development/elk/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/patches.rb:5
> require at org/jruby/RubyKernel.java:1040
> (root) at /Users/nand/Development/elk/logstash-2.4.0/lib/bootstrap/environment.rb:68

You might have already visited those topics, just incase if you missed.

---

<div class="post-metadata">

### Author: ![camarar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camarar/32/20476_2.png) [@camarar](https://discuss.elastic.co/u/camarar)
#### Post date: [April 6, 2018, 12:46pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/22 "2018-04-06T12:46:33Z")

</div>

@Shiv_Gupta, Everything is ok.

Try to follow this step, please:

1. Start your Elasticsearch and wait Elasticsearch to start completly.
2. use the telnet command "telnet localhost 9200" and verify if your 9200 port is up.
3. Start your Logstash.

After this steps, send to us a print of your command window.

---

<div class="post-metadata">

### Author: ![Shiv\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiv_gupta/32/29716_2.png) [@Shiv\_Gupta](https://discuss.elastic.co/u/Shiv_Gupta)
#### Post date: [April 6, 2018, 4:29pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/23 "2018-04-06T16:29:22Z")

</div>

![logstash](https://us1.discourse-cdn.com/elastic/original/3X/c/c/cc943e4df0704d0d9d8231cf98c945e6722e2760.png) ![elasticsearch](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5a256bdf1237d3157359e20ed7d2b43a2a71628b.jpg) ![kibana](https://us1.discourse-cdn.com/elastic/original/3X/a/8/a81206f0ba8b35c92aed477cd2cac18937bdf9b0.jpg)

Hello camarar,

please find attached file for elasticsearch , kibana and logstash

elasticsearch and kibana is running without any issues but logstash is not at all starting.

---

<div class="post-metadata">

### Author: ![Suman\_Reddy1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suman_reddy1/32/27303_2.png) [@Suman\_Reddy1](https://discuss.elastic.co/u/Suman_Reddy1)
#### Post date: [April 6, 2018, 5:31pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/24 "2018-04-06T17:31:09Z")

</div>

Can u try with a different installation of Java and Logstash

---

<div class="post-metadata">

### Author: ![camarar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camarar/32/20476_2.png) [@camarar](https://discuss.elastic.co/u/camarar)
#### Post date: [April 6, 2018, 5:47pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/25 "2018-04-06T17:47:47Z")

</div>

@Shiv_Gupta,

Which files are there in \logstash\config ?

Now you are using a different logstash config file that you said.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/f/bfd849f657e9f44b3d3fdca5dab438c7989a926c.png)

Now you are using "logstash\_asc\_log.config"

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/9/99e85abd3e92d73ebddc12cfbb6d52cb7bcf6bb4.png)

What the difference between "test.config" and "logstash\_asc\_log.config"?

Could you please try one more thing before you go to @Suman_Reddy1 suggestion?

Try to execute logstash with this command: logstash -f [CONFIG\_FILE\_PATH] -t --debug  
ex: logstash -f ..\config\pipeline\test.config -t --debug

After this test, post here all result.

---

<div class="post-metadata">

### Author: ![Shiv\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiv_gupta/32/29716_2.png) [@Shiv\_Gupta](https://discuss.elastic.co/u/Shiv_Gupta)
#### Post date: [April 6, 2018, 6:27pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/26 "2018-04-06T18:27:06Z")

</div>

whatever suman suggested i already did that 3 days back but the same error.  
@camarar - there is no difference in the configuration its just i changes the file name and as you above suggested i did try just now but unfortunately the same response. find attached screen.

 ![logstash1](https://us1.discourse-cdn.com/elastic/original/3X/1/8/186ff4b232ff34608142c91cf5c12b9cf352ac86.png)

---

<div class="post-metadata">

### Author: ![camarar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camarar/32/20476_2.png) [@camarar](https://discuss.elastic.co/u/camarar)
#### Post date: [April 6, 2018, 6:43pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/27 "2018-04-06T18:43:44Z")

</div>

@Shiv_Gupta,

Are you forget this question... Which files are there in \logstash\config ?  
If possible, could you post a print this folder.

After this question, could you try one more test?

Try to execute logstash with this command: logstash --debug  
Then, post here all result.

---

<div class="post-metadata">

### Author: ![Shiv\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiv_gupta/32/29716_2.png) [@Shiv\_Gupta](https://discuss.elastic.co/u/Shiv_Gupta)
#### Post date: [April 6, 2018, 6:54pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/28 "2018-04-06T18:54:04Z")

</div>

attached config folder files and the result after executing the logstash --debug option

 ![test](https://us1.discourse-cdn.com/elastic/original/3X/0/9/093b0675c14e7a3bbe510eac158da82ab34d64e6.png) ![config](https://us1.discourse-cdn.com/elastic/original/3X/5/9/593c77bd4c268bb2f9aaa960401ee34685b5e079.png)

---

<div class="post-metadata">

### Author: ![camarar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camarar/32/20476_2.png) [@camarar](https://discuss.elastic.co/u/camarar)
#### Post date: [April 6, 2018, 7:00pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/29 "2018-04-06T19:00:43Z")

</div>

@Shiv_Gupta,

could you post a print these folders?

- \logstash-6.2.2\bin
- \logstash-6.2.2\

---

<div class="post-metadata">

### Author: ![Shiv\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiv_gupta/32/29716_2.png) [@Shiv\_Gupta](https://discuss.elastic.co/u/Shiv_Gupta)
#### Post date: [April 6, 2018, 7:17pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/30 "2018-04-06T19:17:07Z")

</div>

@camarar - find attached.

 ![logsta](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67465c3fc6acaa53b5bcaf7ba00d85a78f88d154.png) ![bin](https://us1.discourse-cdn.com/elastic/original/3X/3/e/3e08faa9244f415257a460959fb33de419c12a5e.png)

---

<div class="post-metadata">

### Author: ![darsan55](https://avatars.discourse-cdn.com/v4/letter/d/a698b9/32.png) [@darsan55](https://discuss.elastic.co/u/darsan55)
#### Post date: [April 6, 2018, 7:23pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/31 "2018-04-06T19:23:36Z")

</div>

> [@Suman\_Reddy1](#):
>
> logstash -e "input {stdin {}}output {stdout {}}" --debug

I am also having the same issue didn't find any solution yet.

---

<div class="post-metadata">

### Author: ![camarar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camarar/32/20476_2.png) [@camarar](https://discuss.elastic.co/u/camarar)
#### Post date: [April 6, 2018, 7:26pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/32 "2018-04-06T19:26:30Z")

</div>

@Shiv_Gupta,  
Could you check if are there any log file in \logstash-6.2.2\logs ?

If exist one file like "logstash-plain.txt", It open this file and delete all content and save this file.

After, try to start logstash again and send for us the new content inside the log file "logstash-plain.txt".

---

<div class="post-metadata">

### Author: ![Shiv\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiv_gupta/32/29716_2.png) [@Shiv\_Gupta](https://discuss.elastic.co/u/Shiv_Gupta)
#### Post date: [April 6, 2018, 7:26pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/33 "2018-04-06T19:26:53Z")

</div>

for me its something strange, initially it was working nicely then after few days suddenly started throwing the mentioned error and no clue what went wrong.

---

<div class="post-metadata">

### Author: ![darsan55](https://avatars.discourse-cdn.com/v4/letter/d/a698b9/32.png) [@darsan55](https://discuss.elastic.co/u/darsan55)
#### Post date: [April 6, 2018, 7:29pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/34 "2018-04-06T19:29:00Z")

</div>

Don't know its window latest version which is creating the problem may be.!

---

<div class="post-metadata">

### Author: ![darsan55](https://avatars.discourse-cdn.com/v4/letter/d/a698b9/32.png) [@darsan55](https://discuss.elastic.co/u/darsan55)
#### Post date: [April 6, 2018, 7:31pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/35 "2018-04-06T19:31:28Z")

</div>

@camarar  
There is no folder name "logs" in the path you have specified.

---

<div class="post-metadata">

### Author: ![Shiv\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiv_gupta/32/29716_2.png) [@Shiv\_Gupta](https://discuss.elastic.co/u/Shiv_Gupta)
#### Post date: [April 6, 2018, 7:32pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/36 "2018-04-06T19:32:07Z")

</div>

@camarar - I deleted all the content then ran again the same command but now i can see there is not content at all, its blank.

---

<div class="post-metadata">

### Author: ![Shiv\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiv_gupta/32/29716_2.png) [@Shiv\_Gupta](https://discuss.elastic.co/u/Shiv_Gupta)
#### Post date: [April 6, 2018, 7:33pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/37 "2018-04-06T19:33:39Z")

</div>

@darsan55 - I don't think so.

---

<div class="post-metadata">

### Author: ![darsan55](https://avatars.discourse-cdn.com/v4/letter/d/a698b9/32.png) [@darsan55](https://discuss.elastic.co/u/darsan55)
#### Post date: [April 6, 2018, 7:38pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/38 "2018-04-06T19:38:13Z")

</div>

@camarar, @Shiv_Gupta

Hi,

can you check out below link.  
[https://logstash.jira.com/browse/LOGSTASH-1227](https://logstash.jira.com/browse/LOGSTASH-1227)

> <https://github.com/elastic/logstash/issues/3002>

---

<div class="post-metadata">

### Author: ![Shiv\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shiv_gupta/32/29716_2.png) [@Shiv\_Gupta](https://discuss.elastic.co/u/Shiv_Gupta)
#### Post date: [April 6, 2018, 7:41pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/39 "2018-04-06T19:41:22Z")

</div>

@darsan55 - as per the above how to changes the logstash UUID any idea?

---

<div class="post-metadata">

### Author: ![camarar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/camarar/32/20476_2.png) [@camarar](https://discuss.elastic.co/u/camarar)
#### Post date: [April 6, 2018, 7:44pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093/40 "2018-04-06T19:44:09Z")

</div>

Could you check if exist some folder like this pattern jruby-XXXX in this path "C:\Users[YOUR\_USER]\AppData\Local\Temp" ?

If exist, delete all folders like this parttern and try start logstash again.

And tell us if start it correctly.

[Previous page](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093.md?page=1)

[Next page](https://discuss.elastic.co/t/unable-to-start-logstash-getting-error/126093.md?page=3)
