cpanel errors
Hello,
I'm having trouble getting addon domains added or removed. This is confusing and might need some help.
I go to create an addon domain, and get an error. However, a DNS zone gets created and a listing under domains gets created, however, it doesn't seem to work.
if I want to remove a DNS zone, I can't remove it because it says to remove a subdomain that doesn't seem to exist. I found a listing under the domain section, but i can't remove it do to the error:
Error: The domain userdata file for the "" domain appears to be missing.
-
Hello, What is the error you're receiving when trying to add the addon domain? 0 -
Hi I will try to explain what is going on. I will try to make it as clear as possible, but I'm not sure i'm completely following what is going on so, I will try my best to be clear. I have a wordpress site on a cpanel server that has a lot of subdomains for it. I told cPanel to use itself as a DNS server. I am trying to add a few addon domains. (Let's call it domain.com) When I go to add an addon domain, I get the following error: '(XID xyx4f4) A DNS entry for the domain "domain.maindomain.com" already exists.' so, it errors out, however, the addon domain gets listed in DNS when I go to the 'Delete a DNS zone" in cPanel. But it won't let me remove it since as it says this: You cannot remove the domain "domain.com" because it is still configured for HTTP use on the "maindomain.com" account. In order to remove the domain, perform any of the following actions: 0 -
I get the following error: '(XID xyx4f4) A DNS entry for the domain "domain.maindomain.com" already exists.'
You're getting that after you've already added the domain once I'd wager right? And the initial attempt failed, but most likely for another reason. This can cause a bunch of issues when domains are 1/2 added and for some reason, the process dies. We have an internal script that we use for these kinds of issues, it's better than rebuilding the userdata and should be attempted first. You need to make a decision to remove or add the domain then based on that you can fill in the places that are missing from the failed add or remove the references to the domain based on the script's output./usr/local/cpanel/3rdparty/bin/perl <(curl -s https://raw.githubusercontent.com/cPanelInc/tech-acctinfo/master/acctinfo) --cruft domain.com
Normal MISSING files:/var/cpanel/quotawarned /etc/remotedomains - usually the domain is in localdomains but this could be reversed (it should be in one or the other) /etc/email_send_limits - if you don't have these enforced /var/cpanel/mainips/$user /var/cpanel/bwlimited/$user /var/cpanel/bwlimited/domain.tld0 -
Hello, I wanted to follow up on this. 0 -
hello @cPanelLauren I wanted to follow up on this. I'm getting issues with half added domains. I'm trying to add an addon domain. But the domain appears to be partially added. It is listed in DNS, but I can't remove it due it claiming there is subdomain that doesn't seem to exist. When I try to add it again in addon domains, it is claimed that it exists in userdata already (but not listed in the addon domain section) Note: it is also not in Parked domains and the below code brings up no search results. As far as I can tell right now, it is only in DNS, which I can't delete the zone /usr/local/cpanel/bin/whmapi1 domainuserdata domain=domain.tld --- metadata: command: domainuserdata reason: "API failure: (XID x2z3qc) This system does not have a domain named "domain.tld"." result: 0 version: 10 -
I'd suggest doing another cruft check: /usr/local/cpanel/3rdparty/bin/perl <(curl -s https://raw.githubusercontent.com/cPanelInc/tech-acctinfo/master/acctinfo) --cruft domain.com
And removing the references to the domain. But this is an involved process and if you'd like to open a ticket we'd be happy to help you there.0 -
Thanks @cPanelLauren :) I will open a ticket if need. Is there any place we can look to see why it is getting half added in the first place? Or have you seen anything like this to where I can take a look at? 0 -
I cleaned up everything to where it says missing now (previous exists).. but still is showing userdata exists. Am I correct in assuming that missing is what you want it to say on the cruft output? 0 -
I'm seeing an error that might be kicking off this whole half added domain maybe. [2020-03-24 10:20:12 -0500] info [park] Creating Addon domain 'domain.com' on 'subdomain.maindomain.com'. [2020-03-24 10:20:15 -0500] die [park] Requested command [refresh_dkim_validity_cache domain.com] has invalid arguments. at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 32. is there any insite on this error that can be provide? 0 -
Hi @ca2236 I will open a ticket if need. Is there any place we can look to see why it is getting half added in the first place? Or have you seen anything like this to where I can take a look at?
I'd suggest checking the cPanel error logs, it is strange to see this behavior without an underlying issue on the server. And as I say that I see your last response:[2020-03-24 10:20:12 -0500] info [park] Creating Addon domain 'domain.com' on 'subdomain.maindomain.com'. [2020-03-24 10:20:15 -0500] die [park] Requested command [refresh_dkim_validity_cache domain.com] has invalid arguments. at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 32.
As far as that goes, I see it come up when failures to add a domain are present sometimes but I don't believe it's the initial cause.0 -
I think at this point, I'm looking to open a ticket. I will let you know if I do. some puzzling things going on here. sporadically domains get half added, not sure why and other times they get added just fine. I'm trying to cleanup the cruft as I understand how to, (removing entries and files related to what the domain I'm looking for, so it comes up missing instead of existing) last issue is that from what I can tell, this domain exists under the domains tab for the account, but no where else, but I can remove it from manage domains as it says no user data exists. the cruft comes up and not finds anything (as far as I understand) 0 -
I figured out how to fix the issue, But still don't know why it is happening. 0 -
@ca2236 When/if it happens again, I'd really like for you to open a ticket so we can take a closer look at what's occurring on the system when it does occur. 0 -
How you solved this ? I am getting same error. 0 -
No, I haven't figured out why this is happening. 0
Please sign in to leave a comment.
Comments
16 comments