All Entries Tagged With: "cPanel"
Wild-card SSL not working for cPanel/WHM
Issue : A wild-card SSL (*.server.tld) works for the server hostname (https://hostname.server.tld) but does NOT work for cPanel/WHM (https://hostname.server.tld:2083) Fix : – Go to WHM >> Service Configuration >> Manage Service SSL Certificates – Install the certificate for each of the services. This should resolve the issue.
Error while installing WordPress through Fantastico
Issue : Certain errors saying that files already exist occur when trying to install WordPress via cPanel>>Fantastico Fix : Try the following steps : 1. Login to your cPanel 2. Click on File Mangager 3. Click on .fantasticodata 4. Click on WordPress folder. 5. Find and remove the file that matches the information you entered.
Enabling the PHP extension–FreeType
Issue : How to enable the PHP extension–FreeType on a server running cPanel/WHM and apache? Solution : You need to re-compile apache and php with freetype . This can be done via the command line or through WHM. Command line : Run /scripts/easyapache and select “ttf” for freetype. WHM: You can enable freetype via WHM [...]
Unable to access user’s control panel
Issue : After migration of servers, the reseller (logged in with the root password) is unable to access the users’ control panel. Fix : Go to WHM >> Main >> Tweak Settings and check if the following option is enabled : “Disable login with root or reseller password into the users’ cPanel interface. Also disable [...]
Disabling /whm and /cpanel for all domains except the hostname
Issue : How to disable access to /whm and /cpanel for all domains except the server hostname? Solution : This would need customization of the httpd.conf file. First, edit the httpd.conf and remove any lines pertaining to forwarding of domains to /cpanel and /whm. Secondly, run the following command to distill the file : /usr/local/cpanel/bin/apache_conf_distiller [...]
Main email account causing problems
Issue : The mailbox for the default email account seems to have no quota. It fills up to the point that it shuts down the FTP service(can’t upload files) and the disk usage for the account goes berserk. Solution : The issue can be resolved by setting your main account to discard email. This can [...]
Preventing users from adding a particular domain
Issue : Users should not be able to add a particular domain ( say domain.com ) as an add-on domain or a parked domain. Fix : This can be easily accomplished on a cPanel server by the following steps : 1. Add the domain ( domain.com ) to the file /usr/local/cpanel/etc/commondomains 2. Then, ensure that [...]
Using multiple PHP versions
Issue : How to install multiple versions of PHP and make one of them default? Also, how can the users choose the desired version? Solution : Installing and configuring concurrent PHP can be done by going to WHM -> Software -> EasyApache and when prompted for which version of PHP to run, select both PHP [...]
Error while restoring cPanel backup
Error : Sorry, a group for that username already exists. Fix : User account related information is stored in /etc/passwd, /etc/shadow and /etc/group files . Check all of them and remove the entries. You can remove the group by using: groupdel groupname And then restore the account. You can also restore the account forcefully by [...]
Disabled features still visible!
Issue : Certain features were disabled in WHM. However, they are still visible in cPanel. So, clients can still click on it and then they see that the feature has been disabled. This sends the wrong message to the client. If the option isn’t visible, it cannot be misinterpreted. Solution : The features were disabled [...]
Automating check and repair on MySQL Databases
Issue: Cron job required for scheduling automatic checks and repairs on MySQL Databases. Solution : Use the following cron : 0 1 * * * /usr/bin/mysqlcheck -Aao –auto-repair -u -p’ ‘ Please note that this will show your MySQL password in the process list. You can get around this by writing the password to ~root/.db_shadow, [...]
Disabling forwarding of /webmail to cPanel’s webmail interface
Issue : Forwarding of ‘/webmail’ to cPanel’s webmail interface needs to be disabled. However, users should be able to access webmail using ports 2095/2096 Solution : Follow the steps below : 1. Open /usr/local/cpanel/APACHE_CONFIG in your favorite editor. 2. Find the lines that reference /webmail 3. Add the following to the beginning of each line [...]
Apache2 proxy to local port
Make few changes to your VitualHost entries for the domain (cpanel.domain.com and webmail.domain.com) so that you needn’t install cpanel proxy on the server to access the cPanel and webmail via the ports 2082 and 2095. This will let you access cPanel and webmail at port 80. For cPanel: Add the following entries in the VirtualHost [...]
Useful cPanel scripts and their functions
Following are the cPanel scripts and their functions. adddns – Adds a DNS zone. addfpmail – Add frontpage mail extensions to all domains without them. addfpmail2 -Add frontpage mail extensions to all domains without them. addnetmaskips – Add the netmask 255.255.255.0 to all IPs that have no netmask. addnobodygrp – Adds the group nobody and [...]
Cannot edit DNS zone after cPanel update
Issue : After updating all the cPanel software, following error occurs when trying to Edit a DNS zone : Unable to parse zone: Error while parsing zonedata for *DOMAIN NAME HERE*.com: expected valid rname, line 4 …propagated at /usr/local/cpanel/Cpanel/CPAN/Net/DNS/ZoneFile/Fast.pm line 142. Fix : The error means that the dns zone has invalid data in it [...]

1800 810 6547