• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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