CPanel is a popular WHM solution. In past few days, i faced trouble while working with it. Thought to share with you if you face the same problem.
/scripts/easyapache
Not a HASH reference at /var/cpanel/perl/easy/Cpanel/Easy.pm line 340
Solution
/scripts/checkperlmodules --full
How to Disable ConfigServer Security & Firewall
/etc/csf/uninstall.sh
How to Disable Mandatory SSL (Web Login to WHL)
vim /var/cpanel/cpanel.config
Find,
alwaysredirecttossl=1
requiressl=1
And change the “1” to “0”, and save the file changes.
Now execute the following command to effect the changes;
/usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
How to Install RRDTOOL
Download the required packages and execute rpm to install it.
wget http://dag.wieers.com/rpm/packages/rrdtool/rrdtool-1.2.23-1.el5.rf.x86_64.rpm
wget http://dag.wieers.com/rpm/packages/rrdtool/perl-rrdtool-1.2.23-1.el5.rf.x86_64.rpm
wget http://dag.wieers.com/rpm/packages/rrdtool/rrdtool-devel-1.2.23-1.el5.rf.x86_64.rpm
rpm -ivh rrdtool-1.2.23-1.el5.rf.x86_64.rpm rrdtool-devel-1.2.23-1.el5.rf.x86_64.rpm perl-rrdtool-1.2.23-1.el5.rf.x86_64.rpm
[ipcheck] Problem with DNS setup on
When your server hostname doesn’t resolve to IP address and you don’t want to add ‘A’ record in your dns, you will have to disable this script to stop sending these alerts.
ls -l /scripts/ipcheck
-rwxr-xr-x 1 root root 7428 Jun 28 18:47 /scripts/ipcheck
chmod 000 /scripts/ipcheck
Make it write protected, so its permission won’t change.
chattr +i /scripts/ipcheck
ls -l /scripts/ipcheck
———- 1 root root 7428 Jun 28 18:47 /scripts/ipcheck