Which account owns this domain?

bizzy

Active Member
Nov 30, 2006
25
0
151
I have two servers A & B with clustered DNS. On server A I have a 'dump' account where I park domains. I copied this account to server B (or it could have been the other way round). All worked OK.

Then I added another parked domain to this account on server A. I was surprised to see it synched the DNS on server B. Server B should not have had a zone to synch. When I checked on server B I now found the domain. However I cannot add it as a parked domain to the equivelent account on server B (which has the same name). I get

"Error from park wrapper: <domain.com> is owned by another user."

As I said the DNS zone is on and editable on server B but a listing of parked domains do not locate. Who owns it and why did it synch?

<cPanel newbie>
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
grep domain.com /etc/trueuserdomains

grep username /etc/trueuserowners
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
You can do this on each server ....

Replace DOMAIN with the actual domain name ....

Code:
cd /var/named/users
grep -c "DOMAIN" ./* | grep -v "\:0"
If the domain you search for is associated with any username
on that server, it will be displayed.
 

bizzy

Active Member
Nov 30, 2006
25
0
151
I presume you mean directory /var/cpanel/users.

No mention of the domain there. The enigmatic domain has a normal listing created by cPanel in /etc/named.conf and zone in /var/named. Do you think it safe to delete the references and try and recreate as a parked domain?

The last thing I want to do is break cPanel on a live system ...
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
You can easily remove all references to the domain in question in order to recreate it.
At one time or another its a required task.

Heres a list of things to check, although I may have missed a location or two but this
is generally enough to clear up the trouble.
 

vinc_dc43

Well-Known Member
Jan 19, 2003
60
0
156
jayh38

Thanks for the list, but i am hitting the same issue time and time again

cpanel says the domain is owned by somone else and whm says a DNS entry exists

even after I have deleted them all, unparked them and even removed every entry in the list you give.

Any other ideas would be hugely appreciated.

best, Vincent -
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
I see I forgot to list one more, lol

look in /var/named and delete the account in there as well