This the first time I am running syslog-ng 3.0.4 on Solaris 10. Following are the issues I am seeing: 1. Two processes of syslog-ng are running. Is this normal: root 15423 1 0 Aug 31 ? 0:00 /usr/local/sbin/syslog-ng root 15424 15423 0 Aug 31 ? 0:00 /usr/local/sbin/syslog-ng 2. I need to disable/enable syslog-ng multiple times to get syslog-ng online in Solaris SVCADM after updating conf file. 3. Also if I disable syslog-ng in Solaris SVCADM should the tw0 processes stop? Please help! # /usr/local/sbin/syslog-ng -V syslog-ng 3.0.4 Revision: ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.0#master#1b5d618e301ad94aa20e692ffba16469dece8d10 Compile-Date: Sep 2 2009 06:15:53 Enable-Threads: off Enable-Debug: off Enable-GProf: off Enable-Memtrace: off Enable-Sun-STREAMS: on Enable-Sun-Door: on Enable-IPv6: on Enable-Spoof-Source: on Enable-TCP-Wrapper: off Enable-SSL: on Enable-SQL: off Enable-Linux-Caps: off Enable-Pcre: on # uname -a SunOS usplsbavisp007 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V445 Thanks,
We need a FAQ item on this :-P Anyway, the first process is a monitor process. When syslog-ng starts itself up, it forks a copy off. The fork becomes the worker while the first monitors the worker and restarts it if it crashes. On some OSs and or ps arguments will show the first process as a different name "supervising syslog-ng", but yours apparently does not. As for questions 2 & 3, that depends on where you got your svc manifest file from and whats in it. You can also kill -HUP the syslog-ng process to get it to reload the config. This is desired over disable/enable as it doesnt shut the process down. -Patrick Sent: Friday, September 03, 2010 7:56:01 AM From: Riaz, Javed (WW Global Network Services) <javed.riaz@hp.com> To: syslog-ng@lists.balabit.hu <syslog-ng@lists.balabit.hu> Subject: [syslog-ng] syslog-ng on Solaris 10
This the first time I am running syslog-ng 3.0.4 on Solaris 10. Following are the issues I am seeing:
1. Two processes of syslog-ng are running. Is this normal: root 15423 1 0 Aug 31 ? 0:00 /usr/local/sbin/syslog-ng root 15424 15423 0 Aug 31 ? 0:00 /usr/local/sbin/syslog-ng
2. I need to disable/enable syslog-ng multiple times to get syslog-ng online in Solaris SVCADM after updating conf file.
3. Also if I disable syslog-ng in Solaris SVCADM should the tw0 processes stop?
Please help!
# /usr/local/sbin/syslog-ng -V syslog-ng 3.0.4 Revision: ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.0#master#1b5d618e301ad94aa20e692ffba16469dece8d10 Compile-Date: Sep 2 2009 06:15:53 Enable-Threads: off Enable-Debug: off Enable-GProf: off Enable-Memtrace: off Enable-Sun-STREAMS: on Enable-Sun-Door: on Enable-IPv6: on Enable-Spoof-Source: on Enable-TCP-Wrapper: off Enable-SSL: on Enable-SQL: off Enable-Linux-Caps: off Enable-Pcre: on
# uname -a SunOS usplsbavisp007 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V445
Thanks,
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
participants (2)
-
Riaz, Javed (WW Global Network Services)
-
syslogng@feystorm.net