<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#0050d0">
<font size="-1"><font face="Helvetica, Arial, sans-serif">We need a FAQ
item on this :-P<br>
<br>
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.<br>
<br>
As for questions 2 &amp; 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.<br>
<br>
-Patrick<br>
</font></font><br>
Sent: Friday, September 03, 2010 7:56:01 AM<br>
From: Riaz, Javed (WW Global Network Services) <a class="moz-txt-link-rfc2396E" href="mailto:javed.riaz@hp.com">&lt;javed.riaz@hp.com&gt;</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a> <a class="moz-txt-link-rfc2396E" href="mailto:syslog-ng@lists.balabit.hu">&lt;syslog-ng@lists.balabit.hu&gt;</a> <br>
Subject: [syslog-ng]&nbsp; syslog-ng on Solaris 10
<blockquote
 cite="mid:8C5EBB71D1D0C84EBCA94B49814AEE6C8E3C061508@GVW0671EXC.americas.hpqcorp.net"
 type="cite">
  <pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.0#master#1b5d618e301ad94aa20e692ffba16469dece8d10">ssh+git://bazsi@git.balabit//var/scm/git/syslog-ng/syslog-ng-ose--mainline--3.0#master#1b5d618e301ad94aa20e692ffba16469dece8d10</a>
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: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html</a>

  </pre>
</blockquote>
</body>
</html>