affiliate_link

I'd like to start sharing you really useful problems and fixes from a linux wordpress blogger. Here's one:

Problem:

While logging into Plesk control panel, you may get the following error:
“Access for administrator from address xx.xx.xx.xx is restricted in accordance with IP Access restriction policy currently applied.”


Resolution:

This means Plesk IP access policy was configured in such a way that Plesk cannot be accessed from the current IP. To enable Plesk CP access one needs to login to Plesk Control Panel locally and change IP access policy.

It can be done the following way:

Server > Acess (under the section Administrator information) > Remove necessary IP address/subnet/network

If localhost is also blocked, the Plesk database records regarding access policy need to be corrected.

To retrieve the current policy and restricted/allowed IPs the following commands can be used:

#mysql -uadmin -p`cat /etc/psa/.psa.shadow` -P8306 psa
mysql> select * from cp_access;mysql> select * from misc where param=’access_policy’;
To clear the access policy settings remove all the records from the “cp_access” table and set policy to “allow”:
mysql> delete * from cp_access;mysql> update misc set val=”allow” where param=’access_policy’;

Test and you should be able to login now.

Source: mohammednv

Recommended buys!

0 comments