<div>Hi,</div>
<div> </div>
<div>I am facing some challenges configuring the syslog_ng( 3.0.7) for central logging on AIX. The subsystem becomes in-operative while trying to set it up for central logging.</div>
<div>But otherwise while tryng to log the messages on the same machine it runs fine...</div>
<div> </div>
<div>Below are the logs </div>
<div> </div>
<div>1. Logging on the same host.</div>
<div> </div>
<div># /opt/soe/local/syslog_ng/etc/init.d/syslog-ng.d restart<br>0513-044 The syslog_ng Subsystem was requested to stop.<br>0513-059 The syslog_ng Subsystem has been started. Subsystem PID is 9043968.<br># ^C<br># lssrc -a |grep -i syslog<br>
syslog_ng local 9043968 active<br> syslogd ras inoperative</div>
<div> </div>
<div> </div>
<div>Now ,after I change the conf file to the central server one...</div>
<div># cp syslog-ng.conf.server-sample syslog-ng.conf<br># /opt/soe/local/syslog_ng/etc/init.d/syslog-ng.d restart<br>0513-044 The syslog_ng Subsystem was requested to stop.<br>0513-059 The syslog_ng Subsystem has been started. Subsystem PID is 3342368.<br>
# lssrc -a |grep -i syslog<br> syslogd ras inoperative<br> syslog_ng local inoperative<br></div>
<div> </div>
<div> </div>
<div>Below is are the contents for myu conf file whiel trying to set up for central logging.</div>
<div># cat syslog-ng.conf.server-sample<br>@version: 3.0</div>
<div><br>source s_remote { tcp(); };<br>destination d_clients { file("/var/adm/messages-ng.$HOST.log"); };<br>log { source(s_remote); destination(d_clients); };</div>
<div>source s_local {<br> internal();unix-dgram("/dev/log");<br>};</div>
<div>destination d_local {<br> file("/var/log/syslog-ng.log" owner("root") group("adm") perm(0640));<br>};</div>
<div>log {<br> source(s_local);<br> destination(d_local);<br>};</div>
<div>destination d_messages {<br> file("/var/log/messages-ng" owner("root") group("adm") perm(0640));<br>};</div>
<div>log {<br> source(s_local);<br> destination(d_messages);<br>};<br></div>
<div> </div>
<div>Please let me know if somehting in he conf file does not look fine and might be causing the susbsytem to turn inoperative. Because If i revert back to my old config file the subsystem again becomes active.</div>
<div> </div>
<div> </div>
<div>Regards,</div>
<div>Rakesh</div>
<div> </div>