- Plesk for Linux
Subscription is inaccessible. The following error shows instead:
CONFIG_TEXT: Internal error:
There is no IP address 203.0.113.2 in the pool.
Message There is no IP address 203.0.113.2 in the pool.
IP address was removed from the server - it is not shown in the output of the command below:
# ip a | grep 203.0.113.2
The non-existing IP address is assigned to a subscription.
- Connect to the server using SSH ;
Execute the following command to assign a proper(new) IP address for all domains with nonexistent IP assigned:
Note: Replace 203.0.113.2 with old nonexistent IP address and 192.0.2.2 with valid required IP address.
# for domain_name in $(plesk db -e"select name from (select domains.name, IP_Addresses.ip_address from domains, IpAddressesCollections, IP_Addresses, DomainServices where DomainServices.ipCollectionId=IpAddressesCollections.ipCollectionId and DomainServices.dom_id=domains.id and IP_Addresses.id = IpAddressesCollections.ipAddressId) as T where T.ip_address='$bad_ip';"); do /usr/local/psa/bin/domain --update $domain_name -ip $proper_ip; done
Plesk > Tools & Settings > IP Addresses
in order to remove nonexistent IP address from Plesk: