Closed GoogleCodeExporter closed 9 years ago
Fixed by a simple reinstall of tokyocabinet, missed the step in troubleshooting.
Original comment by nceth...@gmail.com
on 14 Apr 2011 at 6:37
But now I'm getting an error on the startup of logstash:
/usr/local/rvm/rubies/ruby-1.8.7-p334/lib/ruby/gems/1.8/gems/ffi-0.6.3/lib/ffi/l
ibrary.rb:61:in `ffi_lib': Could not open library 'libgrok.so': libgrok.so:
cannot open shared object file: No such file or directory. Could not open
library 'libgrok': libgrok: cannot open shared object file: No such file or
directory (LoadError)
Original comment by nceth...@gmail.com
on 14 Apr 2011 at 6:40
hmm. Where is libgrok.so on your system?
Original comment by jls.semi...@gmail.com
on 14 Apr 2011 at 7:45
/usr/lib/libgrok.so
Original comment by nceth...@gmail.com
on 14 Apr 2011 at 8:29
Hmm. Confusing!
Can you try running logstash with 'strace -o /tmp/strace.out -e trace=file' and
attaching the output (/tmp/strace.out) here? I wonder where ffi is looking for
libgrok.
Original comment by jls.semi...@gmail.com
on 14 Apr 2011 at 8:44
[deleted comment]
[deleted comment]
[deleted comment]
by looking at this:
open("/usr/local/rvm/rubies/ruby-1.8.7-p334/lib/libgrok.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/local/rvm/rubies/ruby-1.8.7-p334/lib/libgrok.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 7
open("/lib64/libgrok.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libgrok.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib64/libgrok.so", O_RDONLY) = -1 ENOENT (No such file or directory)
I put the libgrok in the /usr/lib64/ and it works perfectly now. Thanks for the
strace tip I've never used it before. Its a pretty awesome little tool.
Original comment by nceth...@gmail.com
on 15 Apr 2011 at 3:43
Original comment by jls.semi...@gmail.com
on 26 Apr 2011 at 1:35
Original issue reported on code.google.com by
nceth...@gmail.com
on 14 Apr 2011 at 6:33