• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Undeletable IP address

G

gddotts

Guest
Greetings guru's,

I'm having a problem deleting an IP address from my main Plesk Reloaded v7.5.4 server.

When I access "Server" > "IP Addresses" I see the list of addresses assigned to the server. However, the two top IP's are not deletable. Here's the setup of the top two:

65.38.21.66 255.255.255.248 eth0 1 1
65.38.21.68 255.255.255.248 eth0 0 0

As you can see 65.38.21.66 is the primary address with one domain associated and 65.38.21.68 is a secondary address with no domains associated. I want to remove .68 but the check box is grey and unavailable.

This machine was at one time IP'd to .68, but only temporarily as a result of a failure on .66. A quick check of the database shows this:

mysql> select * from IP_Addresses;
+----+-------------+-----------------+-------+-----------+--------------------+-------------------+
| id | ip_address | mask | iface | type | ssl_certificate_id | default_domain_id |
+----+-------------+-----------------+-------+-----------+--------------------+-------------------+
| 1 | 65.38.21.68 | 255.255.255.248 | eth0 | shared | 4 | 0 |
| 2 | 192.168.5.2 | 255.255.255.252 | eth1 | exclusive | 1 | 0 |
| 3 | 65.38.21.70 | 255.255.255.248 | eth0 | exclusive | 5 | 3 |
| 4 | 65.38.21.69 | 255.255.255.248 | eth0 | shared | 1 | 0 |
| 5 | 65.38.21.66 | 255.255.255.248 | eth0 | exclusive | 4 | 2 |
+----+-------------+-----------------+-------+-----------+--------------------+-------------------+
5 rows in set (0.00 sec)

As you can see here ID #1 is the .68 address while .66 is ID #5.

Further, I shutdown interface eth0:3 (65.38.21.68) and removed the ifcfg from /etc/sysconfig/network-scripts then reread IP's from within Plesk. The result of that is just a disabled interface.

Any thoughts on how I can delete this IP from the system short of removing it in the database. I'm not sure how much stuff would get orphaned by removing it in the DB.

Thanks for any thoughts and suggestions.

Greg Dotts
Celerity Data Solutions, Inc.
 
Back
Top