# Failed to run logstash with NotImplementedError

**URL:** https://discuss.elastic.co/t/failed-to-run-logstash-with-notimplementederror/275238
**Category:** Logstash
**Created:** [June 8, 2021, 7:01am UTC](https://discuss.elastic.co/t/failed-to-run-logstash-with-notimplementederror/275238 "2021-06-08T07:01:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tod-yangyd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tod-yangyd/32/89969_2.png) [@tod-yangyd](https://discuss.elastic.co/u/tod-yangyd)
#### Post date: [June 8, 2021, 7:01am UTC](https://discuss.elastic.co/t/failed-to-run-logstash-with-notimplementederror/275238/1 "2021-06-08T07:01:52Z")

</div>

Errors when running logstash (solaris10 SPARCS version)  
java\_version : oracle jdk 1.8  
I noticed that there was a reference to ubuntu's add "libc6-dev" on the Internet, but this does not apply to solaris.

```auto
warning: thread "[main]<file" terminated with exception (report_on_exception is true):
NotImplementedError: block device detection unsupported or native support failed to load; see http://wiki.jruby.org/Native-Libraries
                     blockdev? at org/jruby/RubyFileTest.java:67
                    initialize at /data/tuxedo/logstash-7.3.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.1.10/lib/filewatch/sincedb_collection.rb:20
  build_watch_and_dependencies at /data/tuxedo/logstash-7.3.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.1.10/lib/filewatch/observing_base.rb:62
                    initialize at /data/tuxedo/logstash-7.3.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.1.10/lib/filewatch/observing_base.rb:56
              start_processing at /data/tuxedo/logstash-7.3.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.1.10/lib/logstash/inputs/file.rb:332
                           run at /data/tuxedo/logstash-7.3.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.1.10/lib/logstash/inputs/file.rb:337
                   inputworker at /data/tuxedo/logstash-7.3.2/logstash-core/lib/logstash/java_pipeline.rb:309
                   start_input at /data/tuxedo/logstash-7.3.2/logstash-core/lib/logstash/java_pipeline.rb:302

```

Others mentioned the update libcrypt.so. Because I'm not very familiar with this. Here are the results of my query：

```auto
bash-3.00$ ls -altr /usr/lib/|grep libcrypt
-rwxr-xr-x 1 root bin 13960 Jan 23 2005 libcrypt_i.so.1
-rwxr-xr-x 1 root bin 46584 May 17 2007 libcrypt_d.so.1
-rwxr-xr-x 1 root bin 55376 Aug 11 2010 libcryptoutil.so.1
lrwxrwxrwx 1 root root 17 Aug 8 2012 libcrypt_i.so -> ./libcrypt_i.so.1
lrwxrwxrwx 1 root root 20 Aug 8 2012 libcryptoutil.so -> ./libcryptoutil.so.1
lrwxrwxrwx 1 root other 13 Aug 8 2012 libcrypt.so -> libcrypt_d.so
lrwxrwxrwx 1 root other 15 Aug 8 2012 libcrypt.so.1 -> libcrypt_d.so.1
lrwxrwxrwx 1 root root 17 Aug 8 2012 libcrypt_d.so -> ./libcrypt_d.so.1
bash-3.00$ ls -altr lib/|grep libcrypt

```

**Can someone tell me what to do?**

---

<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: [June 8, 2021, 8:08pm UTC](https://discuss.elastic.co/t/failed-to-run-logstash-with-notimplementederror/275238/2 "2021-06-08T20:08:41Z")

</div>

> [@tod-yangyd](#):
>
> Can someone tell me what to do?

Read the wiki page that the error message links to and follows the instructions under First Steps.

---

<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, 2021, 8:09pm UTC](https://discuss.elastic.co/t/failed-to-run-logstash-with-notimplementederror/275238/3 "2021-07-06T20:09:31Z")

</div>

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