Dear all,
as I am using Logstash only swith Solaris SPARC environment, I really had the hope that with the freshly released V1.5.1 I would no more run across this error. But I still did, as this example shows:
$ ./bin/logstash -V io/console not supported; tty will not be manipulated logstash 1.5.1 user@host :/tools/logstash $ ./bin/logstash -f config/test.conf io/console not supported; tty will not be manipulated NotImplementedError: stat.st_gid unsupported or native support failed to load gid at org/jruby/RubyFileStat.java:247 atomic_write at /tools/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/helper.rb:45 _sincedb_write at /tools/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/tail.rb:234 sincedb_write at /tools/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.6.3/lib/filewatch/tail.rb:204 teardown at /tools/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-file-0.1.10/lib/logstash/inputs/file.rb:151 inputworker at /tools/logstash/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 /tools/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.1-java/lib/logstash/pipeline.rb:202 start_input at /tools/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.1-java/lib/logstash/pipeline.rb:170
But after reading through all the linked entries regarding this error it all boiled down to quite a simple fact. It looked like a crypto-library was bugging me out, on whatever reason.
System-Traces pointed to the 'libcryptoutil' as the library in question, so I digged for it
$ find /usr/lib -name 'libcryptoutil*' -ls 2008 1 lrwxrwxrwx 1 root root 18 Mar 27 2009 /usr/lib/sparcv9/libcryptoutil.so -> libcryptoutil.so.1 2245 61 -rwxr-xr-x 1 root bin 62336 Aug 10 2010 /usr/lib/sparcv9/libcryptoutil.so.1 1792 1 lrwxrwxrwx 1 root root 20 Mar 27 2009 /usr/lib/libcryptoutil.so -> ./libcryptoutil.so.1 2151 55 -rwxr-xr-x 1 root bin 55376 Aug 10 2010 /usr/lib/libcryptoutil.so.1
So, I got this library twice, somehow. Then, I forced the path into using the sparc version of this library like so:
$ export LD_LIBRARY_PATH=/usr/lib/sparcv9/:$LD_LIBRARY_PATH user@host :/tools/logstash $ ./bin/logstash -f config/test.conf io/console not supported; tty will not be manipulated Logstash startup completed ^C SIGINT received. Shutting down the pipeline. {:level=>:warn} Logstash shutdown completed
So finally, after correcting my LD Path, I got everything running.
Hopefully this may help other users as well.
Kind Regards,
T. Nickel