<div dir="ltr">Hi,<div><br></div><div style>I have tried this with 3.3.7 and even with this version the syslog-ng daemon hangs...( the prompt is not received back).</div><div style><div># /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog_ng/etc/syslog-ng/syslog-ng.conf -p /var/run/syslog-ng.pid</div>
<div><br></div><div style>(prompt is not returned back)</div><div style>The process though seems to be running</div><div style><br></div><div style><div>#  ps -ef|grep -i syslog</div><div>    root  3456  3450  0 04:47:16 pts/4    0:00 grep -i syslog</div>
<div>    root  3445  6926 47 04:46:14 pts/2    1:02 /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog_ng/etc/s</div><div>#</div><div><br></div></div></div><div style>Below is the debug output.</div><div style>
<br></div><div style><div># /opt/soe/local/syslog-ng-3.3.7/sbin/syslog-ng -Fvde</div><div>nanosleep() is not accurate enough to introduce minor stalls on the reader side, multi-threaded performance may be affected;</div><div>
Trying to open module; module=&#39;affile&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libaffile.so&#39;</div><div>Trying to open module; module=&#39;afprog&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafprog.so&#39;</div>
<div>Trying to open module; module=&#39;afsocket&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafsocket.so&#39;</div><div>Trying to open module; module=&#39;afuser&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafuser.so&#39;</div>
<div>Trying to open module; module=&#39;basicfuncs&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libbasicfuncs.so&#39;</div><div>Trying to open module; module=&#39;csvparser&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libcsvparser.so&#39;</div>
<div>Trying to open module; module=&#39;dbparser&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libdbparser.so&#39;</div><div>Trying to open module; module=&#39;syslogformat&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libsyslogformat.so&#39;</div>
<div>Trying to open module; module=&#39;afstreams&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafstreams.so&#39;</div><div>Starting to read include file; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/etc/scl.conf&#39;, depth=&#39;1&#39;</div>
<div>Global value changed; define=&#39;scl-root&#39;, value=&#39;/opt/soe/local/syslog-ng-3.3.7/share/include/scl&#39;</div><div>Global value changed; define=&#39;include-path&#39;, value=&#39;/opt/soe/local/syslog-ng-3.3.7/etc:/opt/soe/local/syslog-ng-3.3.7/share/include&#39;</div>
<div>Starting to read include file; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/etc/modules.conf&#39;, depth=&#39;2&#39;</div><div>Trying to open module; module=&#39;syslogformat&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libsyslogformat.so&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;format&#39;, name=&#39;syslog&#39;</div><div>Trying to open module; module=&#39;basicfuncs&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libbasicfuncs.so&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;template-func&#39;, name=&#39;echo&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;template-func&#39;, name=&#39;grep&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;template-func&#39;, name=&#39;if&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;template-func&#39;, name=&#39;indent-multi-line&#39;</div>
<div>Trying to open module; module=&#39;afsocket&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafsocket.so&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;unix-stream&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;unix-stream&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;unix-dgram&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;unix-dgram&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;tcp&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;tcp&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;tcp6&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;tcp6&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;udp&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;udp&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;udp6&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;udp6&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;syslog&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;syslog&#39;</div><div>Trying to open module; module=&#39;affile&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libaffile.so&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;file&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;pipe&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;file&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;pipe&#39;</div>
<div>Trying to open module; module=&#39;afprog&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafprog.so&#39;</div><div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;program&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;program&#39;</div><div>Trying to open module; module=&#39;afuser&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafuser.so&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;destination&#39;, name=&#39;usertty&#39;</div><div>Trying to open module; module=&#39;dbparser&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libdbparser.so&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;parser&#39;, name=&#39;db-parser&#39;</div><div>Trying to open module; module=&#39;csvparser&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libcsvparser.so&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;parser&#39;, name=&#39;csv-parser&#39;</div><div>Finishing include; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/etc/modules.conf&#39;, depth=&#39;2&#39;</div>
<div>Starting to read include file; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/share/include/scl/system/plugin.conf&#39;, depth=&#39;2&#39;</div><div>Trying to open module; module=&#39;confgen&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libconfgen.so&#39;</div>
<div>Finishing include; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/share/include/scl/system/plugin.conf&#39;, depth=&#39;2&#39;</div><div>Starting to read include file; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/share/include/scl/pacct/plugin.conf&#39;, depth=&#39;2&#39;</div>
<div>Finishing include; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/share/include/scl/pacct/plugin.conf&#39;, depth=&#39;2&#39;</div><div>Starting to read include file; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/share/include/scl/syslogconf/plugin.conf&#39;, depth=&#39;2&#39;</div>
<div>Trying to open module; module=&#39;confgen&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libconfgen.so&#39;</div><div>Finishing include; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/share/include/scl/syslogconf/plugin.conf&#39;, depth=&#39;2&#39;</div>
<div>Finishing include; filename=&#39;/opt/soe/local/syslog-ng-3.3.7/etc/scl.conf&#39;, depth=&#39;1&#39;</div><div>Trying to open module; module=&#39;afstreams&#39;, filename=&#39;/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafstreams.so&#39;</div>
<div>Attempted to register the same plugin multiple times, ignoring; context=&#39;source&#39;, name=&#39;sun-streams&#39;</div><div>Finishing include; content=&#39;source confgen system&#39;, depth=&#39;1&#39;</div><div>Running application hooks; hook=&#39;1&#39;</div>
<div>Running application hooks; hook=&#39;3&#39;</div><div>syslog-ng starting up; version=&#39;3.3.7&#39;</div></div><div style><br></div><div style>Not sure if the issue points to some issues with my system or syslog-ng..</div>
<div style><br></div><div style>Thanks &amp; Regards,</div><div style>Rakesh.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 8:12 PM, Gergely Nagy <span dir="ltr">&lt;<a href="mailto:algernon@balabit.hu" target="_blank">algernon@balabit.hu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Rakesh Rajasekharan &lt;<a href="mailto:rakesh.rajasekharan@gmail.com">rakesh.rajasekharan@gmail.com</a>&gt; writes:<br>

<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I have compiled the syslog-ng version 3.3.6 on a Solaris Sparc machine .<br>
&gt; The compilation went through fine but when I try to run syslog-ng .. though<br>
&gt; the daemon gets running somehow the unix prompt is not returned..<br>
&gt; and it hangs...<br>
<br>
</div>Is there another syslogd running, perhaps? That can easily lock up<br>
syslog-ng. If not, then I&#39;d like to ask you to try syslog-ng 3.3.7, as a<br>
few Solaris-related fixes went into that version, which might fix the<br>
problem you&#39;re experiencing.<br>
<br>
If not, then running truss on the process, and/or the output of<br>
syslog-ng -Fvde would be useful to see.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
|8]<br>
<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</font></span></blockquote></div><br></div>