Comments (10)
the go version isn't ready for production.
Do 'git checkout c' to use the C version.
from logstash-forwarder.
Tried git checkout c and then ran make and still no luck:
Libraries have been installed in:
/root/git/lumberjack/build/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution - add LIBDIR to the `LD_RUN_PATH' environment variable
during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
make[6]: Nothing to be done for install-data-am'. make[6]: Leaving directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/src/libsodium'
make[5]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/src/libsodium' make[4]: Leaving directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/src/libsodium'
make[4]: Entering directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/src' make[5]: Entering directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/src'
make[5]: Nothing to be done for install-exec-am'. make[5]: Nothing to be done for
install-data-am'.
make[5]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/src' make[4]: Leaving directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/src'
make[3]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/src' Making install in test make[3]: Entering directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test'
Making install in default
make[4]: Entering directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test/default' make[5]: Entering directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test/default'
make[5]: Nothing to be done for install-exec-am'. make[5]: Nothing to be done for
install-data-am'.
make[5]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test/default' make[4]: Leaving directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test/default'
make[4]: Entering directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test' make[5]: Entering directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test'
make[5]: Nothing to be done for install-exec-am'. make[5]: Nothing to be done for
install-data-am'.
make[5]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test' make[4]: Leaving directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3/test'
make[3]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3/test' make[3]: Entering directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3'
make[4]: Entering directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3' make[4]: Nothing to be done for
install-exec-am'.
make[4]: Nothing to be done for install-data-am'. make[4]: Leaving directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3'
make[3]: Leaving directory /root/git/lumberjack/vendor/libsodium/libsodium-0.3' make[2]: Leaving directory
/root/git/lumberjack/vendor/libsodium/libsodium-0.3'
make[1]: Leaving directory `/root/git/lumberjack/vendor/libsodium'
go get -d github.com/alecthomas/gozmq
make: go: Command not found
make: *** [src/github.com/alecthomas/gozmq/zmq.go] Error 127
It is still looking for go. Is there a way to direct it to use c?
from logstash-forwarder.
I don't know what you are doing, but I see maybe 'c' conflicts in branch an dfile name, so I made a new branch 'original-c-version'
% git clone git://github.com/jordansissel/lumberjack.git
% git checkout original-c-version
% make
.... does stuff I expect ...
This works for me.
from logstash-forwarder.
That worked like a charm but when I run lumberjack to ship logs I see nothing but the following in the console:
2013-04-12T13:09:01.719-0700 flushing since nothing came in over zmq
2013-04-12T13:09:04.270-0700 flushing since nothing came in over zmq
2013-04-12T13:09:05.541-0700 flushing since nothing came in over zmq
2013-04-12T13:09:16.279-0700 flushing since nothing came in over zmq
2013-04-12T13:09:21.394-0700 flushing since nothing came in over zmq
2013-04-12T13:09:26.501-0700 flushing since nothing came in over zmq
2013-04-12T13:09:31.616-0700 flushing since nothing came in over zmq
2013-04-12T13:09:36.727-0700 flushing since nothing came in over zmq
2013-04-12T13:09:41.839-0700 flushing since nothing came in over zmq
2013-04-12T13:09:46.946-0700 flushing since nothing came in over zmq
The command I'm using is:
/opt/lumberjack/bin/lumberjack.sh --host log.common.wc --port 8140 --ssl-ca-path /opt/lumberjack/server.crt *log
----- Original Message -----
From: Jordan Sissel
Sent: 04/11/13 12:06 PM
To: jordansissel/lumberjack
Subject: Re: [lumberjack] Install: make error (#47)
null
I don't know what you are doing, but I see maybe 'c' conflicts in branch an dfile name, so I made a new branch 'original-c-version'
% git clone git://github.com/jordansissel/lumberjack.git % git checkout original-c-version % make .... does stuff I expect ...
This works for me.
—
Reply to this email directly or view it on GitHub #47 (comment) .
from logstash-forwarder.
but when I run lumberjack to ship logs I see nothing but the following in the console:
What do observe as the problem? How are you observing it?
from logstash-forwarder.
Closing idle. If this is still a problem please let me know! :)
from logstash-forwarder.
[root@webserver src]# gem install fpm
Successfully installed fpm-0.4.42
Installing ri documentation for fpm-0.4.42
/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
Done installing documentation for fpm after 13 seconds
1 gem installed
[root@webserver lumberjack]# make
Makefile:22: warning: overriding commands for target clean' Makefile.ext:15: warning: ignoring old commands for target
clean'
mkdir build
mkdir build/bin
PKG_CONFIG_PATH=$PWD/build/lib/pkgconfig
go build -ldflags '-r $ORIGIN/../lib' -v -o build/bin/lumberjack
/bin/sh: go: command not found
make: *** [build/bin/lumberjack] Error 127
[root@webserver lumberjack]# git checkout original-c-version
error: pathspec 'original-c-version' did not match any file(s) known to git.
from logstash-forwarder.
/bin/sh: go: command not found
You are missing 'go' and need to install it.
We will eventually be providing official builds of lumberjack to work around dependency burdens like this, but for now, you'll just need to install go.
error: pathspec 'original-c-version' did not match any file(s) known to git.
The version of lumberjack written in C is no longer supported.
from logstash-forwarder.
thanks !!!
installed in centos ... got this error ( /lib/init/vars.sh ==> deb ? )
/etc/init.d/lumberjack status
/etc/init.d/lumberjack: line 28: /lib/init/vars.sh: No such file or directory
Please give advice ?
from logstash-forwarder.
Sorry; the init script provided with lumberjack works on debian only (Yay incompatibilities!)
from logstash-forwarder.
Related Issues (20)
- Logstash Forwarder Keeps Rotated Files Open HOT 5
- Beta4 -> RC1, send fail
- logstash-forwarder tcp input HOT 4
- rotate logstash forwarder's log HOT 4
- Logstash-forwarder cannot get data from the beginning. HOT 2
- way to override 24hr inactivity in a file harvester? HOT 2
- logstash forwarder HOT 1
- how to exclude files using pattern HOT 1
- tailing log file not registering events (logstash forwarder with -tail=true) HOT 1
- Make offset field in LSF optional HOT 1
- Filebeat - transport.go:125: SSL client failed to connect with: read tcp connection reset by peer HOT 1
- logstash multiline codec not working as expected
- how to set logstash-forward encoding HOT 1
- Received fatal alert: bad_certificate HOT 2
- Minor miss in lumberjack documentation HOT 2
- Logstash-forwarder exclude gzip files HOT 7
- c HOT 1
- Run on the ARM (RaspberryPi) HOT 1
- Update Lumberjack documentation to latest
- How to update logstash 8.9.1 to 8.12.02
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-forwarder.