All Entries in the "Technical" Category
Turn off bandwidth monitoring
Issue : How to turn off the bandwidth monitoring module in cPanel ? Solution : Go to WHM >> Service Configuration >> Service Manager. Look for ‘cPBandwd’. Make sure that the check box besides that is unchecked. Save the settings and that should be it !
How to create a large file for testing purpose ?
Issue : How can a large file, say 1GB, for some testing purposes be created? Solution : Use the following command : dd if=/dev/zero of= filename bs=1024 count=1024number of 0′s Replace ‘filename’ with the actual filename. Replace ‘number of 0′s’ with the required number of 0′s For example, One ’0′ for 10MB , two for [...]
How to find the number of user accounts via shell ?
Issue : There is no control panel installed on the server. So, how can the total number of user accounts on the system be determined? Solution: Use the following command to find the total number of accounts on the system : cat /etc/passwd | wc -l Note : This will also include system accounts like [...]
Problem with yum update
Issue : Following is the error that occurred : Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile addons | 951 B 00:00 base | 2.1 kB 00:00 extras | 1.1 kB 00:00 updates | 1.9 kB 00:00 Not using downloaded repomd.xml because it is older than what we have: Current : Tue Feb 9 [...]
How to hide DNS controls from resellers/users
Issue : The server is mainly used for serving webpages and FTP. Certain things like DNS functions and email are not required as they are being handled externally. How can these be hidden from resellers/users? Solution : DNS, email or any other functionality can be handled through ‘Feature Lists’ in WHM. Just go to WHM [...]
/bin/sh: /usr/local/bandmin/bandmin: is a directory
Issue : The cronjob results in the following error : /bin/sh: /usr/local/bandmin/bandmin: is a directory Solution : This happens when the bandmin directory simply contains another bandmin directory instead of an executable script of the same name. Run the following script and see if the issue persists : # /scripts/bandminup –force
How to block emails from a specific address using Exim
Issue : How to block emails from a specific address on a cPanel/WHM server using Exim ? Solution : This is fairly easy to achieve with Exim. First you’ll need to find the system filter file for Exim. This can be found out through WHM >> Main >> Service Configuration >> Exim Configuration Editor. Towards [...]
Not able to login to FTP accounts using root password
Issue : Was able to login to all FTP accounts using the root password earlier but now it doesn’t seem to work. Where to check that? Fix : Go to WHM >> Main >> Service Configuration >> FTP Server Configuration. At the bottom of the page, you’ll find an option as ‘Allow Logins with Root [...]
How to limit the overall size of emails
Issue : How can the overall size of an email including attachment, encoding etc. be limited to a pre-defined value? Solution : This can be done in the following way : Go to WHM >> Main >> Service Configuration >> Exim Configuration Editor In the first box where you can type ( right below where [...]
Where to check the version of Horde
Issue : Where can I check the current version of Horde webmail client running with cPanel ? Solution : If you have ‘root’ SSH access to the server then, simply open the file /var/cpanel/horde/version using your favorite editor and you’ll be able to see the current Horde version.
Disabling an email account
Issue : How can a particular email account be ‘disabled’ temporarily. Note that the email account should not be ‘deleted’ ? Is this possible at all via cPanel? Solution : There is no direct functionality in cPanel at the moment for this. This feature might be added at a later stage. However, you can achieve [...]
MySQL database not listed in Plesk interface
Issue : A MySQL database was created and still does exist but it is not being listed in the Plesk interface. Solution : This usually happens when the database is not created via Plesk. Instead, it might have been created via SSH. To get around this, there are two ways : 1. This is the [...]
How to add an SRV record via WHM ?
Issue : How to add an SRV record via WHM? There does not seem to be enough fields to enter all the data. Solution : Go to WHM >> Main >> DNS Functions >> Edit DNS Zone and select the domain for which you need to add the SRV record and click ‘Edit’ Once in [...]
cPanel/WHM not working after fresh installation
Issue : After a fresh installation on a CentOS server and following all the standard steps, it is not connecting to WHM on port 2087. Fix : CentOS has default iptables (firewall) rules that block access to cPanel ports when out of the box. You can flush them using the following command : iptables -F [...]
Changing /cpanel to something else
Issue : How can you access cPanel like, say, http://domainname.com/xyz ? This is for security purposes. Solution : This can be done but not recommended as it would not be of much effect security-wise. Even if you change it, cPanel/WHM would still run on the standard ports (2082/2083 & 2086/2087) which is known to everyone. [...]

1800 810 6547