Important cPanel Scripts

WHM/cPanel Scripts are located in /scripts/ /scripts/adddns – Adds a DNS zone. /scripts/addnetmaskips – Add the netmask 255.255.255.0 to all IPs that have no netmask. /scripts/addnobodygrp – Adds the group nobody and activates security. /scripts/addpop – Add a Pop Account. /scripts/addservlets – Add JSP support to an account (requires tomcat). /scripts/adduser – Add a user […]

See More

cPHulk Brute Force Protection in cPanel

How to Disable cPHulk Brute Force Protection? 1) connect your VPS with cPanel via SSH. 2) Run the following command to disable cPHulk for 5 minutes /usr/local/cpanel/etc/init/stopcphulkd 3) cPHulkD will stop until chksrvd starts it back up again within 8 minutes. 4)  Enable before chksrvd starts its back up, run the following command /usr/local/cpanel/etc/init/startcphulkd cPHulk Brute […]

See More

Databases showing 0MB in cPanel

Databases showing 0MB in cPanel  From command line 1. Run the command. # /usr/local/cpanel/bin/setupdbmap 2. Edit cPanel configuration file. disk_usage_include_sqldbs=1 ( you need to set it to ‘1’ if ‘0’ ) in file /var/cpanel/cpanel.config 3. Run the following script. #/scripts/update_db_cache You can also enable this from the WHM control panel. WHM >> Server Configuration >> […]

See More