# Windows 7 Logstash JRUBY Error

**URL:** <https://discuss.elastic.co/t/windows-7-logstash-jruby-error/124152>\
**Category:** Logstash\
**Created:** [March 15, 2018, 5:36pm UTC](https://discuss.elastic.co/t/windows-7-logstash-jruby-error/124152 "2018-03-15T17:36:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AloysiusParedes](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@AloysiusParedes](https://discuss.elastic.co/u/AloysiusParedes)\
**Post date:** [March 15, 2018, 5:36pm UTC](https://discuss.elastic.co/t/windows-7-logstash-jruby-error/124152/1 "2018-03-15T17:36:50Z")

</div>

Hi, I am new to the entire ELK Stack, and I am trying to set up Logstash. I followed all of the instructions (unzipping, setting up config file, starting Logstash). My setup is Windows 7, and my java version is 1.8.0\_51.

When I run the following command (pipeline.conf is my config file):  
`C:\Elastic\logstash-6.2.2\bin>logstash -f pipeline.conf`

I am getting the following error:

```
[ERROR] 2018-03-15 12:30:05.101 [main] Logstash - 
    java.lang.IllegalStateException: 
    org.jruby.exceptions.RaiseException: 
    (LoadError) Could not load FFI Provider: 
    (NotImplementedError) FFI not available: 
    com.kenai.jffi.Foreign.getVersion()I  
        See http://jira.codehaus.org/browse/JRUBY-4583

```

Here is what my config file:

```
    input {
    	stdin {
    	
    	}
    }

    #filter {
    #	grok {
    #		
    #	}
    #	date {
    #		
    #	}
    #}

    output {
    	stdout {
    		codec => rubydebug
    	}
    	#elasticsearch{
    	#	hosts => ["localhost:9200"]
    	#}
    }

```

Any help would be appreciated. [http://jira.codehaus.org/browse/JRUBY-4583](http://jira.codehaus.org/browse/JRUBY-4583) doesn't seem like a valid site. I have tried my exact process on a different machine, and Logstash works. I have been trying to look for a solution for about 2 days now. HELP PLS

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [March 15, 2018, 6:19pm UTC](https://discuss.elastic.co/t/windows-7-logstash-jruby-error/124152/2 "2018-03-15T18:19:51Z")

</div>

> [@AloysiusParedes](#):
>
> JRUBY-4583

Users in similar situation report user permissions issues with temporary directories:

- [LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: null · Issue #3002 · elastic/logstash · GitHub](https://github.com/elastic/logstash/issues/3002)
- [JRuby fails to load FFI support with obscure error when /tmp is not writable · Issue #1302 · jruby/jruby · GitHub](https://github.com/jruby/jruby/issues/1302)

Also possible is that the version of jruby you've got doesn't support the specific hardware architecture on that machine (e.g., processor family).

---

<div class="post-metadata">

**Author:** ![AloysiusParedes](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@AloysiusParedes](https://discuss.elastic.co/u/AloysiusParedes)\
**Post date:** [April 12, 2018, 2:00pm UTC](https://discuss.elastic.co/t/windows-7-logstash-jruby-error/124152/4 "2018-04-12T14:00:05Z")

</div>

The issue was being caused by an Enterprise application called AppSense.

---

<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:** [May 10, 2018, 2:00pm UTC](https://discuss.elastic.co/t/windows-7-logstash-jruby-error/124152/5 "2018-05-10T14:00:14Z")

</div>

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