Logstash on IBM AIX


(Matteo) #1

Hello,
I'm trying to do my first installation of logstash on an IBM AIX 7.1 environment.
I've tried to use different JRE version, from 1.7 to 1.8 but I always receive the following error:
io/console not supported; tty will not be manipulated
NoMethodError: undefined method `captures' for nil:NilClass
parse_java_version at /usr/src/logstash-1.5.3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.3-java/lib/logstash/util/java_version.rb:33
bad_java_version? at /usr/src/logstash-1.5.3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.3-java/lib/logstash/util/java_version.rb:51
warn_on_bad_java_version at /usr/src/logstash-1.5.3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.3-java/lib/logstash/util/java_version.rb:10
main at /usr/src/logstash-1.5.3/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.3-java/lib/logstash/runner.rb:32
(root) at /usr/src/logstash-1.5.3/lib/bootstrap/environment.rb:48

There is any way to make it works on my machines?

Thanks for any advice.


(Mark Walkom) #2

We don't support AIX sorry,.

I can see some people in the past have tried so you may be able to compile it there, but you are on your own I am afraid :frowning:


#3

I'm also working on an AIX installation. Logstash 1.5.1 seems to work, but versions 1.5.2 and 1.5.3 produce the same error you are receiving.

My environment:

# oslevel -s
7100-03-04-1441

# which java
/usr/java71_64//jre/bin/java
# java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pap6470_27sr3fp1-20150605_01(SR3 FP1))
IBM J9 VM (build 2.7, JRE 1.7.0 AIX ppc64-64 Compressed References 20150407_243189 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR3_20150407_1831_B243189
JIT  - tr.r13.java_20150406_89182
GC   - R27_Java727_SR3_20150407_1831_B243189_CMPRSS
J9CL - 20150407_243189)
JCL - 20150601_01 based on Oracle 7u79-b14

(Matteo) #4

So with an older version is working?
Nice to know :slight_smile:

For now I've solved using the logstash-forwarder-java, it works fine.
I'll try your solution too.

Thanks for the support!


(system) #5