• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Big mess after chancing the IP-address of a Subscriptions

Thomas Krcal

New Pleskian
Hy

After chancing the IP-address of a subscriptions everything is confused.
There where different troubles with the domains inside this subscriptions

a> Some domains checked the modification of the IP and everything worked fine.
b> Some domains did work fine, after saving the "Hosting Settings" of the domain on time.
c> Some domains got the error "Error: Failed to updated ip. Can't set to addon domain ip different from webspace ip" when try to save the "Hosting Settings"
c1> When I try to delete this domains to create them new I got error "permission denied"
c2> So I deleted them in the console with the command "plesk bin domain -r domainname.tld"
c3> The solution to delete the domain and create it new,was very protractedIn, but it worked with some of the broken domains and they were online again.
c4> but some of the domains create the error "Error: DNS record already exists." when creating them new after deleting.

And since c4 I have no Idea to fix.

I cant count all the Pages that I tryed to fix this problem:
https://kb.plesk.com/en/1365
https://kb.plesk.com/en/120518
https://kb.plesk.com/en/115005
http://forum.odin.com/threads/this-dns-record-already-exists.114139/
"plesk repair db"

So, what chance do I have ?
thank you !

 
UPDATE: Finally I got the error: "Error: DNS record already exists." whenever I want to add any new domain whether domain or subdomain
 
Yes sure.
And I tested everything from: https://kb.plesk.com/en/1365

In on case, when I perform this query:
select z.name, r.host, r.type, r.val from dns_zone z, dns_recs r where z.id=r.dns_zone_id and r.host like '%mydomain%';

there is no record, but I have the message : Error: DNS record already exists.

But as I wrote:
No Im always getting the message : Error: DNS record already exists.
Whenever I create any new Domain in any subscriptions.

There seems to be a few bugs, when switching the IP-Address at any subscriptions.
 
Now also e-Mailserver does not work correctly.

e-Mails that receives to an external Domain hangs in the Mail Queueand does not be delivered.
Mails from Domains in the server will be deliveres correctly.

Could anyone help me ?
 
the dns error I have several times when I change the IP address away from a dedicated IP and then try and remove the IP from the box, I fix it with a command like this


plesk db

then

delete from dns_recs where host like '%ip.here%' or displayVal like '%ip.here%' or val like '%ip.here%';

Hopefully that helps you
 
Something else I have tried in the past

plesk bin ipmanage --auto-remap-ip-addresses true
plesk bin ipmanage --reread


And then (assuming you deleted dns_recs) restart plesk so it re-reads and then reconfigure

plesk sbin websrvmng -v -a

There is also a plesk extension that could help with broken configs
https://kb.plesk.com/en/115587
 
Back
Top