Plesk login problem

asked Apr 28, 2012 in General by GeekNew (720 points)
This is strange, when I try to access my Plesk I get the following error message: "Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied."

I don't know what is causing this and I have no idea how to fix it. I would really appreciate it if someone can tell me how to fix this.

1 Answer

0 like 0 dislike
answered Apr 28, 2012 by lightSpeed (2,420 points)
To enable Plesk Control Panel access you will need to login to the server via SSH as the root user and change your IP access policy in the 'psa' database.

Connect to your server via SSH.
Find the current policy and restricted/allowed IPs using the following commands:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa
 mysql> select * from cp_access;
 mysql> select * from misc where param='access_policy';
clear access policy settings, remove all records from "cp_access" and set the policy to "allow".

# mysql  -uadmin -p`cat /etc/psa/.psa.shadow ` psa
 mysql> delete * from cp_access;
 mysql> update misc set val="allow" where param='access_policy';