fatal lfd error & (perhaps kludgy) workaround

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
Zxin
Junior Member
Posts: 1
Joined: 10 Jan 2008, 19:35

fatal lfd error & (perhaps kludgy) workaround

Post by Zxin »

Hi I just wanted to report this bug, and my (perhaps kludgy) workaround.
Please let me know if this needs to be fixed on my end or on yours.

-Thomas aka Zxin
-------------------------------------------
/var/log/messages reports:
lfd: LOG_NOFATAL is not a valid Sys::Syslog macro at /usr/sbin/lfd line 2659

Host info:
OS: CentOS release 4.6 (Final)
PERL: Version : 5.8.5
Sys::Syslog is up to date (0.24).
CPAN is up to date (1.9205).
WHM 11.11.0 cPanel 11.16.0-C18546
CENTOS Enterprise 4.6 x86_64 on standard - WHM X v3.1.0

csf: v3.01

Workaround:
/usr/sbin/lfd line 2659
#openlog('lfd', 'ndelay,nofatal', 'user');
openlog('lfd', 'ndelay', 'user');
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

Or, you could disable the SYSLOG option. Or, perhaps better, upgrade Sys:Syslog from cpan as you're running an old version.
megamx
Junior Member
Posts: 2
Joined: 27 Feb 2008, 00:31

Post by megamx »

I'm having the same issue.

http://search.cpan.org/search?query=sys ... g&mode=all

http://search.cpan.org/author/SAPER/Sys ... /Syslog.pm
0.24 is the latest it seems. It's also the one that cPanel installs when you go on "Install a Perl Module"

For a quick fix until this is addressed I just removed ",nofatal" from /usr/sbin/lfd
Post Reply