# To run Logstash 5.5.2 need any server like windows server 2008 r2?

**URL:** <https://discuss.elastic.co/t/to-run-logstash-5-5-2-need-any-server-like-windows-server-2008-r2/100059>\
**Category:** Logstash\
**Created:** [September 11, 2017, 1:07pm UTC](https://discuss.elastic.co/t/to-run-logstash-5-5-2-need-any-server-like-windows-server-2008-r2/100059 "2017-09-11T13:07:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramesh205](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@ramesh205](https://discuss.elastic.co/u/ramesh205)\
**Post date:** [September 11, 2017, 1:07pm UTC](https://discuss.elastic.co/t/to-run-logstash-5-5-2-need-any-server-like-windows-server-2008-r2/100059/1 "2017-09-11T13:07:09Z")

</div>

Steps:  
1.Downloaded latest logstash .zip file and unziped.  
2.Created logstash.conf file:  
input{stdin{}}  
output{stdout{}}  
3. In cmd prompt ran cd C:/Logstash5.5.2/bin/  
4.C:\logstash-5.5.2\bin\>logstash -f logstash.conf  
Microsystems was unexpected at this time.

when i follow the same steps in windows server 2008 r2, it was running fine.

can anyone let me know is really we need a server to run logstash.

---

<div class="post-metadata">

**Author:** ![kmsasidhar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmsasidhar/32/21838_2.png) [@kmsasidhar](https://discuss.elastic.co/u/kmsasidhar)\
**Post date:** [September 11, 2017, 1:33pm UTC](https://discuss.elastic.co/t/to-run-logstash-5-5-2-need-any-server-like-windows-server-2008-r2/100059/2 "2017-09-11T13:33:51Z")

</div>

Do you have proper Java version installed?

May be you can read this further:  
[https://www.elastic.co/guide/en/logstash/current/installing-logstash.html](https://www.elastic.co/guide/en/logstash/current/installing-logstash.html)

check this one as well:

> <https://github.com/elastic/elasticsearch/issues/26261>

---

<div class="post-metadata">

**Author:** ![ramesh205](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@ramesh205](https://discuss.elastic.co/u/ramesh205)\
**Post date:** [September 18, 2017, 8:09am UTC](https://discuss.elastic.co/t/to-run-logstash-5-5-2-need-any-server-like-windows-server-2008-r2/100059/3 "2017-09-18T08:09:00Z")

</div>

Yes,  
C:\>java -version  
Picked up JAVA\_TOOL\_OPTIONS: -Djava.vendor="Sun Microsystems Inc."  
java version "1.8.0\_121"  
Java(TM) SE Runtime Environment (build 1.8.0\_121-b13)  
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

But still i am facing same issue, not able to start logstash.

When i ran echo java home it came output as below:  
C:\>echo %JAVA\_HOME%  
C:\PROGRA~1\Java\JDK18~1.0\_1

---

<div class="post-metadata">

**Author:** ![kmsasidhar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmsasidhar/32/21838_2.png) [@kmsasidhar](https://discuss.elastic.co/u/kmsasidhar)\
**Post date:** [September 18, 2017, 10:20pm UTC](https://discuss.elastic.co/t/to-run-logstash-5-5-2-need-any-server-like-windows-server-2008-r2/100059/4 "2017-09-18T22:20:54Z")

</div>

What is the OS version you are trying to run Logstash on? Server OS is not required, it pretty much runs on any computer. I ran on win 7, it worked just fine. However, I use it in Linux environment extensively, so am not the best bet.

Which version of Logstash are you using?  
Where do you set -Djava.vendor value? In the environment variable?  
Can you remove quotes to "Sun Microsystems, Inc." and try again? Pl check the ref link I gave which has similar issues with ElasticSearch environment. You may get some hint.

I will try when I get some time and get back if I have reproduced and solved the problem.

---

<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:** [October 16, 2017, 10:21pm UTC](https://discuss.elastic.co/t/to-run-logstash-5-5-2-need-any-server-like-windows-server-2008-r2/100059/5 "2017-10-16T22:21:10Z")

</div>

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