syslog-ng 3.3.6 Hangs on Solaris 8 sparc
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... For ex:- # ps -ef|grep -i syslog root 14073 11758 0 07:11:37 pts/4 0:00 vi syslog-ng.d root 14097 13526 0 07:15:48 pts/1 0:00 grep -i syslog Now if I start the daemon using the below options... # /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 I never get back the prompt.. but if on another window I check.. the daemon has started.. ps -ef|grep -i syslog root 14099 11758 0 07:16:17 pts/4 0:00 grep -i syslog root 14098 13526 23 07:16:04 pts/1 0:13 /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog_ng/etc/s though I guess... i should expect one more child to this... can someone please help me address this issue please... Thanks, Rkaesh.
Rakesh Rajasekharan <rakesh.rajasekharan@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]
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@balabit.hu> wrote:
Rakesh Rajasekharan <rakesh.rajasekharan@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
I want to be able to run traditional syslogd and syslog-ng simultaneously for system logs and for a network monitoring application, respectively. What can I do to prevent each from affecting the other (specifically, preventing syslog-ng from killing syslogd by default)? The reason for this is that the system and application are run by different teams. I am running RHEL 5 and syslog-ng client 3.1.4. Thanks. Steve ------------- Steve Lee Technical Operations Center University Technology Services Emory University ------------- ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).
"Lee, Steve" <steve.lee@emory.edu> writes:
I want to be able to run traditional syslogd and syslog-ng simultaneously for system logs and for a network monitoring application, respectively. What can I do to prevent each from affecting the other (specifically, preventing syslog-ng from killing syslogd by default)?
To run them side by side, all you need to do is configure syslog-ng so that it does not try to read from, or write to the same resources syslogd does. The killing of syslogd is probably done by the packaging, how to prevent that, I'm afraid I can't tell, I'm not familiar with RHEL. If it helps, we probably have a similar situation in Debian, where the various syslog daemons conflict with each other, and only one can be installed at a time. To work around this issue, the easiest way is to build a custom package, that doesn't do this, and ship a configuration along with it, that does not conflict with the syslogd's config. -- |8]
any suggestions on the below issue please... On Wed, Jan 30, 2013 at 3:17 PM, Rakesh Rajasekharan < rakesh.rajasekharan@gmail.com> wrote:
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@balabit.hu> wrote:
Rakesh Rajasekharan <rakesh.rajasekharan@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
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:
any suggestions on the below issue please...
I wasn't able to reproduce the problem yet, but I only have easy access to solaris/amd64 (but imo, sparc shouldn't matter here), so a truss output would be useful. Something like: truss -d -l -o syslog-ng.truss -rall -vall syslog-ng -F .... This should produce enough details to give me some hints, hopefully. -- |8]
the truss itself does not return any o/p.... looks like something wrong with my machine..as I have the issue with all the version ( 3.3.6, 3.3.8). So, probably I will try getting another machine.. On Mon, Feb 4, 2013 at 8:32 PM, Gergely Nagy <algernon@balabit.hu> wrote:
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:
any suggestions on the below issue please...
I wasn't able to reproduce the problem yet, but I only have easy access to solaris/amd64 (but imo, sparc shouldn't matter here), so a truss output would be useful.
Something like:
truss -d -l -o syslog-ng.truss -rall -vall syslog-ng -F ....
This should produce enough details to give me some hints, hopefully.
-- |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
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:
the truss itself does not return any o/p.... looks like something wrong with my machine..as I have the issue with all the version ( 3.3.6, 3.3.8). So, probably I will try getting another machine..
The output will be sent to the syslog-ng.truss file, that's the output I'd be interested in. Also, since I learned about an interesting command on Solaris the other day: can you run "pstack $PID"? Where $PID is the pid of the hung syslog-ng process. The output of that command could provide hints aswell. -- |8]
yes..below is the o/p that i receive from pstack... # ps -ef|grep -i syslog root 27430 27421 46 01:37:54 ? 0:52 /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog_ng/etc/s root 27443 27435 0 01:38:47 pts/1 0:00 grep -i syslog # pstack 27430 27430: /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog ff154e50 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 2c fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30 ff0bc794 fork1 (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c ff0bc8d8 fork (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4 0001145c main (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138 00011068 _start (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c # pstack 27430 27430: /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog ff154e54 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 30 fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30 ff0bc794 fork1 (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c ff0bc8d8 fork (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4 0001145c main (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138 00011068 _start (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c # pstack 27430 27430: /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog ff154e50 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 2c fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30 ff0bc794 fork1 (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c ff0bc8d8 fork (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4 0001145c main (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138 00011068 _start (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c # On Fri, Feb 8, 2013 at 6:08 PM, Gergely Nagy <algernon@balabit.hu> wrote:
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:
the truss itself does not return any o/p.... looks like something wrong with my machine..as I have the issue with all the version ( 3.3.6, 3.3.8). So, probably I will try getting another machine..
The output will be sent to the syslog-ng.truss file, that's the output I'd be interested in.
Also, since I learned about an interesting command on Solaris the other day: can you run "pstack $PID"? Where $PID is the pid of the hung syslog-ng process. The output of that command could provide hints aswell.
-- |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
Has someone else also faced this issue as I have not been able to get this working. I have tried compiling on soalris 8 sparc and now solaris 9 sparc and all the versions 3.3.6 as well as 3.3.7. Both of them just hang without giving back the prompt. These are the compialtion options that I have used, ./configure --enable-dynamic-linking --prefix=/opt/soe/local/syslog-ng-3.3.7 --with-pidfile-dir=/var/run . Am i missing out something or is this a known issue as I could not figure out anything otherwise since my other compilations on RHEL have went fine. On Mon, Feb 11, 2013 at 12:17 PM, Rakesh Rajasekharan < rakesh.rajasekharan@gmail.com> wrote:
yes..below is the o/p that i receive from pstack...
# ps -ef|grep -i syslog root 27430 27421 46 01:37:54 ? 0:52 /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog_ng/etc/s root 27443 27435 0 01:38:47 pts/1 0:00 grep -i syslog # pstack 27430 27430: /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog ff154e50 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 2c fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30 ff0bc794 fork1 (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c ff0bc8d8 fork (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4 0001145c main (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138 00011068 _start (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c
# pstack 27430 27430: /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog ff154e54 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 30 fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30 ff0bc794 fork1 (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c ff0bc8d8 fork (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4 0001145c main (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138 00011068 _start (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c
# pstack 27430 27430: /opt/soe/local/syslog-ng-3.3.6/sbin/syslog-ng -f /opt/soe/local/syslog ff154e50 iv_signal_prepare (ff154e24, ff0d0000, 0, ff0d6be0, 0, ffbffc50) + 2c fee178ac run_prefork (fee40594, fee40594, 0, ff0d6000, 24738, fee40544) + 30 ff0bc794 fork1 (ff0d6000, ff0d0000, 24630, ff0d6be0, 0, ffbffc50) + 2c ff0bc8d8 fork (ff0d0000, 4, ff18a2ec, ff0d6000, 0, 1000) + 28 ff12110c g_process_start (12a68, ffbffd2c, 24630, fffff400, 0, ffbffc50) + 4a4 0001145c main (12800, 23000, ffbffd64, 230f0, 7d8, ffbffe14) + 138 00011068 _start (0, ffbffd4c, 1, ff3db728, ff3ee814, ff3ee000) + 5c #
On Fri, Feb 8, 2013 at 6:08 PM, Gergely Nagy <algernon@balabit.hu> wrote:
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:
the truss itself does not return any o/p.... looks like something wrong with my machine..as I have the issue with all the version ( 3.3.6, 3.3.8). So, probably I will try getting another machine..
The output will be sent to the syslog-ng.truss file, that's the output I'd be interested in.
Also, since I learned about an interesting command on Solaris the other day: can you run "pstack $PID"? Where $PID is the pid of the hung syslog-ng process. The output of that command could provide hints aswell.
-- |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
participants (3)
-
Gergely Nagy
-
Lee, Steve
-
Rakesh Rajasekharan