Bug in CSF 2.75 and cPanel 11.4.2-C13422

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
Craigles
Junior Member
Posts: 3
Joined: 07 Jun 2007, 06:07
Location: Melbourne, VIC, Australia
Contact:

Bug in CSF 2.75 and cPanel 11.4.2-C13422

Post by Craigles »

Hi Guys,

I've come across an interesting issue on a number of Centos 4.5, cPanel 11 and CSF installations.

For some reason when running Check Server Security, it starts to render the screen and then just stops with this error at the top of the screen. It gets to the Check Shell Limits line and then dies.

[a fatal error or timeout occurred while processing this directive]

I've tried on Release and Current branches of cPanel 11, to no avail.

Anyone have any ideas at all??

Happy to provide ssh and whm access if somebody wants to gander at it.

Ta,
Craig
rosslittle
Junior Member
Posts: 2
Joined: 08 Jun 2007, 05:50

Post by rosslittle »

Confirmed... exactly the same error here (same distro and version, CPanel Build too)

Ross
Craigles
Junior Member
Posts: 3
Joined: 07 Jun 2007, 06:07
Location: Melbourne, VIC, Australia
Contact:

Further Updates

Post by Craigles »

Howdy All,

I have further info on this.

1. It appears if CSF was installed prior to upgrade to cPanel 11, all is fine.
2. Fresh installs of cPanel and CSF cause the timeout issue.
3. If you execute the following command, it gets around the timeout issue.

echo "" >/var/cpanel/killproc.conf

Thats about all I've got for ya. From my observations, it may be more of a cPanel bug then CSF.

Hope it helps someone else out.

Craig
rosslittle
Junior Member
Posts: 2
Joined: 08 Jun 2007, 05:50

Post by rosslittle »

Yeah, I cam at it from a different angle...

This is what my error_log says

(internal death while parsing ) Fri Jun 8 04:53:13 2007 [3176] error: No such file or directory at /etc/csf/servercheck.pm line 635.
at /etc/csf/servercheck.pm line 635
main::sshtelnetcheck called at /etc/csf/servercheck.pm line 13
require /etc/csf/servercheck.pm called at ./cgi/addon_csf.cgi line 399

At lin 635 of /etc/csf/servercheck.pm

open (IN, "</var/cpanel/killproc.conf") or die $!;

I don't have a killproc.conf file anywhere on my server!?!

Anyway, I edited /etc/csf/servercheck.pm line 635 from this -

open (IN, "</var/cpanel/killproc.conf") or die $!;

to this

open (IN, "</var/cpanel/killproc.conf");

The script runs fine now and although the error still exists, it doesn't halt the rest of the script execution. The error was only in the detection of "Check Background Process Killer" which after fixing the script above will still show a big red warning!

Craigles solution works too... and is easier... and less hassle to type than mine... ;-)

Ross
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

csf v2.76 now handles this situation.
Post Reply