CSF to Syslog

Post Reply
Electrone
Junior Member
Posts: 1
Joined: 10 Mar 2010, 20:48

CSF to Syslog

Post by Electrone »

Dear
i have Centos 5.4 installed as DNS server and i installed and configure csf and enable the SYSLOG = "1"
but it didnot get any logs to my syslog ( splunk server )
port 514 udp out is open
syslog.conf is set to
*.alert @x.x.x.x
*.emerg @x.x.x.x
ldf.* @x.x.x.x
*.ldf @x.x.x.x
*.auth @x.x.x.x

may be the problem is in the syslog.conf ( i have to add somthing for ldf i dont know about ) , may be it is something related to Perl module Sys::Syslog , i don't know how to install this using yum .

what about rsyslog it is enhanced syslog so it is will solve the problem . Thanks
Electrone
Junior Member
Posts: 1
Joined: 10 Mar 2010, 20:48

Post by Electrone »

No Help?!:(
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

If you don't have Sys::Syslog installed then logging to syslog won't work. You need to install that perl module either from your OS vendor distribution or from source from cpan.org
webbhotell
Junior Member
Posts: 2
Joined: 09 Feb 2011, 22:34
Contact:

Re: CSF to Syslog

Post by webbhotell »

cpan -i Sys::Syslog

or

yum install perl-Sys-Syslog
Post Reply