The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Which account owns this domain?

Discussion in 'General Discussion' started by bizzy, Dec 18, 2006.

  1. bizzy

    bizzy Member

    Joined:
    Nov 30, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    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>
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    grep domain.com /etc/trueuserdomains

    grep username /etc/trueuserowners
     
  3. bizzy

    bizzy Member

    Joined:
    Nov 30, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    The domain does not appear in /etc/trueuserdomains ...
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    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.
     
  5. bizzy

    bizzy Member

    Joined:
    Nov 30, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    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 ...
     
  6. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    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.
     
  7. vinc_dc43

    vinc_dc43 Well-Known Member

    Joined:
    Jan 19, 2003
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    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 -
     
  8. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    I see I forgot to list one more, lol

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

Share This Page