Occasionally, mailboxes on your server will become corrupted or have incorrect permissions, leading to mail being rejected for that account. We faced this situation while migrating 100+ accounts; every migration hanged on step “fixing mail permissions”. WHM includes a feature that permits you to examine your server’s mail system and decide to repair any discrepancies […]
PLESK ERROR: SWKeyExFatalError
Sometimes it is not possible to access Parallels Plesk Panel. Browser displays following error: [box style=’error’]ERROR: SWKeyExFatalError xmlrpc error: Expected <param> to have 1 children, found 0 0: common_func.php3:4524 of_get_key_by_product(string ‘plesk-win’) 1: common_func.php3:4524 getPleskKey() 2: common_func.php3:4603 getKeyProp(string ‘demo’) 3: auth.php3:54[/box] The above error seems that registry.xml file may have gone corrupted. Resolution of above error […]
How to list all root users on cPanel servers
There are situations (especially after a hacking attempt, or when you find something specious in rKhunter) when you need to know if there are any other user with root privileges. There are three commands that you must run in such situations. Check if an unwanted user is member of root group. [box style=’note’] grep root […]
How to repair crashed tables through phpMyAdmin
I have previously written a blog post repairing mysql database from ssh. As many of us use shared hosting and do not have access to ssh, so here is how you can do it from phpmyadmin. MySQL is a stable software application but there might be several reasons for eg. , simple power failure or hardware problem that […]
Plesk Privilege Escalation Vulnerability
Parallels have released a security update to address the security vulnerability (details here). An authenticated user in Plesk for linux is able to act as root and is able to run arbitrary codes. This may result in complete server computerization. Last day Parallels issued a security advisory to address these vulnerabilities. These security updates will automatically visible in parallels Plesk panel, It […]
Restoring a large database in cPanel
To restore a large database through php admin fails most of the time due to the limitation in php settings,well i consider 20 MB+ database is a large database. First try to zip the .sql backup file and then try to restore it, phpMyadmin will auto detect extension and unzip it before restoring it. […]
How to backup and restore MySQL database from SSH
This post is the solution to backup your MySQL database through SSH,First of all connect to your Linux server through command line after that use the mysqldump utility to create your database backup. […]
Optimize and Repair all MySQL databases in WHM
Sometimes server unexpectedly shut down and it cause MySQL tables to crash very easily so in that case there is a simple command to automatically optimize and repair all MySQL databases tables. To optimize the tables we can use the following command.This is good for speed, as it also optimize the defragmented tables. [info]mysqlcheck –optimize […]
Hackers Signature
A server under my management was attacked by a bunch of hackers and there were a lot of hacked wordpress sites from hackers but hackers knows the some professional tools to hide there identity. Once we know that more than one sites are hacked,We used a command like this to find all files with hackers […]
Delete old emails from your Domain
One of our clients often asks to delete all emails in his domain that are more than a month old. We use the following command to do that: [info] [highlight color=’yellow’] Content goes here… [/highlight] [/info] [box style=’error’] Content goes here… [/box] [box style=’help’] Content goes here… [/box] [box style=’info’] Content goes here… [/box] […]