Page 1 of 1

fatal lfd error & (perhaps kludgy) workaround

Posted: 10 Jan 2008, 22:18
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');

Posted: 11 Jan 2008, 16:17
by chirpy
Or, you could disable the SYSLOG option. Or, perhaps better, upgrade Sys:Syslog from cpan as you're running an old version.

Posted: 27 Feb 2008, 00:35
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