Starting syslog_ng daemon with chkconfig on Linux
Hi, When I try to start syslog_ng daemon with chkconfig it says. Syslog_ng-2.0.2 service syslog_ng does not support chkconfig Am I missing something ? or how to start syslog_ng daemon with chkconfig on Linux. Please advise. Thanks --------------------------------- Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now.
On 2007-05-14, Shamim <shamim_99@yahoo.com> wrote:
When I try to start syslog_ng daemon with chkconfig it says.
Syslog_ng-2.0.2 service syslog_ng does not support chkconfig Am I missing something ? or how to start syslog_ng daemon with chkconfi= g on Linux.
It sounds like you're /etc/init.d/syslog-ng is not the one distributed with syslog-ng. Mine has these headers: ---------------------- # head -8 /etc/init.d/syslog-ng #!/bin/bash # # syslog-ng This starts and stops syslog-ng # # chkconfig: 2345 12 88 # description: syslog-ng is an alternative system logger # processname: syslog-ng # pidfile: /var/run/syslog-ng.pid ---------------------- but I think only the chkconfig-line is necessary for chkconfig to make it support chkconfig. So try adding that to your init-script. -jf
Hello all, I am trying to add a specific file for syslog to pickup and log remotely but have been unable to make it work. The file I am trying to get over to another syslog-ng server is an audit log. What has to happen is from 1 server the log file gets read/moved over to the other Log server . . .which will then be indexed by splunk. I am learning syslog-ng and am not sure exactly how to make what I am trying to do work. If anyone has any ideas or suggestions please drop me a note! Thanks From: syslog-ng-bounces@lists.balabit.hu [mailto:syslog-ng-bounces@lists.balabit.hu] On Behalf Of Shamim Sent: Monday, May 14, 2007 3:06 AM To: syslog-ng@lists.balabit.hu Subject: [syslog-ng] Starting syslog_ng daemon with chkconfig on Linux Hi, When I try to start syslog_ng daemon with chkconfig it says. Syslog_ng-2.0.2 service syslog_ng does not support chkconfig Am I missing something ? or how to start syslog_ng daemon with chkconfig on Linux. Please advise. Thanks _____ Yahoo! Answers - Got a question? Someone out there knows the answer. Try <http://uk.answers.yahoo.com/;_ylc=X3oDMTEzaDRkZGdlBF9TAzIxMTQ3MTcxOTAEc2VjA 01haWwEc2xrA3RhZ2xpbmVz> it now.
participants (3)
-
Corey Bobb
-
Jan-Frode Myklebust
-
Shamim