All Entries in the "Quick fixes" Category
How to enable SuPHP ?
Issue :
How to enable SuPHP ?
Solution :
Login to WHM.
Go to “Service Configuration >> Apache Configuration >> Configure PHP and Suexec” and check if SuPHP is available in the drop down menu. If it is available then select it and save the configuration after a dry run.
SuExec should also be available in the same [...]
How to change the default email settings ?
Issue :
Whenever a new account is created, the server sends out an email notification. Where can this setting be accessed and modified?
Fix :
Just go to WHM >> Basic cPanel/WHM Setup >> Server Contact Email Address.
You can make the required changes there.
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 100 MB and so [...]
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 root, mail [...]
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 08:57:23 2010
Downloaded: Tue Jan 26 09:27:44 2010
Excluding [...]
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 the middle of [...]
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 Password’
Make sure [...]
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 you see [...]
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 this functionality [...]
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 simpler of [...]
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 there, [...]

