<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/syslog-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.service<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">http://lists.freedesktop.org/mailman/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:17396299 (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">http://lists.freedesktop.org/mailman/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">http://lists.freedesktop.org/mailman/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">http://lists.freedesktop.org/mailman/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:17396299 (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">http://lists.freedesktop.org/mailman/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">http://lists.freedesktop.org/mailman/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:17407401 (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">http://lists.freedesktop.org/mailman/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">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">http://lists.freedesktop.org/mailman/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:17407401 (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">http://lists.freedesktop.org/mailman/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/syslog-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.service<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-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/syslog-ng</p><p class="MsoNormal">EnvironmentFile=-/etc/sysconfig/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=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="gmail_signature"><div dir="ltr"><div>Thanks,<div>Vijay Amrut.</div></div></div></div>
</div>