Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Troubleshooting Plesk Access Error in Linux  (Read 1664 times)

0 Members and 1 Guest are viewing this topic.

joseletk

  • Guest
Troubleshooting Plesk Access Error in Linux
« on: June 23, 2018, 11:26:43 am »
"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: [Select]
mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa
mysql> select * from cp_access;
mysql> select * from misc where param='access_policy';

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

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

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