# The Signal HUP is in Use by JVM And can't be use by this Platform

**URL:** <https://discuss.elastic.co/t/the-signal-hup-is-in-use-by-jvm-and-cant-be-use-by-this-platform/59764>\
**Category:** Logstash\
**Created:** [September 4, 2016, 6:03pm UTC](https://discuss.elastic.co/t/the-signal-hup-is-in-use-by-jvm-and-cant-be-use-by-this-platform/59764 "2016-09-04T18:03:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dillip](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dillip/32/11763_2.png) [@Dillip](https://discuss.elastic.co/u/Dillip)\
**Post date:** [September 4, 2016, 6:03pm UTC](https://discuss.elastic.co/t/the-signal-hup-is-in-use-by-jvm-and-cant-be-use-by-this-platform/59764/1 "2016-09-04T18:03:22Z")

</div>

Hello , I am facing this problem while running in my windows machine, Window 8.1, Logstash 2.4,ES 2.3.5 And Kibana 4.5.4

Both ES and Kibana is running fine but when I am hitting below command from bin folder it is giving Above JVM problem. Reboot the system many times,

create the conf file and place it in c:\ drive and tried with below command ,it is still giving same error.

Here is the command I hit from the logstash Bin folder

logstash -f "c:\logstashemp.conf"

## below is the logstashemp.conf file:

input  
{  
file {  
path =\> "C:\Dillip\Employeeaddr.csv"  
type =\> "Employeeaddr"  
start\_position =\> "beginning"  
}  
}

filter  
{  
if[path]=~"Employeeaddr" {  
csv  
{  
columns =\> ["EMPID","Employeename","country"]  
separator =\> ","  
}  
}  
}

output  
{  
if[type]=~"Employeeaddr"{  
elasticsearch {  
host =\> "localhost:9200"  
action =\> "create"  
index =\> "Employeeaddr"

```
}

```

}

stdout{codec=\>rubydebug}  
}

any help is g8.. I saw various solution, it is not working for me..

---

<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:** [September 4, 2016, 6:10pm UTC](https://discuss.elastic.co/t/the-signal-hup-is-in-use-by-jvm-and-cant-be-use-by-this-platform/59764/2 "2016-09-04T18:10:29Z")

</div>

Don't worry about that message. See [Suppress signal HUP warnings on startup · Issue #5239 · elastic/logstash · GitHub](https://github.com/elastic/logstash/issues/5239).

Unrelated to any problems you might have but I thought I'd mention it:

> if[path]=~"Employeeaddr" {

Make this:

```
if [path] =~ /Employeeaddr/ {

```

---

<div class="post-metadata">

**Author:** ![Dillip](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dillip/32/11763_2.png) [@Dillip](https://discuss.elastic.co/u/Dillip)\
**Post date:** [September 7, 2016, 3:58am UTC](https://discuss.elastic.co/t/the-signal-hup-is-in-use-by-jvm-and-cant-be-use-by-this-platform/59764/3 "2016-09-07T03:58:30Z")

</div>

I tried with changing , it is still giving same issues.

I created another conf file and try to run in the verbose mode, it is giving below error. could not chalk out what is the error. I checked the sincedb\_path, it I giving 0 0 0 0, Not sure what is that means.

Microsoft Windows [Version 6.3.9600]  
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Dillip\>cd C:\Dillip\Software\logstash-2.4.0\logstash-2.4.0\bin

C:\Dillip\Software\logstash-2.4.0\logstash-2.4.0\bin\>logstash --verbose -f flogg  
ing.conf  
←[32mstarting agent {:level=\>:info}←[0m  
←[32mstarting pipeline {:id=\>"main", :level=\>:info}←[0m  
Settings: Default pipeline workers: 4  
←[32mRegistering file input {:path=\>["C:\Dillip\Logging\flogs\_1.csv"], :level  
=\>:info}←[0m  
←[32mNo sincedb\_path set, generating one based on the file path {:sincedb\_path=\>  
"C:\Users\Dillip/.sincedb\_2de42b473b475dd04f233804a0c2dc3e", :path=\>["C:\Dill  
ip\Logging\flogs\_1.csv"], :level=\>:info}←[0m  
←[31mPipeline aborted due to error {:exception=\>"LogStash::ConfigurationError",  
:backtrace=\>["C:/Dillip/Software/logstash-2.4.0/logstash-2.4.0/vendor/bundle/jru  
by/1.9/gems/logstash-core-2.4.0-java/lib/logstash/config/mixin.rb:88:in `config_ init'", "org/jruby/RubyHash.java:1342:in`each'", "C:/Dillip/Software/logstash-2  
.4.0/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/lo  
gstash/config/mixin.rb:72:in `config_init'", "C:/Dillip/Software/logstash-2.4.0/ logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstas h/outputs/base.rb:79:in`initialize'", "C:/Dillip/Software/logstash-2.4.0/logsta  
sh-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/outp  
ut\_delegator.rb:74:in `register'", "C:/Dillip/Software/logstash-2.4.0/logstash-2 .4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline .rb:181:in`start\_workers'", "org/jruby/RubyArray.java:1613:in `each'", "C:/Dill ip/Software/logstash-2.4.0/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash- core-2.4.0-java/lib/logstash/pipeline.rb:181:in`start\_workers'", "C:/Dillip/Sof  
tware/logstash-2.4.0/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2  
.4.0-java/lib/logstash/pipeline.rb:136:in `run'", "C:/Dillip/Software/logstash-2 .4.0/logstash-2.4.0/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/lo gstash/agent.rb:491:in`start\_pipeline'"], :level=\>:error}←[0m  
stopping pipeline {:id=\>"main"}  
←[32mClosing inputs {:level=\>:info}←[0m  
←[32mClosed inputs {:level=\>:info}←[0m  
The signal HUP is in use by the JVM and will not work correctly on this platform

C:\Dillip\Software\logstash-2.4.0\logstash-2.4.0\bin\>

I am attaching my Conf file for this above error.

input{

file {  
path =\> "C:\Dillip\Logging\flogs\_1.csv"  
type =\> "flogs"  
start\_position =\> "beginning"  
}  
}

filter{

if[path]=~"flogs" {  
csv{

```
columns => ["RepositoryName","StatementType","CIN","Date"]
    separator => ","
}

```

}  
}

output{

if[type]=~"flogs"{  
elasticsearch {  
host =\> "localhost:9200"  
action =\> "create"  
index =\> "flogs"

```
}

```

}

stdout{codec=\>rubydebug}  
}

Could you pls look at the log file and help me where is the error..

---

<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:** [September 7, 2016, 6:07am UTC](https://discuss.elastic.co/t/the-signal-hup-is-in-use-by-jvm-and-cant-be-use-by-this-platform/59764/4 "2016-09-07T06:07:58Z")

</div>

> host =\> "localhost:9200"

`host` was renamed to `hosts` in Logstash 2.0.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [October 5, 2016, 1:17pm UTC](https://discuss.elastic.co/t/the-signal-hup-is-in-use-by-jvm-and-cant-be-use-by-this-platform/59764/5 "2016-10-05T13:17:52Z")

</div>

> [@](#):
>
> The signal HUP is in use by the JVM and will not work correctly on this platform.

This message is not fatal to Logstash. If you are having configuration errors, they are not what is generating these messages. The HUP message is actually from [JRuby](https://github.com/jruby/jruby/blob/915993886ae6663586d893b7d237f750068aceb5/core/src/main/ruby/jruby/kernel/signal.rb#L35).

---

<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:** [July 6, 2017, 4:35am UTC](https://discuss.elastic.co/t/the-signal-hup-is-in-use-by-jvm-and-cant-be-use-by-this-platform/59764/6 "2017-07-06T04:35:38Z")

</div>


