Plesk for Linux
kb: technical
ip address
database
Applicable to:
- Plesk for Linux
Symptoms
Changing the IP address type from dedicated to shared fails with an error:
PLESK_ERROR: IP Address updating finished with errors
Cannot change the type of IP address already allocated to a user. IP address 203.0.113.2 is already allocated to user(s) as shared IP address.
Cause
Plesk database inconsistency.
Resolution
Update the IP address type in the Plesk database.
- Connect to the Plesk server via SSH.
-
Backup the Plesk database:
# plesk db dump > psa_backup.sql
-
Access the Plesk database:
# plesk db
-
Get the affected IP address' ID:
MYSQL_LIN: SELECT id FROM IP_Addresses WHERE ip_address = "203.0.113.2";
-
Update the
ip_pooltable and set the type toshared:MYSQL_LIN: UPDATE ip_pool SET type = "shared" WHERE ip_address_id = "1";
Note: Replace the
ip_address_idvalue with the one obtained in Step 4.
Comments
Please sign in to leave a comment.