Was getting the error for squirrel mail on cpanel server On Investigating could see issue was in Dovecot Below is the fix I used It’s possible that this can be rectified by increasing “Maximum Size of a Mail Process (MB)” under Main >> Service Configuration >> Mailserver Configuration in WHM. Once I did it the […]
Read MoreWe had been working on adding an IDN addon domain in cPanel and received invalid domain name. Internationalized domain name – Wikipedia An internationalized domain name (IDN) is an Internet domain name that contains at least one label that is displayed in software applications, in whole or in part, in a language-specific script or alphabet […]
Read MoreTo add international characters as domain name in cpanel First it need to be converted to unicode to punycode using http://idna-converter.com/ Once done the domain name can be added accordingly
Read MoreWhile trying to upgrade cpanel to new version was getting error FATAL: Failed to download updatenow.static from server: The issue was due to corrupt RPM I used the below fix to resolve this issue mkdir /root/old_rpm_dbs/ Now move the original RPMs to the new folder mv /var/lib/rpm/__db* /root/old_rpm_dbs/ Finally rebuild the RPM database rpm --rebuilddb Now […]
Read MoreNormal rule in .htaccess to parse html files as php on easyapache 3 are not working on easyapache 4 #AddType application/x-httpd-php .php .htm .html #<FilesMatch “\.(htm|html|php)$”> #SetHandler application/x-httpd-php56 #</FilesMatch> Below is the code which will need to be added In cpanel, multiphp manager will add the following for force a specific version of […]
Read MoreWhile working with one client I was getting below error in DNS DNS error bad owner name (check-names) /tmp/cpanel So I went ahead and checked DNS zone file using below command root@vps [/var/named]# named-checkzone onlinecsource.com /var/named/onlinesource.com.db /var/named/onlinesource.com.db:56: _autodiscover._tcp.cheapsalesleads.onlinesource.com: bad owner name (check-names) /var/named/onlinesource.com.db:57: _autodiscover._tcp.cheapsalesleads.onlinesource.com: bad owner name (check-names) zone onlinesource.com/IN: loaded serial 2017030209 OK […]
Read MoreWhile working on one clients vps for incorrect disk usage stats for mails While the default cpanel has no emails the usage stats showed 750MB. After going through I found a issue which was causing this The file causing this issue was maildirsize maildirsize is the file which shows stats information for each account root@vps […]
Read MoreThe issue when you open “Email accounts” in cPanel, it sometimes doesn’t show up the list of Email accounts the domain have but only just a blank page without any email account No Email Accounts”! This happens due to bulk of cache, temp files etc present in the .cpanel directory of domain. In order to […]
Read MoreWhile working one of the clients server We saw an issue where going from WHM > plugin > Softacalous and opening it resulted in blank page. The issue is due to corrupt files in softacalous. To fix this issue softacalous need to be reinstalled to reinstall to go cd /usr/local/cpanel/whostmgr/docroot/cgi/ rm -rf softaculous cd /home […]
Read MoreWhile setting hostname from WHM >> Change Hostname We were seeing below error “The hostname was already set to server1k.online.net, syncing configuration only. Error setting new hostname: Could not execute hostname binary Could not set property: Connection timed out” After googling found a alternate solution to this via cli The command was /usr/local/cpanel/bin/set_hostname <hostname> It […]
Read MoreWe were having an issue where spams emails were sent from single cpanel account We could not suspend the account and disable emails So the solution to this was to keep website online and disable only emails we use the below method to disable emails for a single cPanel account. SSH to server and use […]
Read MoreSoftacalous license from GUI interface is just click of mouse work However if you are doing it from cli You need to run below cron to refresh the softacalous license root@vps [~]# /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cron.php root@vps [~]#
Read More