Comments (5)
Sounds like a tokyocabinet problem; tccmpint32 is a tokyocabinet function, so I
bet libgrok can't find libtokyocabinet. You can confirm this by using 'ldd'
% ldd /usr/lib/libgrok.so.1 | grep tokyo
libtokyocabinet.so.9 => /usr/local/lib/libtokyocabinet.so.9 (0x00007f942ae87000)
Is libtokyocabinet.so (or similar) missing on your system? What version of
tokyocabinet do you have?
Original comment by [email protected]
on 28 Mar 2011 at 4:56
from logstash.
I do have tokyocabinet - I needed it to compile grok.
ldd only returns
# ldd /usr/lib/libgrok.so.1
linux-vdso.so.1 => (0x00007fffa79ff000)
libc.so.6 => /lib/libc.so.6 (0x00007fad26bd1000)
/lib/ld-linux-x86-64.so.2 (0x00007fad27175000)
tokyocabinet is ver 1.4.46-1
and I have /usr/lib/libtokyocabinet.so.9
Original comment by [email protected]
on 28 Mar 2011 at 5:44
from logstash.
Sounds like grok isn't linked properly. Yours is missing libdl, libpcre,
libevent, libtokyocabinet, etc.
linux-vdso.so.1 => (0x00007fffc89ff000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f4bb22d5000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007f4bb20a7000)
libevent-1.4.so.2 => /usr/lib/libevent-1.4.so.2 (0x00007f4bb1e8c000)
libtokyocabinet.so.9 => /usr/local/lib/libtokyocabinet.so.9 (0x00007f4bb1c09000)
libc.so.6 => /lib/libc.so.6 (0x00007f4bb1886000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4bb2713000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007f4bb166b000)
librt.so.1 => /lib/librt.so.1 (0x00007f4bb1463000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f4bb124a000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f4bb1038000)
libz.so.1 => /lib/libz.so.1 (0x00007f4bb0e21000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f4bb0c04000)
libm.so.6 => /lib/libm.so.6 (0x00007f4bb0980000)
If you compile libgrok with 'make libgrok.so' what does 'ldd ./libgrok.so' say
after building?
Original comment by [email protected]
on 28 Mar 2011 at 5:51
- Changed state: Accepted
from logstash.
Strange.
I recompiled and ran
make grok
instead of just make. It seems to have linked properly this time.
Thanks for your help.
logstash -f logstash-grep.yaml
I, [2011-03-28T21:07:00.518179 #13663] INFO -- logstash: Registering
file://<server>/var/log/messages
Original comment by [email protected]
on 28 Mar 2011 at 8:08
from logstash.
Sweet, glad it's working for you now :)
Original comment by [email protected]
on 28 Mar 2011 at 9:35
- Changed state: Fixed
from logstash.
Related Issues (20)
- Support watching files with inotify HOT 3
- Show list of agents, event statistics, and status HOT 1
- Histogram should be smart about the interval chosen. HOT 1
- Duplicate metadata when drilling into logs on logstash-web
- JRuby? HOT 3
- Allow dynamic outputs (for sharding/partitioning) HOT 4
- logstashed died after mass file rotation? HOT 1
- support amqp vhosts HOT 1
- jls-grok libffi dependency installs requires version unsupported with Ruby 1.8.x HOT 3
- Grok parsing results in all fields being arrays HOT 5
- Crash in grok (jruby) HOT 1
- Memory usage in jruby under high load HOT 3
- Grok filter would benefit from type hinting in captures HOT 4
- Make 'logstash-bug' tool similar to send-pr or perlbug
- Corrupt data coming out of logstash grok filter HOT 2
- Current gem (logstash-0.2.20110331121235) can't parse URI query strings HOT 2
- grok not linking to tokyocabinet HOT 11
- Adding some flexibility into Logstash HOT 2
- Feature Request - Syslog Hostname Resolution HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logstash.