Linux > Plesk

Troubleshooting Plesk Access Error in Linux

(1/1)

joseletk:
"Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied."

This message means that Plesk IP access policy was configured in such a way that you can NOT login to Plesk from your current IP. You can find your current IP by visiting whatismyip.com.

SOLUTION

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.

1. Connect to your server via SSH.
2. Find the current policy and restricted/allowed IPs using the following commands:


--- Code: ---mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa
mysql> select * from cp_access;
mysql> select * from misc where param='access_policy';

--- End code ---

3. If you wish to clear access policy settings, remove all records from "cp_access" and set the policy to "allow".


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

Now, you should be able to login to the Plesk Control Panel.
===================================================================

Navigation

[0] Message Index

Go to full version