# Logstash is not starting

**URL:** https://discuss.elastic.co/t/logstash-is-not-starting/245082
**Category:** Logstash
**Created:** [August 15, 2020, 8:13am UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082 "2020-08-15T08:13:04Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![H158880](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@H158880](https://discuss.elastic.co/u/H158880)
#### Post date: [August 15, 2020, 8:13am UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/1 "2020-08-15T08:13:05Z")

</div>

I am trying to initiate logstash how ever getting below error. Can this forum help?

C:\Users\h158880\Documents\lib\logstash-7.8.1\bin\>logstash -f apache\_logsatsh.conf  
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option UseConcMarkSweepGC; support was removed in 14.0  
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option CMSInitiatingOccupancyFraction; support was removed in 14.0  
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option UseCMSInitiatingOccupancyOnly; support was removed in 14.0  
WARNING: An illegal reflective access operation has occurred  
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/C:/Users/h158880/Documents/lib/logstash-7.8.1/logstash-core/lib/jars/jruby-complete-9.2.11.1.jar) to field java.io.Console.cs  
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules  
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
WARNING: All illegal access operations will be denied in a future release  
Sending Logstash logs to C:/Users/h158880/Documents/lib/logstash-7.8.1/logs which is now configured via log4j2.properties  
[2020-08-15T13:36:37,034][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2020-08-15T13:36:37,117][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"7.8.1", "jruby.version"=\>"jruby 9.2.11.1 (2.5.7) 2020-03-25 b1f55b1a40 Java HotSpot(TM) 64-Bit Server VM 14.0.2+12-46 on 14.0.2+12-46 +indy +jit [mswin32-x86\_64]"}  
[2020-08-15T13:36:37,616][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"C:/Users/h158880/Documents/lib/logstash-7.8.1/bin/apache\_logsatsh.conf"}  
[2020-08-15T13:36:37,649][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.  
[2020-08-15T13:36:38,084][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2020-08-15T13:36:42,983][INFO][logstash.runner] Logstash shut down.

---

<div class="post-metadata">

### Author: ![vivek.1011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivek.1011/32/73647_2.png) [@vivek.1011](https://discuss.elastic.co/u/vivek.1011)
#### Post date: [August 15, 2020, 8:26am UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/2 "2020-08-15T08:26:48Z")

</div>

put the config in the bin folder

---

<div class="post-metadata">

### Author: ![H158880](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@H158880](https://discuss.elastic.co/u/H158880)
#### Post date: [August 15, 2020, 8:29am UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/3 "2020-08-15T08:29:48Z")

</div>

it is placed in bin folder

---

<div class="post-metadata">

### Author: ![H158880](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@H158880](https://discuss.elastic.co/u/H158880)
#### Post date: [August 15, 2020, 9:14am UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/4 "2020-08-15T09:14:46Z")

</div>

I have tried installing Java 11 and Java 14 and same error. Any idea Vivek?

---

<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 15, 2020, 1:25pm UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/5 "2020-08-15T13:25:18Z")

</div>

> [@H158880](#):
>
> o config files found in path {:path=\>"C:/Users/h158880/Documents/lib/logstash-7.8.1/bin/apache\_logsatsh.conf"}

Maybe the actual file does not have the logsatsh typo in its name?

---

<div class="post-metadata">

### Author: ![H158880](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@H158880](https://discuss.elastic.co/u/H158880)
#### Post date: [August 15, 2020, 3:40pm UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/6 "2020-08-15T15:40:47Z")

</div>

still same. Typo i figured and changed the name. But still same error.

C:\Users\h158880\Documents\lib\logstash-7.8.1\bin\>logstash -f logstash.conf  
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.  
WARNING: An illegal reflective access operation has occurred  
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/C:/Users/h158880/Documents/lib/logstash-7.8.1/logstash-core/lib/jars/jruby-complete-9.2.11.1.jar) to field java.io.Console.cs  
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules  
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
WARNING: All illegal access operations will be denied in a future release  
Sending Logstash logs to C:/Users/h158880/Documents/lib/logstash-7.8.1/logs which is now configured via log4j2.properties  
[2020-08-15T21:09:34,222][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2020-08-15T21:09:34,465][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"7.8.1", "jruby.version"=\>"jruby 9.2.11.1 (2.5.7) 2020-03-25 b1f55b1a40 Java HotSpot(TM) 64-Bit Server VM 11.0.8+10-LTS on 11.0.8+10-LTS +indy +jit [mswin32-x86\_64]"}  
[2020-08-15T21:09:35,456][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"C:/Users/h158880/Documents/lib/logstash-7.8.1/bin/logstash.conf"}  
[2020-08-15T21:09:35,525][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.  
[2020-08-15T21:09:36,169][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2020-08-15T21:09:40,798][INFO][logstash.runner] Logstash shut down.

---

<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 15, 2020, 3:58pm UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/7 "2020-08-15T15:58:33Z")

</div>

> [@H158880](#):
>
> No config files found in path {:path=\>"C:/Users/h158880/Documents/lib/logstash-7.8.1/bin/logstash.conf"}

Enable log.level debug. If you get the debug message "Reading config file" then that suggests a permissions problem, logstash cannot read the file. If you do not get that debug message then Dir.glob of that path is not returning anything, which really suggests the file does not exist.

---

<div class="post-metadata">

### Author: ![H158880](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@H158880](https://discuss.elastic.co/u/H158880)
#### Post date: [August 15, 2020, 4:22pm UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/8 "2020-08-15T16:22:55Z")

</div>

> [@Badger](#):
>
> Enable log.level debug.

Using config.test\_and\_exit mode. Config Validation Result: OK. Exiting Logstash  
looks like config file is fine and is there in bin directory i just verified.

---

<div class="post-metadata">

### Author: ![vivek.1011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivek.1011/32/73647_2.png) [@vivek.1011](https://discuss.elastic.co/u/vivek.1011)
#### Post date: [August 16, 2020, 4:00am UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/9 "2020-08-16T04:00:07Z")

</div>

Maybe this will sound stupid but move the whole Logstash directory to C:  
Logstash causes problems in windows with long paths

---

<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: [September 13, 2020, 4:00am UTC](https://discuss.elastic.co/t/logstash-is-not-starting/245082/10 "2020-09-13T04:00:20Z")

</div>

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