Applicable to:
- Plesk for Linux
Symptoms
-
All domains show Plesk default page;
-
Checking database for inconsistencies return an error:
# plesk repair db -n
Inconsistency in the table 'DomainServices' for the column
ipCollectionId: Web service cannot operate: the IP address list with
ID 101 is emptyThere are no configuration files for the domains in /etc/httpd/conf/plesk.conf.d/vhosts/;
Cause
Inconsistency in Plesk database after manual IP removal.
Check and compare records from ipCollections
and IpAddressesCollections
using ID from the error message.
The ID in the error message should exist in both tables.
In this example, there is no ipCollectionId=31
in the table IpAddressesCollections
:
# plesk db "select * from IpCollections where id=31;"
+----+
| id |
+----+
| 31 |
+----+
1 row in set (0.00 sec)
# plesk db "select * from IpAddressesCollections where ipCollectionId=31;"
empty
Resolution
-
Log in to the server via SSH;
-
Backup Plesk database;
-
Find the
ipAddressId
value that should be used in theIpAddressesCollections
table:# plesk db "select id,ip_address,status from IP_Addresses"
+----+-------------+--------+
| id | ip_address | status |
+----+-------------+--------+
| 1 | 203.0.113.2 | 0 |
+----+-------------+--------+ -
Replace missing record - assign one of the IP addresses from step 3 to ID from the error message. For example:
# plesk db "insert into IpAddressesCollections values(101, 1)";
-
Repair broken configuration files:
# plesk repair web -y
Comments
0 comments
Please sign in to leave a comment.