Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member ullalla's Avatar
    Join Date
    Jan 2006
    Posts
    192

    Default Park domain help urgent

    I want to park one domain under two accounts on the same server , is it possible?

    I tried to do this but it gave me error as :

    Error from park wrapper: domain name is owned by another user.


    Please any help is appreciated urgent

    Thanks

  2. #2
    Member ullalla's Avatar
    Join Date
    Jan 2006
    Posts
    192

    Default

    no help

  3. #3
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Run the following command from SSH as root:

    Code:
    grep "(domain)" /var/cpanel/users/*
    NOTE: replace (domain) with the domain name you are trying to add above!

    This should reveal to you which user already has the domain in question
    parked on their account as the filenames in /var/cpanel/users are
    the login names for the accounts.

    Go into the control panel for that user and try to remove the parked / addon domain

    If for some reason the domain does not appear in Cpanel for that user,
    you can manually remove the domain ...

    1. Edit the file returned from the grep command above and remove the
    "DNS=(domain)" line from the file

    2. Edit /etc/localdomains and /etc/trueuserdomains and remove (domain) from
    those files if it exists in there as well

    3. Change to /var/named folder and see if "(domain).db" file exists.
    If so, delete the file and edit /etc/named.conf and remove the
    section pertaining to (domain) and restart your DNS server.

    NOTE: Reminder you should replace (domain) with the domain you are
    trying to add in all the instructions above.

    You should now be able to add the domain to whatever account you wish
    as a new account, new parked domain, or new addon domain.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge jamez01's Avatar
    Join Date
    May 2007
    Posts
    3

    Default

    Quote Originally Posted by Spiral View Post
    Run the following command from SSH as root:

    Code:
    grep "(domain)" /var/cpanel/users/*
    NOTE: replace (domain) with the domain name you are trying to add above!

    This should reveal to you which user already has the domain in question
    parked on their account as the filenames in /var/cpanel/users are
    the login names for the accounts.

    Go into the control panel for that user and try to remove the parked / addon domain

    If for some reason the domain does not appear in Cpanel for that user,
    you can manually remove the domain ...

    1. Edit the file returned from the grep command above and remove the
    "DNS=(domain)" line from the file

    2. Edit /etc/localdomains and /etc/trueuserdomains and remove (domain) from
    those files if it exists in there as well

    3. Change to /var/named folder and see if "(domain).db" file exists.
    If so, delete the file and edit /etc/named.conf and remove the
    section pertaining to (domain) and restart your DNS server.

    NOTE: Reminder you should replace (domain) with the domain you are
    trying to add in all the instructions above.

    You should now be able to add the domain to whatever account you wish
    as a new account, new parked domain, or new addon domain.

    I have done all this, even before viewing this forum. I still receive the same error.

    Is there any where else the information may be stored?

    WHM 10.8.0 cPanel 10.9.0-R10737
    CentOS 4.4 x86_64 - WHM X v3.1.0

  5. #5
    Member LiNUxG0d's Avatar
    Join Date
    Jun 2003
    Location
    Gatineau, Quebec, Canada
    Posts
    206

    Default

    Here's something that nobody's mentionned.

    If you've got a DNS cluster setup, make sure you disable the DNS cluster. Even if you take all the steps above, the DNS query to the Masters might cause a problem. I just ran into this and that was the last step I took which fixed it.

    Hope this helps!
    http://www.okteck.com/
    The best web hosting, reseller hosting and dedicated server packages!

  6. #6
    Member
    Join Date
    May 2006
    Location
    Johannesburg, South Africa
    Posts
    944
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I'm having the same problem, get this error:

    There was a problem removing the Addon Domain Show Details
    Error from park wrapper: Sorry, you do not control the domain call-logging
    • cPanel :: Fantastico :: RVSkin :: WHM :: ModernBill
    • Reseller Hosting :: SSL Certificates :: Domain Registrations :: Affiliate Program
    • Blog Hosting :: CMS Hosting :: Forum Hosting :: E-Commerce Hosting
    SoftDux- The Leaders in Software
    Use the coupon: cpanel-06 to get 20% off our packages

  7. #7
    Member
    Join Date
    Apr 2003
    Posts
    27

    Default

    Quote Originally Posted by Spiral View Post
    Run the following command from SSH as root:

    Code:
    grep "(domain)" /var/cpanel/users/*
    NOTE: replace (domain) with the domain name you are trying to add above!

    This should reveal to you which user already has the domain in question
    parked on their account as the filenames in /var/cpanel/users are
    the login names for the accounts.

    Go into the control panel for that user and try to remove the parked / addon domain

    If for some reason the domain does not appear in Cpanel for that user,
    you can manually remove the domain ...

    1. Edit the file returned from the grep command above and remove the
    "DNS=(domain)" line from the file

    2. Edit /etc/localdomains and /etc/trueuserdomains and remove (domain) from
    those files if it exists in there as well

    3. Change to /var/named folder and see if "(domain).db" file exists.
    If so, delete the file and edit /etc/named.conf and remove the
    section pertaining to (domain) and restart your DNS server.

    NOTE: Reminder you should replace (domain) with the domain you are
    trying to add in all the instructions above.

    You should now be able to add the domain to whatever account you wish
    as a new account, new parked domain, or new addon domain.
    Worked perfect for me!!! The domain name was even pointing to a different domain on my server. Thanks so much

  8. #8
    Member
    Join Date
    Feb 2006
    Posts
    7

    Angry I am also getting the error

    I have checked the cpanel users file, removed the entry from there, no entries in the DNS files, but still getting the same error.

    Error from park wrapper: domain owned by another user.

  9. #9
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by jeffrulz007 View Post
    I have checked the cpanel users file, removed the entry from there, no entries in the DNS files, but still getting the same error.

    Error from park wrapper: domain owned by another user.
    Run /scripts/updateuserdomains for your changes to the cpanel users file to take effect.

  10. #10
    Member
    Join Date
    Feb 2006
    Posts
    7

    Default

    I did /scripts/updateuserdomains but that also didn't help.

    I can see the domains zone file when I take edit DNS zone in whm, but it is not there in 'delete dns zone' . There are no entries in the named.conf also no zone file in the /var/named directory.

    Is there any other files I need to check ?

  11. #11
    Member
    Join Date
    Jun 2007
    Posts
    22

    Default

    Quote Originally Posted by Spiral View Post
    Run the following command from SSH as root:

    Code:
    grep "(domain)" /var/cpanel/users/*
    NOTE: replace (domain) with the domain name you are trying to add above!

    This should reveal to you which user already has the domain in question
    parked on their account as the filenames in /var/cpanel/users are
    the login names for the accounts.

    Go into the control panel for that user and try to remove the parked / addon domain

    If for some reason the domain does not appear in Cpanel for that user,
    you can manually remove the domain ...

    1. Edit the file returned from the grep command above and remove the
    "DNS=(domain)" line from the file

    2. Edit /etc/localdomains and /etc/trueuserdomains and remove (domain) from
    those files if it exists in there as well

    3. Change to /var/named folder and see if "(domain).db" file exists.
    If so, delete the file and edit /etc/named.conf and remove the
    section pertaining to (domain) and restart your DNS server.

    NOTE: Reminder you should replace (domain) with the domain you are
    trying to add in all the instructions above.

    You should now be able to add the domain to whatever account you wish
    as a new account, new parked domain, or new addon domain.
    This worked great for me, thank you

  12. #12
    Registered User
    Join Date
    Nov 2004
    Location
    Oslo, Norway
    Posts
    3

    Default

    I have the same problem; not able to remove a domain which is pointing to a subdomain. And the domain does not show up in cpanel.

    Trying the description in this thread, when I try to run /scripts/updateuserdomains
    I got this message:

    root@xyzname [/var/cpanel/users]# . /scripts/updateuserdomains
    -bash: BEGIN: command not found
    -bash: /scripts/updateuserdomains: line 15: syntax error near unexpected token `{'
    -bash: /scripts/updateuserdomains: line 15: ` if ( @ARGV && $ARGV[0] && $ARGV[0] !~ m/^--/ && -e $ARGV[0] ) {'
    root@xyzname [/var/cpanel/users]#

  13. #13
    Member
    Join Date
    Dec 2006
    Posts
    113

    Default

    Quote Originally Posted by MortenW View Post
    root@xyzname [/var/cpanel/users]# . /scripts/updateuserdomains
    -bash: BEGIN: command not found
    -bash: /scripts/updateuserdomains: line 15: syntax error near unexpected token `{'
    -bash: /scripts/updateuserdomains: line 15: ` if ( @ARGV && $ARGV[0] && $ARGV[0] !~ m/^--/ && -e $ARGV[0] ) {'
    root@xyzname [/var/cpanel/users]#

    This:

    root@xyzname [/var/cpanel/users]# . /scripts/updateuserdomains
    should be this:

    root@xyzname [/var/cpanel/users]# /scripts/updateuserdomains

  14. #14
    Registered User
    Join Date
    Nov 2004
    Location
    Oslo, Norway
    Posts
    3

    Default

    Thank you, JPetersen!
    Typical me; sh <almost_everything>...
    Perfect! Then I was able to park the domain again, problem solved!

    Thanks again, JPetersen, Spiral and all others!

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 09-09-2011, 12:24 PM
  2. Park Domain and add Mail Parking to existing domain
    By hostmedic in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 06-10-2011, 05:02 AM
  3. Urgent- Cannot unpark park domain
    By mak_the_admin in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-31-2009, 11:12 PM
  4. Park Domain & Domain Root
    By pije in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-17-2007, 07:27 AM
  5. How do you park a domain on top of an addon domain through Cpanel?
    By Valetia in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-20-2004, 04:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube