Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplementedError: block device detection unsupported or native support failed to load #43

Closed
jordansissel opened this issue May 18, 2015 · 26 comments

Comments

@jordansissel
Copy link
Contributor

(This issue was originally filed by @widyanto at elastic/logstash#3146)


Hi,

I am trying to run logstash 1.5.0 RC3 on IBM AIX and got the following error:

<somefolder>/logstash-1.5.0-rc3> bin/logstash agent -f jda-phoenix-forwarder.conf
io/console not supported; tty will not be manipulated
NotImplementedError: block device detection unsupported or native support failed to load
       blockdev? at org/jruby/RubyFileTest.java:67
         device? at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/helper.rb:67
  _sincedb_write at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/tail.rb:230
   sincedb_write at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/tail.rb:203
        teardown at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/logstash-input-file-0.1.9/lib/logstash/inputs/file.rb:151
     inputworker at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc3-java/lib/logstash/pipeline.rb:203
     synchronize at org/jruby/ext/thread/Mutex.java:149
     inputworker at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc3-java/lib/logstash/pipeline.rb:203
     start_input at <somefolder>/logstash-1.5.0-rc3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc3-java/lib/logstash/pipeline.rb:171

I only have file input. Can anybody help?

Thanks

@daniilyar
Copy link

I am getting the same error after upgrading to logstash 1.5.0. Error gone when I switch back to 1.4.2

@StefanSa
Copy link

StefanSa commented Jun 1, 2015

Get the same problem here.

[root@logger01 /Software/logstash-1.5.0/bin]# ./logstash agent -f /usr/local/etc/logstash/logstash.conf
NotImplementedError: block device detection unsupported or native support failed to load
       blockdev? at org/jruby/RubyFileTest.java:67
         device? at /Software/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/helper.rb:67
  _sincedb_write at /Software/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/tail.rb:231
   sincedb_write at /Software/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/tail.rb:204
        teardown at /Software/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-input-file-0.1.10/lib/logstash/inputs/file.rb:151
     inputworker at /Software/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/pipeline.rb:203
     synchronize at org/jruby/ext/thread/Mutex.java:149
     inputworker at /Software/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/pipeline.rb:203
     start_input at /Software/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/pipeline.rb:171

Java Version

[root@logger01 /]# java -version
openjdk version "1.8.0_45"
OpenJDK Runtime Environment (build 1.8.0_45-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)

OS

uname -a
FreeBSD 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64

Jordan, can you fix this please.
I also went back to 1.4.x

@StefanSa
Copy link

StefanSa commented Jun 3, 2015

the same error with logstash 1.4.3, only v1.4.2 works

Using milestone 2 output plugin 'file'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.4.3/plugin-milestones {:level=>:warn}
NotImplementedError: stat.st_dev unsupported or native support failed to load
       dev_major at org/jruby/RubyFileStat.java:188
  _discover_file at /usr/local/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.5.1/lib/filewatch/watch.rb:140
            each at org/jruby/RubyArray.java:1613
  _discover_file at /usr/local/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.5.1/lib/filewatch/watch.rb:122
           watch at /usr/local/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.5.1/lib/filewatch/watch.rb:34
            tail at /usr/local/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.5.1/lib/filewatch/tail.rb:58
             run at /usr/local/logstash/lib/logstash/inputs/file.rb:130
            each at org/jruby/RubyArray.java:1613
             run at /usr/local/logstash/lib/logstash/inputs/file.rb:130
     inputworker at /usr/local/logstash/lib/logstash/pipeline.rb:163
     start_input at /usr/local/logstash/lib/logstash/pipeline.rb:157
[root@logger01 /usr/local/logstash/bin]# 

@franklinwise
Copy link

I have the same issue, can't even launch a cleanly installed server.

@jordansissel
Copy link
Contributor Author

For folks hitting this problem, can you comment with what hardware architecture, OS version, and Java version you are using?

@StefanSa
Copy link

Jordan,
with jruby version 1.7.20 the problem was solved on FreeBSD.

[root@logger01 /usr/local/logstash/vendor/jruby/bin]# ./jruby.sh -version
./jruby.sh: [[: not found
jruby 1.7.20 (1.9.3p551) 2015-05-04 3086e6a on OpenJDK 64-Bit Server VM 1.8.0_45-b14 +jit [FreeBSD-amd64]
NameError: undefined local variable or method `rsion' for main:Object
  (root) at -e:1

There were some bugs = < v1.7.19
jruby/jruby#1754

now the latest v1.5x logstash dev version work now.

@copolycube
Copy link

Hello,

I got the same issue with java / linux (also with logstash-1.5.0)

java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

Linux cmxi61b0 2.6.18-371.4.1.el5 #1 SMP Wed Jan 8 18:42:07 EST 2014 x86_64 x86_64 x86_64 GNU/Linux

LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.10 (Tikanga)
Release: 5.10
Codename: Tikanga

And the output :

NotImplementedError: block device detection unsupported or native support failed to load
blockdev? at org/jruby/RubyFileTest.java:67
device? at [somefolder]/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/helper.rb:67
_sincedb_write at [somefolder]/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/tail.rb:230
sincedb_write at [somefolder]/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/filewatch-0.6.2/lib/filewatch/tail.rb:203
teardown at [somefolder]/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-input-file-0.1.10/lib/logstash/inputs/file.rb:151
inputworker at [somefolder]/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/pipeline.rb:203
synchronize at org/jruby/ext/thread/Mutex.java:149
inputworker at [somefolder]/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/pipeline.rb:203
start_input at [somefolder]/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/pipeline.rb:171

( I used the [somefolder] tag as the local path, not significative, like the previous example).

I tried replacing the "vendor" jruby with a newer one moving the provided one to jruby-1.7.19_orig, and un-taring the 1.7.20.1 & linking it as a jruby directory :
vendor/jruby -> jruby-1.7.20.1/
vendor/jruby-1.7.19_orig/
vendor/jruby-1.7.20.1/

But got the same error. Is there anything to change in the "bundle" section, and if so, what ?

Thanks in advance for your help,

@copolycube
Copy link

Hello again,

I did a test with logstash-1.5.1, and the result is the same error (same server) :

$ cat minFail.conf
input {
file {
        path => "[somepath]/logs/*.log"
    }
  }
$ bin/logstash -v -f minFail.conf
Using version 0.1.x input plugin 'file'. This plugin isn't well supported by the community and likely has no maintainer. {:level=>:info}
Using version 0.1.x codec plugin 'plain'. This plugin isn't well supported by the community and likely has no maintainer. {:level=>:info}
Registering file input {:path=>["[some_log_path]/*.log"], :level=>:info}
No sincedb_path set, generating one based on the file path {:sincedb_path=>"[$HOME_path]/.sincedb_76a5b60438b037435534205aafe07352", :path=>["[some_log_path]/*.log"], :level=>:info}
Pipeline started {:level=>:info}
Logstash startup completed
Pipeline shutdown complete. {:level=>:info}
Logstash shutdown completed
NotImplementedError: block device detection unsupported or native support failed to load
       blockdev? at org/jruby/RubyFileTest.java:67
         device? at [somefolder]/logstash-1.5.1/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/helper.rb:67
  _sincedb_write at [somefolder]logstash-1.5.1/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/tail.rb:231
   sincedb_write at [somefolder]logstash-1.5.1/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/tail.rb:204
        teardown at [somefolder]logstash-1.5.1/vendor/bundle/jruby/1.9/gems/logstash-input-file-0.1.10/lib/logstash/inputs/file.rb:151
     inputworker at [somefolder]logstash-1.5.1/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.1-java/lib/logstash/pipeline.rb:202
     synchronize at org/jruby/ext/thread/Mutex.java:149
     inputworker at [somefolder]logstash-1.5.1/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.1-java/lib/logstash/pipeline.rb:202
     start_input at [somefolder]logstash-1.5.1/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.1-java/lib/logstash/pipeline.rb:170

I didn't tried changing the ruby version in the vendor section for the 1.5.1 since it seemed to have no effect the way I did it for the 1.5.0, and the jruby is already in 1.7.20 :

$ vendor/jruby/bin/jruby -v
jruby 1.7.20 (1.9.3p551) 2015-05-04 3086e6a on Java HotSpot(TM) 64-Bit Server VM 1.7.0_55-b13 +jit [linux-amd64]

Thanks in advance for any advice on how to bypass this issue

@kubum
Copy link

kubum commented Jul 3, 2015

I have the same issue on Mac OS X

@Ciciloveyou
Copy link

I have the same issue, anyone can help?

@fhoubart
Copy link

Hi,

I have the same issue in a Linux Debian 7, running in a virtual machine in VMWare ESXi 3.5, with logstash version 1.5.3:

# java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) Client VM (build 25.51-b03, mixed mode)

# vendor/jruby/bin/jruby -v
jruby 1.7.20 (1.9.3p551) 2015-05-04 3086e6a on Java HotSpot(TM) Client VM 1.8.0_51-b16 +jit [linux-i386]

# uname -a
Linux mydebian 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u1 i686 GNU/Linux

I had not the problem when using openjdk 1.7 but it appeared just after I switched to Oracle jre 1.8.

@fhoubart
Copy link

I switched back to OpenJDK 1.7.0 and it resolved the problem for me. I get a bunch of warning though:

# java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-1~deb7u1)
OpenJDK Client VM (build 24.79-b02, mixed mode, sharing)

# /opt/logstash-1.5.3/bin/logstash -f /etc/logstash
'[DEPRECATED] use `require 'concurrent'` instead of `require 'concurrent_ruby'`
[2015-07-24 11:22:33.153]  WARN -- Concurrent: [DEPRECATED] Java 7 is deprecated, please use Java 8.
Java 7 support is only best effort, it may not work. It will be removed in next release (1.0).
juil. 24, 2015 11:22:34 AM org.elasticsearch.node.internal.InternalNode <init>
INFOS: [logstash-mydebian-11323-13468] version[1.7.0], pid[11323], build[929b973/2015-07-16T14:31:07Z]
juil. 24, 2015 11:22:34 AM org.elasticsearch.node.internal.InternalNode <init>
INFOS: [logstash-mydebian-11323-13468] initializing ...
juil. 24, 2015 11:22:34 AM org.elasticsearch.plugins.PluginsService <init>
INFOS: [logstash-mydebian-11323-13468] loaded [], sites []
juil. 24, 2015 11:22:36 AM org.elasticsearch.bootstrap.Natives <clinit>
AVERTISSEMENT: JNA not found. native methods will be disabled.
juil. 24, 2015 11:22:37 AM org.elasticsearch.node.internal.InternalNode <init>
INFOS: [logstash-mydebian-11323-13468] initialized
juil. 24, 2015 11:22:37 AM org.elasticsearch.node.internal.InternalNode start
INFOS: [logstash-mydebian-11323-13468] starting ...
juil. 24, 2015 11:22:37 AM org.elasticsearch.transport.TransportService doStart
INFOS: [logstash-mydebian-11323-13468] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/10.1.52.56:9300]}
juil. 24, 2015 11:22:37 AM org.elasticsearch.discovery.DiscoveryService doStart
INFOS: [logstash-mydebian-11323-13468] elasticsearch/3XdLkW7qSAeV-QmxgGlBIg
juil. 24, 2015 11:22:41 AM org.elasticsearch.cluster.service.InternalClusterService$UpdateTask run
INFOS: [logstash-mydebian-11323-13468] detected_master [Schemer][mV8JmN0JQ_mhT6P0oRol0g][vna-dwlog01][inet[/10.1.52.150:9300]], added {[Schemer][mV8JmN0JQ_mhT6P0oRol0g][vna-dwlog01][inet[/10.1.52.150:9300]],}, reason: zen-disco-receive(from master [[Schemer][mV8JmN0JQ_mhT6P0oRol0g][vna-dwlog01][inet[/10.1.52.150:9300]]])
juil. 24, 2015 11:22:41 AM org.elasticsearch.node.internal.InternalNode start
INFOS: [logstash-mydebian-11323-13468] started

@Ciciloveyou
Copy link

Hello,
Thank you very much, but I try the version openjdk1.7.0-09, it not work. Because the version is too old. I try to update the version, no success. :) can you sent me the link to download the version openjdk1.7.79?
Thanks you help

Cici zhang

发自我的 iPhone

在 2015年7月24日,11:30,Florent Houbart [email protected] 写道:

I switched back to OpenJDK 1.7.0 and it resolved the problem for me. I get a bunch of warning though:

java -version

java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-1~deb7u1)
OpenJDK Client VM (build 24.79-b02, mixed mode, sharing)

/opt/logstash-1.5.3/bin/logstash -f /etc/logstash

'[DEPRECATED] use require 'concurrent' instead of require 'concurrent_ruby'
[2015-07-24 11:22:33.153] WARN -- Concurrent: [DEPRECATED] Java 7 is deprecated, please use Java 8.
Java 7 support is only best effort, it may not work. It will be removed in next release (1.0).
juil. 24, 2015 11:22:34 AM org.elasticsearch.node.internal.InternalNode
INFOS: [logstash-mydebian-11323-13468] version[1.7.0], pid[11323], build[929b973/2015-07-16T14:31:07Z]
juil. 24, 2015 11:22:34 AM org.elasticsearch.node.internal.InternalNode
INFOS: [logstash-mydebian-11323-13468] initializing ...
juil. 24, 2015 11:22:34 AM org.elasticsearch.plugins.PluginsService
INFOS: [logstash-mydebian-11323-13468] loaded [], sites []
juil. 24, 2015 11:22:36 AM org.elasticsearch.bootstrap.Natives
AVERTISSEMENT: JNA not found. native methods will be disabled.
juil. 24, 2015 11:22:37 AM org.elasticsearch.node.internal.InternalNode
INFOS: [logstash-mydebian-11323-13468] initialized
juil. 24, 2015 11:22:37 AM org.elasticsearch.node.internal.InternalNode start
INFOS: [logstash-mydebian-11323-13468] starting ...
juil. 24, 2015 11:22:37 AM org.elasticsearch.transport.TransportService doStart
INFOS: [logstash-mydebian-11323-13468] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/10.1.52.56:9300]}
juil. 24, 2015 11:22:37 AM org.elasticsearch.discovery.DiscoveryService doStart
INFOS: [logstash-mydebian-11323-13468] elasticsearch/3XdLkW7qSAeV-QmxgGlBIg
juil. 24, 2015 11:22:41 AM org.elasticsearch.cluster.service.InternalClusterService$UpdateTask run
INFOS: [logstash-mydebian-11323-13468] detected_master [Schemer][mV8JmN0JQ_mhT6P0oRol0g][vna-dwlog01][inet[/10.1.52.150:9300]], added {[Schemer][mV8JmN0JQ_mhT6P0oRol0g][vna-dwlog01][inet[/10.1.52.150:9300]],}, reason: zen-disco-receive(from master [[Schemer][mV8JmN0JQ_mhT6P0oRol0g][vna-dwlog01][inet[/10.1.52.150:9300]]])
juil. 24, 2015 11:22:41 AM org.elasticsearch.node.internal.InternalNode start
INFOS: [logstash-mydebian-11323-13468] started

Reply to this email directly or view it on GitHub.

@fhoubart
Copy link

Hi,
I did an apt-get install from an old debian 7, openjdk 1.7 is the lastest version available in the repository. I have tested this morning on a CentOS 7.0.1406 with the latest logstash version (1.5.3) and openJDK 1.8.0_51 and got no error:

# java -version
openjdk version "1.8.0_51"
OpenJDK Runtime Environment (build 1.8.0_51-b16)
OpenJDK 64-Bit Server VM (build 25.51-b03, mixed mode)

@Ciciloveyou
Copy link

Hi,
I just try, but it doesn't work. My version logstash is 1.5.2. I add the caption of my file configure(without plugin filter, only for test) and the error information,can you give me some suggestion?
Thank you!

发自我的 iPhone

在 2015年7月24日,14:56,Florent Houbart [email protected] 写道:

Hi,
I did an apt-get install from an old debian 7, openjdk 1.7 is the lastest version available in the repository. I have tested this morning on a CentOS 7.0.1406 with the latest logstash version (1.5.3) and openJDK 1.8.0_51 and got no error:

java -version

openjdk version "1.8.0_51"
OpenJDK Runtime Environment (build 1.8.0_51-b16)
OpenJDK 64-Bit Server VM (build 25.51-b03, mixed mode)

Reply to this email directly or view it on GitHub.

@Limskya
Copy link

Limskya commented Jul 27, 2015

Hi all ,
I got the same error too,
OS :openSuse 13.2 x64
Logstash:1.5.3
Java : java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)

And this morning i had to upgrade my jdk from 7 to 8

@iemem15
Copy link

iemem15 commented Aug 17, 2015

I go the same error too. Just updating logstash 1.5.3
OS: SLES 12 64 bits
Logstash 1.5.3
Java: java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)

@Limskya
Copy link

Limskya commented Aug 21, 2015

Got the same error when i use logstash 1.5.4
Something new ?

@lordofthings
Copy link

Hi all,

have same problem with this input module on logstash 1.5.4
OS: Debian 7.8
Logstash: 1:1.5.4-1

# java -version
java version "1.8.0_45" 
Java(TM) SE Runtime Environment (build 1.8.0_45-b14) 
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
# /opt/logstash/vendor/jruby/bin/jruby -v 
jruby 1.7.20 (1.9.3p551) 2015-05-04 3086e6a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_45-b14 +jit [linux-amd64]

Error from log:

NotImplementedError: block device detection unsupported or native support failed to load
       blockdev? at org/jruby/RubyFileTest.java:67
         device? at /opt/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.5/lib/filewatch/helper.rb:67
  _sincedb_write at /opt/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.5/lib/filewatch/tail.rb:232
   sincedb_write at /opt/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.5/lib/filewatch/tail.rb:205
        teardown at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-file-1.0.1/lib/logstash/inputs/file.rb:157
     inputworker at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/pipeline.rb:203
     synchronize at org/jruby/ext/thread/Mutex.java:149
     inputworker at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/pipeline.rb:203
     start_input at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.4-java/lib/logstash/pipeline.rb:171

I have configs of logstash like:

input {
  file {
    codec => "json"
    path => [
      "xxx/xxx/*.log"
    ]
    start_position => "xxx"
    type => "xxx"
    add_field => {
      "cluster" => "xxx"
      "gruppenname" => "xxx"
      "systemstagename" => "xxx"
      "virtual" => "physical"
      "host" => "xxx"
    }
    tags => ["xxx","xxx"]
  }
}

All this have worked fine with logstash 1.4.2 and the same java version.
I had directly updated to 1.5.4.

What I found out is that there must be some dependences to package libc6-dev. Installation of this package fix this error. But in my opinion it isn't a practicable solution for stable production systems.

greetings

@dragosrosculete
Copy link

A fix is to make a symlink .

ln -s /lib/x86_64-linux-gnu/libcrypt.so.1 /usr/lib/x86_64-linux-gnu/libcrypt.so

@lordofthings
Copy link

I dont't have this file /usr/lib/x86_64-linux-gnu/libcrypt.so because it comes from package libc6-dev. So why is it necessary to be installed when logstash package haven't any dependency on libc6-dev.

apt-cache show logstash
Package: logstash
Priority: extra
Section: default
Installed-Size: 139746
Maintainer: <[email protected]>
Architecture: all
Version: 1:1.5.4-1
Depends: logrotate
Filename: pool/main/l/logstash/logstash_1.5.4-1_all.deb
Size: 92744462
MD5sum: 2ed5a20a2091529aeb6574648a8123a2
SHA1: 40d8a1a2542613ab6f66b59554f711435393d71c
SHA256: e62ba75fe28f0446b1f4bb193e85a27199ac7ee54b5b35395836dce68795cfce
SHA512: 12ad11583d421d4e1d3871f975d6cb6747d4f83f7ccca22356d0698417b2c6d0992ec129791cd928e66b8c05ba97390d088161addceb4c267719cd8aa595d7fa
Description: An extensible logging pipeline
License: Apache 2.0
Vendor: Elasticsearch
Homepage: http://www.elasticsearch.org/overview/logstash/

The link on my systems shows to the library from libc6 as I haven't libc6-dev installed.

ls -ahl  /lib/x86_64-linux-gnu/libcrypt*
-rw-r--r-- 1 root root 35K Feb 22  2015 /lib/x86_64-linux-gnu/libcrypt-2.13.so
lrwxrwxrwx 1 root root  16 Feb 22  2015 /lib/x86_64-linux-gnu/libcrypt.so.1 -> libcrypt-2.13.so

@thorsten-rsc
Copy link

Hi,
I still get the error using logstash 2.1.0
OS: UnixSystemService on z/OS
JDK: IBM J9 1.7
The workaround using the symlink doesn't work, because on the mainframe there isn't any library like libcrypt.so
Anyone an idea?

@jordansissel
Copy link
Contributor Author

@thorsten-rsc I don't have any experience with z/OS nor IBM's JVM - neither are tested on.

I suspect your issue stems from JRuby (and maybe JSR POSIX?) not supporting z/ OS either, though I have no research to make that conclusion.

@sanciraV
Copy link

Same Issue on AIX 7100-03-05-1524 , IBM JDK ( 7 or 8 ) and logstash 2.2.2

@regina1978
Copy link

The same issue on AIX server
System Model: IBM,9117-570
Processor Type: PowerPC_POWER5
Processor Version: PV_5
CPU Type: 64-bit
Kernel Type: 64-bit
Memory Size: 10240 MB

IBM JDK 1.8.0

logstash 2.3.1

@suyograo
Copy link
Contributor

Dup of elastic/logstash#3127. Closing.

For folks reading this, there's a workaround in elastic/logstash#3127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests