Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Plesk login problem

Apr 28, 2012 by GeekNew
Hi
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 votes
Apr 28, 2012 by lightSpeed
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';