<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">No, again same:<br>
<br>
un 01 04:03:53 syslogserver systemd[1]: Failed to start System
Logger Daemon.<br>
-- Subject: Unit syslog-ng.service has failed<br>
-- Defined-By: systemd<br>
-- Support:
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
-- <br>
-- Unit syslog-ng.service has failed.<br>
-- <br>
-- The result is failed.<br>
Jun 01 04:03:53 syslogserver systemd[1]: Unit syslog-ng.service
entered failed state.<br>
Jun 01 04:03:53 syslogserver systemd[1]: syslog-ng.service failed.<br>
Jun 01 04:03:59 syslogserver dhclient[634]: DHCPREQUEST on eth0 to
192.168.111.3 port 67 (xid=0x5bedf46c)<br>
Jun 01 04:03:59 syslogserver dhclient[634]: DHCPACK from
192.168.111.3 (xid=0x5bedf46c)<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
address 192.168.111.233<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
plen 24 (255.255.255.0)<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
gateway 192.168.111.1<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
server identifier 192.168.111.3<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
lease time 120<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
hostname 'host-192-168-111-233'<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
nameserver '8.8.4.4'<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
nameserver '8.8.8.8'<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
domain name 'openstacklocal'<br>
Jun 01 04:03:59 syslogserver NetworkManager[608]: <info>
(eth0): DHCPv4 state changed bound -> bound<br>
Jun 01 04:03:59 syslogserver dbus[607]: [system] Activating via
systemd: service name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'<br>
Jun 01 04:03:59 syslogserver dbus-daemon[607]: dbus[607]: [system]
Activating via systemd: service
name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service'<br>
Jun 01 04:03:59 syslogserver dhclient[634]: bound to
192.168.111.233 -- renewal in 54 seconds.<br>
Jun 01 04:03:59 syslogserver systemd[1]: Starting Network Manager
Script Dispatcher Service...<br>
-- Subject: Unit NetworkManager-dispatcher.service has begun
start-up<br>
-- Defined-By: systemd<br>
-- Support:
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
-- <br>
-- Unit NetworkManager-dispatcher.service has begun starting up.<br>
Jun 01 04:03:59 syslogserver dbus[607]: [system] Successfully
activated service 'org.freedesktop.nm_dispatcher'<br>
Jun 01 04:03:59 syslogserver dbus-daemon[607]: dbus[607]: [system]
Successfully activated service 'org.freedesktop.nm_dispatcher'<br>
Jun 01 04:03:59 syslogserver nm-dispatcher[31487]: Dispatching
action 'dhcp4-change' for eth0<br>
Jun 01 04:03:59 syslogserver systemd[1]: Started Network Manager
Script Dispatcher Service.<br>
-- Subject: Unit NetworkManager-dispatcher.service has finished
start-up<br>
-- Defined-By: systemd<br>
-- Support:
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
-- <br>
-- Unit NetworkManager-dispatcher.service has finished starting
up.<br>
-- <br>
-- The start-up result is done.<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 06/01/2016 10:02 AM, Czanik, Péter
wrote:<br>
</div>
<blockquote
cite="mid:CANcUavtcRsBFyF5vD7u_CSbDxwuOYQtV1bFVxQEYQEE_km=yGQ@mail.gmail.com"
type="cite">
<div dir="ltr">Just the path name on a new line:<br>
<font face="Helvetica, Arial, sans-serif"><b>/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.91-0.b14.el7_2.x86_64/jre/lib/amd64/server</b></font><br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature" data-smartmail="gmail_signature">Peter
Czanik (CzP) <<a moz-do-not-send="true"
href="mailto:peter.czanik@balabit.com" target="_blank">peter.czanik@balabit.com</a>><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 10:00 AM, Ivan
Adji - Krstev <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:akivanradix@gmail.com" target="_blank">akivanradix@gmail.com</a>></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">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<span class="HOEnZb"><font
color="#888888"><br>
<br>
Ivan</font></span>
<div>
<div class="h5"><br>
<div>On 06/01/2016 09:48 AM, Czanik, Péter wrote:<br>
</div>
<blockquote 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 data-smartmail="gmail_signature">Peter
Czanik (CzP) <<a moz-do-not-send="true"
href="mailto:peter.czanik@balabit.com"
target="_blank">peter.czanik@balabit.com</a>><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"><<a
moz-do-not-send="true"
href="mailto:akivanradix@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:akivanradix@gmail.com">akivanradix@gmail.com</a></a>></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></fieldset>
<br>
<pre>______________________________________________________________________________
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>
</div>
</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>