<div dir="auto">You can either use the --prefix option that sets everything, or the more specific --sysconfdir<div dir="auto"><br></div><div dir="auto">See configure --help for other options where syslog-ng would be looking for its files.</div><div dir="auto"><br></div><div dir="auto">If you look at deb or rpm packaging scripts, those options are controlling paths.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On May 5, 2017 18:32, "vijay amruth" <<a href="mailto:vijayamruth@gmail.com">vijayamruth@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everybody:<div>Two quick questons, <div><br></div><div>.conf files got under /usr/loca/etc when compiled is there any way to say/ set it under /etc/sysconfig-ng during compilation and how de we compile without notify support ?</div></div><div><br></div><div>Thank you,</div><div>Have a nice day!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 4, 2017 at 11:51 PM, vijay amruth <span dir="ltr"><<a href="mailto:vijayamruth@gmail.com" target="_blank">vijayamruth@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 dir="ltr">Awesome!!!! <div>Right on dot. I commented that entry, restarted the process and it started working. Thank you so much!!!!!!!</div></div><div class="gmail_extra"><div><div class="m_5091125833864644049h5"><br><div class="gmail_quote">On Thu, May 4, 2017 at 11:17 PM, Scheidler, Balázs <span dir="ltr"><<a href="mailto:balazs.scheidler@balabit.com" target="_blank">balazs.scheidler@balabit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">The unit file states type=notify whereas syslog-ng may be compiled without notify support.<div dir="auto"><br></div><div dir="auto">That may explain the situation that syslog-ng is running but systemd thinks it didnt start up.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_5091125833864644049m_2153605823922082148h5">On May 5, 2017 1:25 AM, "vijay amruth" <<a href="mailto:vijayamruth@gmail.com" target="_blank">vijayamruth@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_5091125833864644049m_2153605823922082148h5"><div dir="ltr">
















<p class="MsoNormal">Hello Peter/ team, I am stuck with issue since four days, spent hours and hours,  I am unable find a cause, I compiled syslog-ng from source and resolved all the dependencies, when I get to start it, it wont start.  here is the out put, please have a look at it. Any help is appreciated.</p><p class="MsoNormal"><br></p><p class="MsoNormal">OS version : CentOS Linux release 7.3.1611 (Core)</p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">[root@my-host ~]# systemctl
start   syslog-ng.service<span></span></p>

<p class="MsoNormal"><span style="background-color:rgb(255,255,0)">Job for syslog-ng.service failed because a timeout was
exceeded.</span> See "systemctl status syslog-ng.service" and
"journalctl -xe" for details.<span></span></p>

<p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">[root@my-host ~]# systemctl
status syslog-ng.service<span></span></p>

<p class="MsoNormal">● syslog-ng.service - System Logger Daemon<span></span></p>

<p class="MsoNormal">   Loaded: loaded
(/usr/lib/systemd/system/syslo<wbr>g-ng.service; enabled; vendor preset: enabled)<span></span></p>

<p class="MsoNormal">   <span style="background-color:rgb(255,255,0)">Active: activating (start)</span> since Thu
2017-05-04 16:13:44 PDT; 29s ago<span></span></p>

<p class="MsoNormal">     Docs:
man:syslog-ng(8)<span></span></p>

<p class="MsoNormal"> Main PID: 5089
(syslog-ng)<span></span></p>

<p class="MsoNormal">   CGroup: /system.slice/syslog-ng.servic<wbr>e<span></span></p>

<p class="MsoNormal">           └─5089
/usr/sbin/syslog-ng -F -p /var/run/syslogd.pid<span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">May 04 16:13:44 my-host systemd[1]: Starting System Logger
Daemon...<span></span></p>

<p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">[root@my-host ~]# journalctl -xe<span></span></p>

<p class="MsoNormal">May 04 16:10:01 my-host systemd[1]: Starting Session 348 of
user root.<span></span></p>

<p class="MsoNormal">-- Subject: Unit session-348.scope has begun start-up<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support:
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- Unit session-348.scope has begun starting up.<span></span></p>

<p class="MsoNormal">May 04 16:10:21 my-host nslcd[1289]: [18832f] <group/member="root">
failed to bind to LDAP server ldap://ldap.vip.slc.e<span></span></p>

<p class="MsoNormal">May 04 16:10:21 my-host nslcd[1289]: [18832f]
<group/member="root"> no available LDAP server found: Can't
contact LDAP<span></span></p>

<p class="MsoNormal">May 04 16:10:21 my-host nslcd[1289]: [18832f]
<group/member="root"> no available LDAP server found: Server is
unavailab<span></span></p>

<p class="MsoNormal">May 04 16:10:21 my-host CROND[5035]: (root) CMD
(/usr/lib64/sa/sa1 1 1)<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host polkitd[676]: Registered
Authentication Agent for unix-process:5039:<a href="tel:(1)%20739%206299" value="+3617396299" target="_blank">17396299</a> (system bus name :<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host systemd[1]: Stopping Flush Journal
to Persistent Storage...<span></span></p>

<p class="MsoNormal">-- Subject: Unit systemd-journal-flush.service has begun
shutting down<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support:
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- Unit systemd-journal-flush.service has begun shutting
down.<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host systemd-journal[2711]: Journal
stopped<span></span></p>

<p class="MsoNormal">-- Subject: The journal has been
stopped<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support:
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- The system journal process has shut down and closed all
currently<span></span></p>

<p class="MsoNormal">-- active journal files.<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host systemd-journal[5046]: Runtime
journal is using 16.0M (max allowed 391.1M, trying to leave 586.<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host systemd-journal[5046]: Runtime
journal is using 16.0M (max allowed 391.1M, trying to leave 586.<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host systemd-journald[2711]: Received
SIGTERM from PID 1 (systemd).<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host systemd-journal[5046]: Journal
started<span></span></p>

<p class="MsoNormal">-- Subject: The journal has been
started<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support:
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- The system journal process has started up, opened the
journal<span></span></p>

<p class="MsoNormal">-- files for writing and is now ready to process requests.<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host polkitd[676]: Unregistered
Authentication Agent for unix-process:5039:<a href="tel:(1)%20739%206299" value="+3617396299" target="_blank">17396299</a> (system bus name<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host systemd[1]: Starting Flush Journal
to Persistent Storage...<span></span></p>

<p class="MsoNormal">-- Subject: Unit systemd-journal-flush.service has begun
start-up<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support:
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- Unit systemd-journal-flush.service has begun starting up.<span></span></p>

<p class="MsoNormal">May 04 16:10:23 my-host systemd[1]: Started Flush Journal to
Persistent Storage.<span></span></p>

<p class="MsoNormal">-- Subject: Unit systemd-journal-flush.service has finished
start-up<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support:
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- Unit systemd-journal-flush.service has finished starting
up.<span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- The start-up result is done.<span></span></p>

<p class="MsoNormal">May 04 16:12:14 my-host polkitd[676]: Registered
Authentication Agent for unix-process:5066:<a href="tel:(1)%20740%207401" value="+3617407401" target="_blank">17407401</a> (system bus name :<span></span></p>

<p class="MsoNormal">May 04 16:12:14 my-host systemd[1]: Starting System Logger
Daemon...<span></span></p>

<p class="MsoNormal">-- Subject: Unit syslog-ng.service has begun start-up<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support:
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- Unit syslog-ng.service has begun starting up.<span></span></p>

<p class="MsoNormal">May 04 16:13:08 my-host nslcd[1289]: [528108]
<group/member="postfix"> failed to bind to LDAP server
ldap://<a href="http://ldap.vip.sl" target="_blank">ldap.vip.sl</a><span></span></p>

<p class="MsoNormal">May 04 16:13:08 my-host nslcd[1289]: [528108]
<group/member="postfix"> no available LDAP server found: Can't
contact LD<span></span></p>

<p class="MsoNormal">May 04 16:13:08 my-host nslcd[1289]: [528108]
<group/member="postfix"> no available LDAP server found: Server
is unavai<span></span></p>

<p class="MsoNormal">May 04 16:13:44 my-host systemd[1]: syslog-ng.service start
operation timed out. Terminating.<span></span></p>

<p class="MsoNormal">May 04 16:13:44 my-host systemd[1]: Failed to start System
Logger Daemon.<span></span></p>

<p class="MsoNormal">-- Subject: Unit syslog-ng.service has failed<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support: <a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- Unit syslog-ng.service has failed.<span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- The result is failed.<span></span></p>

<p class="MsoNormal">May 04 16:13:44 my-host systemd[1]: Unit syslog-ng.service
entered failed state.<span></span></p>

<p class="MsoNormal">May 04 16:13:44 my-host systemd[1]: syslog-ng.service
failed.<span></span></p>

<p class="MsoNormal">May 04 16:13:44 my-host polkitd[676]: Unregistered
Authentication Agent for unix-process:5066:<a href="tel:(1)%20740%207401" value="+3617407401" target="_blank">17407401</a> (system bus name<span></span></p>

<p class="MsoNormal">May 04 16:13:44 my-host systemd[1]: syslog-ng.service
holdoff time over, scheduling restart.<span></span></p>

<p class="MsoNormal">May 04 16:13:44 my-host systemd[1]: Starting System Logger
Daemon...<span></span></p>

<p class="MsoNormal">-- Subject: Unit syslog-ng.service has begun start-up<span></span></p>

<p class="MsoNormal">-- Defined-By: systemd<span></span></p>

<p class="MsoNormal">-- Support:
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/m<wbr>ailman/listinfo/systemd-devel</a><span></span></p>

<p class="MsoNormal">--<span></span></p>

<p class="MsoNormal">-- Unit syslog-ng.service has begun starting up.<span></span></p>

<p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">[root@my-host ~]# ps -ef | grep
syslog-ng<span></span></p>

<p class="MsoNormal"><span style="background-color:rgb(255,255,0)">root      5089     1  0
16:13 ?        00:00:00
/usr/sbin/syslog-ng -F -p /var/run/syslogd.pid</span><span></span></p>

<p class="MsoNormal">root      5103
32598  0 16:14 pts/1    00:00:00 grep --color=auto syslog-ng<span></span></p>

<p class="MsoNormal">[root@my-host ~]# systemctl status syslog-ng.service<span></span></p>

<p class="MsoNormal">● syslog-ng.service - System Logger Daemon<span></span></p>

<p class="MsoNormal">   Loaded: loaded
(/usr/lib/systemd/system/syslo<wbr>g-ng.service; enabled; vendor preset: enabled)<span></span></p>

<p class="MsoNormal">   Active: activating
(start) since Thu 2017-05-04 16:13:44 PDT; 1min 6s ago<span></span></p>

<p class="MsoNormal">     Docs:
man:syslog-ng(8)<span></span></p>

<p class="MsoNormal"> Main PID: 5089
(syslog-ng)<span></span></p>

<p class="MsoNormal">   CGroup: /system.slice/syslog-ng.servic<wbr>e<span></span></p>

<p class="MsoNormal">           └─5089
/usr/sbin/syslog-ng -F -p /var/run/syslogd.pid<span></span></p>

<p class="MsoNormal"><span> </span></p>

<p class="MsoNormal">May 04 16:13:44 my-host systemd[1]: Starting System Logger
Daemon...<span></span></p>

<p class="MsoNormal">[root@my-host ~]#cat /usr/lib/systemd/system/syslog<wbr>-ng.service<span></span></p><p class="MsoNormal">[Unit]</p><p class="MsoNormal">Description=System Logger Daemon</p><p class="MsoNormal">Documentation=man:syslog-ng(8)</p><p class="MsoNormal"><br></p><p class="MsoNormal">[Service]</p><p class="MsoNormal">Type=notify</p><p class="MsoNormal">ExecStart=/usr/sbin/syslog-ng -F $SYSLOGNG_OPTS -p /var/run/syslogd.pid</p><p class="MsoNormal">ExecReload=/bin/kill -HUP $MAINPID</p><p class="MsoNormal">EnvironmentFile=-/etc/default/<wbr>syslog-ng</p><p class="MsoNormal">EnvironmentFile=-/etc/sysconfi<wbr>g/syslog-ng</p><p class="MsoNormal">StandardOutput=journal</p><p class="MsoNormal">StandardError=journal</p><p class="MsoNormal">Restart=on-failure</p><p class="MsoNormal">Environment=SYSTEMD_LOG_LEVEL=<wbr>debug</p><p class="MsoNormal"><br></p><p class="MsoNormal">[Install]</p><p class="MsoNormal">WantedBy=multi-user.target</p>

<div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div class="m_5091125833864644049m_2153605823922082148m_-8216949395522263134m_-2524221602538257057gmail_signature"><div dir="ltr"><div>Thanks,<div>Vijay Amrut.</div></div></div></div>
</div>
<br></div></div>______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailm<wbr>an/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support<wbr>/documentation/?product=syslog<wbr>-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/sy<wbr>slog-ng-faq</a><br>
<br>
<br></blockquote></div></div>
<br>______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailm<wbr>an/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support<wbr>/documentation/?product=syslog<wbr>-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/sy<wbr>slog-ng-faq</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_5091125833864644049HOEnZb"><font color="#888888">-- <br><div class="m_5091125833864644049m_2153605823922082148gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks,<div>Vijay Amrut.</div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_5091125833864644049gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks,<div>Vijay Amrut.</div></div></div></div>
</div>
<br>______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
<br></blockquote></div></div>