<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hi, <br>
      Iv add this in the /etc/ld.so.conf file<b><br>
      </b><b>include ld.so.conf.d/*.conf</b><b><br>
      </b><b>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</b><br>
    </font>But still nothing<br>
    <br>
    Ivan<br>
    <div class="moz-cite-prefix">On 06/01/2016 09:48 AM, Czanik, Péter
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANcUavv1xjEt=KmM0d7aWgYxGSOdM7O1R9AG_NDzs_4VFWuAPQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi,<br>
          </div>
          <br>
          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/<br>
          <br>
        </div>
        Bye,<br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">Peter
            Czanik (CzP) &lt;<a moz-do-not-send="true"
              href="mailto:peter.czanik@balabit.com" target="_blank">peter.czanik@balabit.com</a>&gt;<br>
            Balabit / syslog-ng upstream<br>
            <a moz-do-not-send="true"
              href="http://czanik.blogs.balabit.com/" target="_blank">http://czanik.blogs.balabit.com/</a><br>
            <a moz-do-not-send="true" href="https://twitter.com/PCzanik"
              target="_blank">https://twitter.com/PCzanik</a></div>
        </div>
        <br>
        <div class="gmail_quote">On Wed, Jun 1, 2016 at 9:37 AM, Ivan
          Adji - Krstev <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:akivanradix@gmail.com" target="_blank">akivanradix@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <font
                face="Helvetica, Arial, sans-serif">I have done that ...
                <br>
                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<br>
                And i put this in ~/.bashrc and bash_profile file.<br>
                and still can't start syslog-ng from systemctl<br>
                <br>
                Ivan<br>
              </font>
              <div>On 06/01/2016 06:43 AM, Fabien Wernli wrote:<br>
              </div>
              <blockquote type="cite">
                <pre>On Wed, Jun 01, 2016 at 12:29:49AM +0200, Ivan Adji - Krstev wrote:
</pre>
                <blockquote type="cite">
                  <pre>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 ?
</pre>
                </blockquote>
                <pre>LD_LIBRARY path most likely. read Peter's blog about that again

______________________________________________________________________________
Member info: <a moz-do-not-send="true" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a moz-do-not-send="true" href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a moz-do-not-send="true" href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a>

</pre>
              </blockquote>
              <br>
            </div>
            <br>
______________________________________________________________________________<br>
            Member info: <a moz-do-not-send="true"
              href="https://lists.balabit.hu/mailman/listinfo/syslog-ng"
              rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
            Documentation: <a moz-do-not-send="true"
              href="http://www.balabit.com/support/documentation/?product=syslog-ng"
              rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
            FAQ: <a moz-do-not-send="true"
              href="http://www.balabit.com/wiki/syslog-ng-faq"
              rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
            <br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">______________________________________________________________________________
Member info: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.balabit.com/wiki/syslog-ng-faq">http://www.balabit.com/wiki/syslog-ng-faq</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>