# Error running logstash

**URL:** <https://discuss.elastic.co/t/error-running-logstash/124678>\
**Category:** Logstash\
**Created:** [March 20, 2018, 4:11am UTC](https://discuss.elastic.co/t/error-running-logstash/124678 "2018-03-20T04:11:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yonder\_Rosales](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yonder\_Rosales](https://discuss.elastic.co/u/Yonder_Rosales)\
**Post date:** [March 20, 2018, 4:11am UTC](https://discuss.elastic.co/t/error-running-logstash/124678/1 "2018-03-20T04:11:23Z")

</div>

When i execute in terminal ./logstash -f logstash.conf  
it give me the next error

NameError: cannot load Java class org.apache.http.client.methods.HttpRequestBase  
for\_name at org/jruby/javasupport/JavaClass.java:204  
get\_proxy\_class at org/jruby/javasupport/JavaUtilities.java:34  
java\_import at file:/home/yonder/Descargas/logstash-5.6.8/vendor/jruby/lib/jruby.jar!/jruby/java/core\_ext/object.rb:27  
map at org/jruby/RubyArray.java:2414  
java\_import at file:/home/yonder/Descargas/logstash-5.6.8/vendor/jruby/lib/jruby.jar!/jruby/java/core\_ext/object.rb:22  
(root) at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/java\_extensions.rb:1  
require at org/jruby/RubyKernel.java:1040  
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65  
(root) at file:/home/yonder/Descargas/logstash-5.6.8/vendor/jruby/lib/jruby.jar!/jruby/kernel19/kernel.rb:1  
require\_relative at file:/home/yonder/Descargas/logstash-5.6.8/vendor/jruby/lib/jruby.jar!/jruby/kernel19/kernel.rb:13  
Manticore at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore.rb:44  
require at org/jruby/RubyKernel.java:1040  
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65  
(root) at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore.rb:14  
require at org/jruby/RubyKernel.java:1040  
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65  
(root) at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/http/manticore.rb:1  
require at org/jruby/RubyKernel.java:1040  
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65  
(root) at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-5.0.4/lib/elasticsearch/transport/transport/http/manticore.rb:1  
require at org/jruby/RubyKernel.java:1040  
require at /home/yonder/Descargas/logstash-5.6.8/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65  
(root) at /home/yonder/Descargas/logstash-5.6.8/logstash-core/lib/logstash/elasticsearch\_client.rb:1  
require at org/jruby/RubyKernel.java:1040  
(root) at /home/yonder/Descargas/logstash-5.6.8/lib/bootstrap/environment.rb:70

I have tried with different versions with the same result, please i really need the help  
Thanks

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [March 20, 2018, 5:43am UTC](https://discuss.elastic.co/t/error-running-logstash/124678/2 "2018-03-20T05:43:22Z")

</div>

- are you running from a released artifact, or from source?
- what is the value of `$JAVA_HOME`?
- what version of jruby is being loaded (`$LOGSTASH_HOME/bin/ruby --version`)?
- what operating system and architecture?

---

<div class="post-metadata">

**Author:** ![Yonder\_Rosales](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yonder\_Rosales](https://discuss.elastic.co/u/Yonder_Rosales)\
**Post date:** [March 21, 2018, 7:50pm UTC](https://discuss.elastic.co/t/error-running-logstash/124678/3 "2018-03-21T19:50:41Z")

</div>

Hi  
Thanks for your help  
The value of $JAVA\_HOME is /usr/lib/jvm/java-8-oracle  
the jruby version is = jruby 9.1.13.0 (2.3.3) 2017-09-06 8e1c115 Java HotSpot(TM) 64-Bit Server VM 25.161-b12 on 1.8.0\_161-b12 +jit [linux-x86\_64]

My operating system is Linux ubuntu 17.10, and architecture 64 bits

I don't understand whats are you minning with if i running from a released artifact, or from source?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [March 22, 2018, 2:16am UTC](https://discuss.elastic.co/t/error-running-logstash/124678/4 "2018-03-22T02:16:37Z")

</div>

Released artifacts are pre-built versioned packages and zip-files available for download from the [elastic.co](http://elastic.co) website, or through package managers like apt and yum.

Source is the source-code we use to develop the products, and is publicly available via [github.com](http://github.com)

Knowing the format of how you got the software helps us figure out if there is something wrong with the way it was packaged.

---

<div class="post-metadata">

**Author:** ![Yonder\_Rosales](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yonder\_Rosales](https://discuss.elastic.co/u/Yonder_Rosales)\
**Post date:** [March 24, 2018, 4:50pm UTC](https://discuss.elastic.co/t/error-running-logstash/124678/5 "2018-03-24T16:50:42Z")

</div>

I am running a realease artifact

---

<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 21, 2018, 4:50pm UTC](https://discuss.elastic.co/t/error-running-logstash/124678/6 "2018-04-21T16:50:51Z")

</div>

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