[syslog-ng] Elasticsearch with Syslog-ng

Ivan Adji - Krstev akivanradix at gmail.com
Wed Jun 1 10:00:49 CEST 2016


Hi,
Iv add this in the /etc/ld.so.conf file*
**include ld.so.conf.d/*.conf**
**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*
But still nothing

Ivan
On 06/01/2016 09:48 AM, Czanik, Péter wrote:
> 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
> <mailto: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 <mailto: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
>
>
>
>
>
> ______________________________________________________________________________
> 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/0324235b/attachment.htm 


More information about the syslog-ng mailing list