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.
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:
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?