# Unable to start Logstash

**URL:** <https://discuss.elastic.co/t/unable-to-start-logstash/95527>\
**Category:** Logstash\
**Created:** [August 2, 2017, 1:04pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527 "2017-08-02T13:04:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hoffin\_Ag](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@Hoffin\_Ag](https://discuss.elastic.co/u/Hoffin_Ag)\
**Post date:** [August 2, 2017, 1:04pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/1 "2017-08-02T13:04:00Z")

</div>

Hi,

logstash version - 2.3.4

logstash agent -f runconfig.conf  
shows the message  
prepend logstash prepend -j when using JRUBY.

how to resolve this issue

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 2, 2017, 1:05pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/2 "2017-08-02T13:05:03Z")

</div>

Please copy/paste the exact and complete message.

---

<div class="post-metadata">

**Author:** ![Hoffin\_Ag](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@Hoffin\_Ag](https://discuss.elastic.co/u/Hoffin_Ag)\
**Post date:** [August 2, 2017, 1:07pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/3 "2017-08-02T13:07:21Z")

</div>

Hi,

load Java programming language agent, see java.lang.instrument  
-splash:  
show splash screen with specified image  
See [http://www.oracle.com/technetwork/java/javase/documentation/index.html](http://www.oracle.com/technetwork/java/javase/documentation/index.html) for more details.  
(Prepend -J in front of these options when using 'jruby' command)

---

<div class="post-metadata">

**Author:** ![Hoffin\_Ag](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@Hoffin\_Ag](https://discuss.elastic.co/u/Hoffin_Ag)\
**Post date:** [August 2, 2017, 1:30pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/4 "2017-08-02T13:30:06Z")

</div>

Hi,

Any Configuration I need to Do?

---

<div class="post-metadata">

**Author:** ![Hoffin\_Ag](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@Hoffin\_Ag](https://discuss.elastic.co/u/Hoffin_Ag)\
**Post date:** [August 2, 2017, 7:14pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/5 "2017-08-02T19:14:35Z")

</div>

Any work around to solve this issue

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 2, 2017, 8:39pm UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/6 "2017-08-02T20:39:21Z")

</div>

> load Java programming language agent, see java.lang.instrument  
> -splash:  
> show splash screen with specified image  
> See [Java SE - Documentation](http://www.oracle.com/technetwork/java/javase/documentation/index.html) for more details.  
> (Prepend -J in front of these options when using ‘jruby’ command)

Is this really the only output you get? What JVM are you using (use `java -version` to find out)?

---

<div class="post-metadata">

**Author:** ![Hoffin\_Ag](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@Hoffin\_Ag](https://discuss.elastic.co/u/Hoffin_Ag)\
**Post date:** [August 3, 2017, 2:34am UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/7 "2017-08-03T02:34:00Z")

</div>

Hi,  
Java version 7 we are using .

---

<div class="post-metadata">

**Author:** ![Vishal\_Sharma1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vishal_sharma1/32/20207_2.png) [@Vishal\_Sharma1](https://discuss.elastic.co/u/Vishal_Sharma1)\
**Post date:** [August 3, 2017, 4:47am UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/8 "2017-08-03T04:47:33Z")

</div>

can you please show the output of  
$ java -version

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 3, 2017, 8:00am UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/9 "2017-08-03T08:00:50Z")

</div>

> Java version 7 we are using .

Recent versions of Logstash require Java 8. The documentation for your version of Logstash should tell you whether Java 7 is okay.

---

<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:** [August 31, 2017, 8:00am UTC](https://discuss.elastic.co/t/unable-to-start-logstash/95527/10 "2017-08-31T08:00:57Z")

</div>

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