• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question IP Addresses are broken

i-need-mny

New Pleskian
Hello,

i wanted to change the ip address in Plesk.

After changing there were problems with the assignment.

Now the ip addresses are broken and i have multiple addresses.


The output of
/usr/local/psa/admin/bin/ifmng -l
Code:
172.17.0.1 255.255.0.0 docker0 1
10.0.1.10 255.255.255.0 enp2s0 1
10.0.1.100 255.0.0.0 enp2s0 0
10.0.1.100 255.255.255.255 enp2s0 0
fd16:cd9e:5937::a0f 128 enp2s0 0

The output of
plesk db => select * from IP_Addresses;
Code:
+----+---------------------+-----------------+--------+--------------------+-------------------+-------+--------+---------------+-------------------+-------+
| id | ip_address          | mask            | iface  | ssl_certificate_id | default_domain_id | ftps  | status | serviceNodeId | public_ip_address | main  |
+----+---------------------+-----------------+--------+--------------------+-------------------+-------+--------+---------------+-------------------+-------+
|  2 | fd16:cd9e:5937::a0f | 128             | enp2s0 |                  1 |                 0 | false |      0 |             1 | NULL              | false |
|  5 | 10.0.1.10           | 255.255.255.0   | enp2s0 |                  1 |                 0 | false |      1 |             1 | 111.111.111.111   | false |
|  7 | 10.0.1.100          | 255.255.255.255 | enp2s0 |                  1 |                 0 | false |      0 |             1 | 111.111.111.111   | false |
|  8 | 10.0.1.52           | 255.255.255.0   | enp2s0 |                  1 |                 0 | false |      0 |             1 | NULL              | false |
+----+---------------------+-----------------+--------+--------------------+-------------------+-------+--------+---------------+-------------------+-------+

The output of
plesk bin ipmanage --ip_list
Code:
State Type IP                                Clients Hosting PublicIP     
0     E    enp2s0:fd16:cd9e:5937::a0f/128    0       0                     
1     S    enp2s0:10.0.1.10/255.255.255.0    0       3       111.111.111.111
0     S    enp2s0:10.0.1.100/255.255.255.255 0       0       111.111.111.111
0     E    enp2s0:10.0.1.52/255.255.255.0    0       0

Here is an error message show up on the main page of Plesk (unfortunately only in German)
Code:
Aufgrund folgender Fehler in den Konfigurations-Templates konnten keine neuen Konfigurationsdateien für den Apache Webserver erstellt werden: nginx: [emerg] bind() to 10.0.1.52:80 failed (99: Cannot assign requested address) nginx: configuration file /etc/nginx/nginx.conf test failed . Ausführliche Fehlerbeschreibungen wurden Ihnen per E-Mail zugesendet. Bitte lösen Sie das Problem und klicken Sie hier, um die beschädigten Konfigurationsdateien erneut zu erstellen, oder hier, um alle Konfigurationsdateien zu erstellen. Einzelheiten im Configuration Troubleshooter ansehen

Reread of the addresses and repair of a address and also plesk repair can not fix this.

How i can fix this? I just want the ip address 10.0.1.10

Thank you in advance.
 
as much as I like to do many things via cmd line, I wonder what happens when you use the Plesk Panel > Tools & Settings > Tools & Resources > IP Addresses for your issue

see also; IP Addresses Management
 
Last edited:
I don't mean to discourage you, but the last time I changed the IP on my own Plesk server, I ended up re-installing due to the endless problems that come from this.
 
I supose you have read the howto hide / remove a IP in the above mentioned documentation.

what is the output of
# ip a s
 
Last edited:
From the webserver reconfiguration error I think that the main reason for the issue is that the IP addresses are incorrectly set in the operating systems files. If they are correctly set in the host's files, a configuration in Plesk should be easy and won't need much more then a "re-read" on the IP address configuration page, then regeneration of webserver configuration files. But in the error message it says "Cannot assign requested address", which indicates that the web server cannot bind to the address, because it is already in use by another process on the system. This all seems to be much more basic on the OS level than on the Plesk level.
 
Thank you all for your help!

I decided to reinstall the server because there were too much changes everywhere.

Now my network is stable and it works like expected - apart from ftp connection, but thats another issue.
 
Back
Top