DDOS attacks on XMLRPC.php (Fixed)
XMLRPC.php is php file included with wordpress installation, it allows posting of content remotely through supported web blogs to wordpress blog, it provide many other features as well having many pros and cons. As far as web site security is concerned XMLRPC.php file is famous among hackers and attackers.
Most of the wordpress blogs get hits by attackers on XMLRPC.php usually called DDOS attacks. During the attack XMLRPC.php gets many requests and that makes web site goes down with excessive usage of allocated resources. Some web hosting providers suspend those accounts for high resource usage issues. Read More
Unable to install yum-rhn-plugin, please contact CloudLinux (Fix)
Few days back i got error Unable to install yum-rhn-plugin, please contact CloudLinux support at https://helpdesk.cloudlinux.com on one of our shared web hosting server while installing CloudLinux, I googled it but not able to found any proper solution, i have re-installed cPanel/WHM from scratch but no luck. This issue mostly appears on OVH Servers as they use their own cPanel/WHM and CentOS kernels which got few bugs in the repositories. I contacted cloudlinux support they provided me single command that fixed this issue immediately.
You can also run this command in SSH to fix out the repositories issue:
# rpm -e --nodeps libxml2-devel
Running up above command will fix this issue for sure as tested.
Setting up WHMCS with your WHM reseller account
Here is the quick tutorial on setting up your WHMCS with WHM reseller account to automate the process of WHMCS ordering, by integrating your account will auto get setup once you get any new order. You will be able to perform various actions such as account termination, account suspension/unsuspension and account creation. You can setup if accounts are created automatically once you receive the payment through any gateway.
Follow these instructions:
Login to your WHMCS admin panel with admin access, and then from navigation menu navigate through Setup > Products/Services > Servers
New page will appear displaying all the servers you have created if any. Read More
Enabling second level quotas on openVZ/virtuozzo/VPS
Many VPS hosting providers have quota issue with their VPS provided to customers, they always get complaints regarding the quotas especially on cPanel/WHM based servers. As cPanel/WHM based servers require File system quotas must be enabled to calculate Disk space usage for the hosted accounts and this very important to get this issue fixed in order to limit the disk space usage for any hosted account.
Following below instructions enables you to get this issue sorted if you have OpenVZ/Virtuozzo VPS you should follow these instructions to enable 2nd level-quotas support to get disk space usage issue sorted.
Lets start fixing this:
Login to your main node’s SSH with root access where you have hosted VPS’.
Just find out the exact ID of your VPS for which you want to enable the second level-quotas by executing below stated command:
It will list all the online Virtual Private Servers, remember the one you want to enable second level quotas for.
Now execute following below command on the required VPS ID.
# vzctl set VPS_ID --quotaugidlimit NUMBER --save
Create new account from SSH for cPanel/WHM
If your cPanel/WHM has expired and you are not able to create new account from WHM panel although you have root access to the server, you can still create and use new accounts via SSH. Lets do it now.
Follow below steps to add/create new cPanel account from SSH:
Login to SSH via Putty or any SSH client with root access
execute following command:
/scripts/createacct domain user pass quota cpmod ip[y/n] cgi[y/n] frontpage[y/n] maxftp maxsql maxpop maxlst maxsub bwlimit hasshell[y/n] owner plan maxpark maxaddon featurelist contactemail
WHMCS integration of domain check for PKNIC domains
Pakistan’s largest domains (cTLDs) provider PKNIC has no WHMCS modules or domain checking mechanism for 3rd party tools.
You can add these domains checker functionality to your WHMCS by doing below simple steps:
For WHMCS 5.x, 6.x
- Login to your FTP and edit file “WHMCS installation folder/includes/whoisservers.php” in any text editor or Dreamweaver
- Now paste following below code at the end of the file and save that file to your server.