# Logstash windows version 6.3.2 wont start

**URL:** <https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664>\
**Category:** Logstash\
**Created:** [July 25, 2018, 8:53pm UTC](https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664 "2018-07-25T20:53:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiawang](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jiawang](https://discuss.elastic.co/u/jiawang)\
**Post date:** [July 25, 2018, 8:53pm UTC](https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664/1 "2018-07-25T20:53:23Z")

</div>

I am new to elastic. Just downloaded the version of logstash 6.3.2, and want to try it with other components (beat, elasticsearch, kibana). So far, beat, elasticsearch and kibanna are working. However, when i followed the steps described in [https://www.elastic.co/guide/en/logstash/current/configuration.html](https://www.elastic.co/guide/en/logstash/current/configuration.html), logstash wont start.

I have logstash window version 6.3.2 at my local machine, created logstash-simple.conf (following the link given above), and ran logstash.bat -f logstash-simple.conf. Then got the following message:

warning: ignoring JAVA\_OPTS= ; pass JVM parameters via LS\_JAVA\_OPTS

and logstash was not starting.

thanks.

---

<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:** [July 25, 2018, 9:41pm UTC](https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664/2 "2018-07-25T21:41:46Z")

</div>

> Then got the following message:
> 
> warning: ignoring JAVA\_OPTS= ; pass JVM parameters via LS\_JAVA\_OPTS

Is that really all you get?

---

<div class="post-metadata">

**Author:** ![jiawang](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jiawang](https://discuss.elastic.co/u/jiawang)\
**Post date:** [July 25, 2018, 10:13pm UTC](https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664/3 "2018-07-25T22:13:05Z")

</div>

Yes, this is what i got only. In fact, doesnt look like the config file is read. If I typed in any junk as config file name (for example: logstash.bat -f aaa), it responded me with the same message (warning: ignoring JAVA\_OPTS= ; pass JVM parameters via LS\_JAVA\_OPTS). In addition, if I started a new command line screen, and ran only logstash.bat without -f, it gave a different message (findstr...). But if i ran logstash.bat without -f again after running logstash.bat -f aaa, the message is "warning: ignoring JAVA\_OPTS= ; pass JVM parameters via LS\_JAVA\_OPTS"

I am attaching a screen shot here. Please note what I did is (1) started a brand new command line screen; (2) ran logstash.bat without -f, (3) ran logstash.bat -f aaa; (4) ran again logstash.bat.

thanks. ![command-line-run-logstash-07-25-2018-three-times](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e9551ae1ee7909d03a02c375b3f4d5069171a727.JPG)

---

<div class="post-metadata">

**Author:** ![memores](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@memores](https://discuss.elastic.co/u/memores)\
**Post date:** [July 31, 2018, 10:27am UTC](https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664/4 "2018-07-31T10:27:05Z")

</div>

Hello!  
I have similar error, when trying to start Logstash 6.3.2  
System: Windows Server 2012 R2  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b7f3e7e10b71d253aab624bfe8487b2bcd47e177.png)

Elastic and Kibana starts immediately with no error. Java is ok:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb690c95f8c661484a97ace9960ef9f823c7f145.png)

---

<div class="post-metadata">

**Author:** ![jiawang](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jiawang](https://discuss.elastic.co/u/jiawang)\
**Post date:** [August 2, 2018, 8:08pm UTC](https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664/5 "2018-08-02T20:08:19Z")

</div>

In fact, shifted to linux and docker side. The good things are that every piece of elastic stack including beat (metricbeat, filebeat), elasticsearch, logstash and kibana are working on both on rhel and docker.

so just forgot about what is not working on windows (at least for me)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 2, 2018, 10:24pm UTC](https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664/6 "2018-08-02T22:24:36Z")

</div>

Yes, if you set JAVA\_OPTS all you get is a warning that JAVA\_OPTS is set. It does not start logstash. I guess that the thought was that if the user has set JAVA\_OPTS then they want to configure a JVM, but not necessarily the logstash JVM. So rather than start a possibly misconfigured JVM, tell them to unset JAVA\_OPTS, set LS\_JAVA\_OPTS, and run it again.

---

<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 30, 2018, 10:24pm UTC](https://discuss.elastic.co/t/logstash-windows-version-6-3-2-wont-start/141664/7 "2018-08-30T22:24:40Z")

</div>

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