Aarvi

cPanel

Parse html as PHP is easyapache 4

  Normal 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 more

DNS error bad owner name (check-names) /tmp/cpanel

While 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 more

Incorrect DiskSpace and Information in cPanel

While 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 more

E-mail accounts not showing in cPanel

The 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 more

Softacalous blank issue cPanel/WHM

While 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 more

cPanel – Can’t change hostname

While 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 more

Disable Mails from single cPanel account

We 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 more

softaculous License refresh from command line

Softacalous 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

Disable Strict Mode mysql mariadb

While working on WHMCS I was not able to generate tickets I found out issue was due to mysql being in strict mode I tried disabling mysql strict mode  by adding entries in  /etc/my.cnf sql_mode=”” However it didnt work out. I have found that there is a /usr/my.cnf file that is enabling strict mode on  […]
Read more

SSL connect attempt failed error

While working on one of clients server I was getting below error while updating cpanel license in server root@hoskb [~]# /usr/local/cpanel/cpkeyclt Updating cPanel license…Done. Update Failed! Error message: Transition to SSL failed: SSL connect attempt failed error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed also while debugging did try yum update however I got an error as well root@host113 […]
Read more

Aarvi server solutions Is a Web Hosting Support Company that has built a solid reputation for quality, reliability, and true professional service