[syslog-ng] Elasticsearch with Syslog-ng

Czanik, Péter peter.czanik at balabit.com
Wed Jun 1 09:48:51 CEST 2016


Hi,

That only works for interactive sessions, systemctl does not take
environment variables from the shell. If you are sure, that only a single
Java version is used on your machine, I'd recommend adding the path to
/etc/ld.so.conf or into a separate file under /etc/ld.so.conf.d/

Bye,

Peter Czanik (CzP) <peter.czanik at balabit.com>
Balabit / syslog-ng upstream
http://czanik.blogs.balabit.com/
https://twitter.com/PCzanik

On Wed, Jun 1, 2016 at 9:37 AM, Ivan Adji - Krstev <akivanradix at gmail.com>
wrote:

> I have done that ...
> export
> LD_LIBRARY_PATH=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-0.b14.el7_2.x86_64/jre/lib/amd64/server:$LD_LIBRARY_PATH
> And i put this in ~/.bashrc and bash_profile file.
> and still can't start syslog-ng from systemctl
>
> Ivan
> On 06/01/2016 06:43 AM, Fabien Wernli wrote:
>
> On Wed, Jun 01, 2016 at 12:29:49AM +0200, Ivan Adji - Krstev wrote:
>
> And why when i execute like Syslog-NG -Fevd command works and i can see
> the logs but when i try to execute like "systemctl start syslog-ng" it
> Failed ?
>
> LD_LIBRARY path most likely. read Peter's blog about that again
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160601/21108d46/attachment.htm 


More information about the syslog-ng mailing list