Unsuspend Plesk Domain Accounts

Occasionally Plesk can be a little temperamental and suspend accounts over expired validity errors. Attempting to “unsuspend” the account from your Plesk control panel will generally fail, and you will need to activate the domain by force using the command line.

In Windows, goto Start -> Run and cd to your Plesk “bin” folder – typically c:\Program Files\Parallels\Plesk\admin\bin

Then type the following:

domain.exe –on yourdomain.com

This can take a little while but you should see “SUCCESS, status of domain changed”, and the domain will again appear as “Active” from your Plesk Control Panel.

cPanel Server : Restoring MySQL SimLink.

If you’re unable to restart mysqld and troubleshooting the cause: if u log into SSH and go to /tmp you may see that there is no simlink

To create a simlink you can do the following:

cd /var/lib/mysql/
touch mysql.sock
chmod 1777 mysql.sock
chown mysql.mysql mysql.sock

Create a symlink for the sock file :-
ln -s /var/lib/mysql/mysql.sock /tmp

Restart mysql :- service mysql restart

Then your MySQL service should be back to normal.