Cloudlinux 7 checking security blank page

Post Reply
maever
Junior Member
Posts: 12
Joined: 21 Jan 2009, 12:00

Cloudlinux 7 checking security blank page

Post by maever »

I ran into a potential bug with my new "cloudlinux + Cpanel + CSF" setup.

Recently I've setup a new Virtual Machine on a VMware platform with cloudlinux 7, after activation I proceeded to install WHM/Cpanel on this machine (without problem).

As per security conventions I then proceeded to install the configserver (CSF) plugin, which installed without error. I've followed the installation instructions to the letter provided by the configserver install.txt.

A copy of the csftest.pl results is here : http://pastebin.com/kxDc2GG5
A copy of the install log is provided here: http://pastebin.com/dsJG76uf .

The problem I found is that the "Check server security" feature (in cpanel integrated csf plugin) presents a blank page. I've proceeded to check /var/log/messages as well as /usr/local/cpanel/logs/error_log both of which mention nothing. It is worth mentioning that outside of the security check page the CSF plugin seems to behave accordingly and is properly registered with cpanel.

Could you assist me to resolve this?
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Cloudlinux 7 checking security blank page

Post by ForumAdmin »

You should try running the check from the CLI and look for carefully through the output for errors:

Code: Select all

csf --mail
maever
Junior Member
Posts: 12
Joined: 21 Jan 2009, 12:00

Re: Cloudlinux 7 checking security blank page

Post by maever »

I get :

Code: Select all

# csf --mail
open3: exec of /usr/local/apache/bin/httpd -v failed at /usr/local/csf/lib/ConfigServer/ServerCheck.pm line 1363.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Cloudlinux 7 checking security blank page

Post by ForumAdmin »

And does the binary exist at that location as it should on a cPanel server after running easyapache?
maever
Junior Member
Posts: 12
Joined: 21 Jan 2009, 12:00

Re: Cloudlinux 7 checking security blank page

Post by maever »

After further inspection it seemed that due to a WHM/Cpanel issue in the in apache building proces the apache binary had problems.
Long story short, I've reinstalled the "perl-devel" package and was able to rebuild apache after which CSF security check worked accordingly.

Issue solved, thank you!
Post Reply