[syslog-ng] syslog-ng 3.3.6 Hangs on Solaris 8 sparc

Rakesh Rajasekharan rakesh.rajasekharan at gmail.com
Wed Jan 30 10:47:29 CET 2013


Hi,

I have tried this with 3.3.7 and even with this version the syslog-ng
daemon hangs...( the prompt is not received back).
# /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

(prompt is not returned back)
The process though seems to be running

#  ps -ef|grep -i syslog
    root  3456  3450  0 04:47:16 pts/4    0:00 grep -i syslog
    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
#

Below is the debug output.

# /opt/soe/local/syslog-ng-3.3.7/sbin/syslog-ng -Fvde
nanosleep() is not accurate enough to introduce minor stalls on the reader
side, multi-threaded performance may be affected;
Trying to open module; module='affile',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libaffile.so'
Trying to open module; module='afprog',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafprog.so'
Trying to open module; module='afsocket',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafsocket.so'
Trying to open module; module='afuser',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafuser.so'
Trying to open module; module='basicfuncs',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libbasicfuncs.so'
Trying to open module; module='csvparser',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libcsvparser.so'
Trying to open module; module='dbparser',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libdbparser.so'
Trying to open module; module='syslogformat',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libsyslogformat.so'
Trying to open module; module='afstreams',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafstreams.so'
Starting to read include file;
filename='/opt/soe/local/syslog-ng-3.3.7/etc/scl.conf', depth='1'
Global value changed; define='scl-root',
value='/opt/soe/local/syslog-ng-3.3.7/share/include/scl'
Global value changed; define='include-path',
value='/opt/soe/local/syslog-ng-3.3.7/etc:/opt/soe/local/syslog-ng-3.3.7/share/include'
Starting to read include file;
filename='/opt/soe/local/syslog-ng-3.3.7/etc/modules.conf', depth='2'
Trying to open module; module='syslogformat',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libsyslogformat.so'
Attempted to register the same plugin multiple times, ignoring;
context='format', name='syslog'
Trying to open module; module='basicfuncs',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libbasicfuncs.so'
Attempted to register the same plugin multiple times, ignoring;
context='template-func', name='echo'
Attempted to register the same plugin multiple times, ignoring;
context='template-func', name='grep'
Attempted to register the same plugin multiple times, ignoring;
context='template-func', name='if'
Attempted to register the same plugin multiple times, ignoring;
context='template-func', name='indent-multi-line'
Trying to open module; module='afsocket',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafsocket.so'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='unix-stream'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='unix-stream'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='unix-dgram'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='unix-dgram'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='tcp'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='tcp'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='tcp6'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='tcp6'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='udp'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='udp'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='udp6'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='udp6'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='syslog'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='syslog'
Trying to open module; module='affile',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libaffile.so'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='file'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='pipe'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='file'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='pipe'
Trying to open module; module='afprog',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafprog.so'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='program'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='program'
Trying to open module; module='afuser',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafuser.so'
Attempted to register the same plugin multiple times, ignoring;
context='destination', name='usertty'
Trying to open module; module='dbparser',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libdbparser.so'
Attempted to register the same plugin multiple times, ignoring;
context='parser', name='db-parser'
Trying to open module; module='csvparser',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libcsvparser.so'
Attempted to register the same plugin multiple times, ignoring;
context='parser', name='csv-parser'
Finishing include;
filename='/opt/soe/local/syslog-ng-3.3.7/etc/modules.conf', depth='2'
Starting to read include file;
filename='/opt/soe/local/syslog-ng-3.3.7/share/include/scl/system/plugin.conf',
depth='2'
Trying to open module; module='confgen',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libconfgen.so'
Finishing include;
filename='/opt/soe/local/syslog-ng-3.3.7/share/include/scl/system/plugin.conf',
depth='2'
Starting to read include file;
filename='/opt/soe/local/syslog-ng-3.3.7/share/include/scl/pacct/plugin.conf',
depth='2'
Finishing include;
filename='/opt/soe/local/syslog-ng-3.3.7/share/include/scl/pacct/plugin.conf',
depth='2'
Starting to read include file;
filename='/opt/soe/local/syslog-ng-3.3.7/share/include/scl/syslogconf/plugin.conf',
depth='2'
Trying to open module; module='confgen',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libconfgen.so'
Finishing include;
filename='/opt/soe/local/syslog-ng-3.3.7/share/include/scl/syslogconf/plugin.conf',
depth='2'
Finishing include; filename='/opt/soe/local/syslog-ng-3.3.7/etc/scl.conf',
depth='1'
Trying to open module; module='afstreams',
filename='/opt/soe/local/syslog-ng-3.3.7/lib/syslog-ng/libafstreams.so'
Attempted to register the same plugin multiple times, ignoring;
context='source', name='sun-streams'
Finishing include; content='source confgen system', depth='1'
Running application hooks; hook='1'
Running application hooks; hook='3'
syslog-ng starting up; version='3.3.7'

Not sure if the issue points to some issues with my system or syslog-ng..

Thanks & Regards,
Rakesh.


On Fri, Dec 21, 2012 at 8:12 PM, Gergely Nagy <algernon at balabit.hu> wrote:

> Rakesh Rajasekharan <rakesh.rajasekharan at gmail.com> writes:
>
> > Hi All,
> >
> > I have compiled the syslog-ng version 3.3.6 on a Solaris Sparc machine .
> > The compilation went through fine but when I try to run syslog-ng ..
> though
> > the daemon gets running somehow the unix prompt is not returned..
> > and it hangs...
>
> Is there another syslogd running, perhaps? That can easily lock up
> syslog-ng. If not, then I'd like to ask you to try syslog-ng 3.3.7, as a
> few Solaris-related fixes went into that version, which might fix the
> problem you're experiencing.
>
> If not, then running truss on the process, and/or the output of
> syslog-ng -Fvde would be useful to see.
>
> --
> |8]
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130130/c40270db/attachment.htm 


More information about the syslog-ng mailing list