Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    May 2008
    Posts
    83

    Question Error: warn [ensure_vhost_includes] Domain ownership conflict detected for xxx.c

    # /scripts/rebuildhttpdconf
    # /scripts/ensure_vhost_includes --user=tid

    warn [ensure_vhost_includes] Domain ownership conflict detected for nad.com, users tid, tid
    Waiting for httpd to restart..............finished.

    httpd (/usr/local/apache/bin/httpd -k start -DSSL) running as root with PID 15582

    httpd started ok
    Please help me fix these problem.
    Which file(s) to check ?
    Last edited by natong; 01-28-2010 at 06:58 AM.

  2. #2
    Member
    Join Date
    May 2008
    Posts
    83

    Default

    /var/cpanel/userdata # ls -al nobody

    total 52
    drwx------ 2 root root 4096 Jan 23 03:26 ./
    drwx------ 8 root root 4096 Sep 20 02:37 ../
    -rw-r--r-- 1 root root 194 May 15 2008 cpanel.template
    -rw------- 1 root root 223 May 24 2008 cpanel.template.cache
    -rw-r--r-- 1 root root 114 Jan 23 03:50 main
    -rw------- 1 root root 135 Jan 23 03:50 main.cache
    -rw-r--r-- 1 root root 257 Jan 23 03:50 vps60.eboundhost.com
    -rw------- 1 root root 293 Jan 23 03:50 vps60.eboundhost.com.cache
    -rw-r--r-- 1 root root 302 Jan 23 03:50 vps.nad.com
    -rw------- 1 root root 349 Jan 23 03:50 vps.nad.com.cache
    -rw-r--r-- 1 root root 1036 Jun 11 2008 vps.nad.com_SSL
    -rw------- 1 root root 1107 Jun 11 2008 vps.nad.com_SSL.cache
    -r--r--r-- 1 root root 2734 Sep 12 2008 vps.nad.com,v
    /var/cpanel/userdata # ls -al tid

    total 32
    drwx------ 2 root root 4096 Jan 25 16:25 ./
    drwx------ 8 root root 4096 Sep 20 02:37 ../
    -rw-r--r-- 1 root root 143 Jan 23 03:50 main
    -rw------- 1 root root 167 Jan 23 03:50 main.cache
    -rw-r--r-- 1 root root 867 Jan 25 15:56 nad.com
    -rw------- 1 root root 951 Jan 25 15:56 nad.com.cache
    -rw-r--r-- 1 root wheel 951 Jan 25 15:56 pra.nad.com
    -rw------- 1 root wheel 1025 Jan 25 15:56 pra.nad.com.cache
    Last edited by natong; 01-28-2010 at 06:59 AM.

  3. #3
    Member
    Join Date
    May 2008
    Posts
    83

    Default

    /var/cpanel/userdata # cat nobody/main
    ---
    addon_domains: {}

    main_domain: vps.nad.com
    parked_domains: []

    sub_domains:
    - vps60.eboundhost.com

    /var/cpanel/userdata # cat tid/main
    ---
    addon_domains: {}

    cp_php_magic_include_path.conf: 0
    main_domain: nad.com
    parked_domains: []

    sub_domains:
    - pra.nad.com
    Last edited by natong; 01-28-2010 at 07:00 AM.

  4. #4
    Member
    Join Date
    May 2008
    Posts
    83

    Default

    /var/cpanel/userdata # cat nobody/vps.nad.com

    ---
    documentroot: /usr/local/apache/htdocs
    group: nobody
    hascgi: 1
    ifmodulemodsuphpc:
    group: nobody
    ip: "*"
    phpopenbasedirprotect: 1
    port: 80
    serveradmin: nat@gmail.com
    serveralias: www.vps.nad.com
    servername: vps.nad.com
    ssl: 1
    usecanonicalname: 'Off'
    user: nobody
    userdirprotect: ''

    /var/cpanel/userdata # cat tid/nad.com
    ---
    byteslog: /usr/local/apache/domlogs/nad.com-bytes_log
    cp_bw_all_limit.conf: 0
    cp_jkmount.conf: 0
    customlog:
    -
    format: combined
    target: /usr/local/apache/domlogs/nad.com
    -
    format: "\"%{%s}t %I .\\n%{%s}t %O .\""
    target: /usr/local/apache/domlogs/nad.com-bytes_log
    documentroot: /home/tid/public_html
    group: tid
    hascgi: 1
    homedir: /home/tid
    ifmoduleconcurrentphpc: {}

    ifmodulemodsuphpc:
    group: tid
    ifmodulemoduserdirc: {}

    include:
    -
    include: "\"/usr/local/apache/conf/userdata/std/2/*.conf\""
    ip: 216.14.127.135
    options: ExecCGI Includes
    owner: root
    phpopenbasedirprotect: 1
    port: 80
    scriptalias:
    -
    path: /home/tid/public_html/cgi-bin
    url: /cgi-bin/
    serveradmin: webmaster@nad.com
    serveralias: www.nad.com
    servername: nad.com
    ssl: 1
    usecanonicalname: 'Off'
    user: tid
    userdirprotect: ''
    Last edited by natong; 01-28-2010 at 07:02 AM.

  5. #5
    Member
    Join Date
    Oct 2007
    Posts
    8

    Default

    Decide which user (nobody or tid) should have naddalim.com owned under it and then remove the entries of naddalim.com from other user's files under /var/cpanel/users/user and files in /var/cpanel/userdata/user/ folder. Then try to run the rebuild script again.

  6. #6
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    What is the ownership of /home/tid directory and to which domain the user is assigned to?

  7. #7
    Member
    Join Date
    May 2008
    Posts
    83

    Default

    "/home/tid" is own by user "tid" and group "tid". And the domain is "nad.com".
    Last edited by natong; 01-28-2010 at 07:03 AM.

  8. #8
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    hmm.. may be you need to check if "tid" user is assigned to some other account and check the ownership of /var/cpanel/users/tid ownership.

    I would say, have your hosting company to look into it OR some server management company.

Similar Threads & Tags
Similar threads

  1. build_apache_conf -> Domain ownership conflict
    By thobarn in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-26-2009, 01:23 PM
  2. Sorry xxx.xxx.xxx.175 is not a valid ip address!
    By PPNSteve in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-18-2008, 01:32 PM
  3. Replies: 6
    Last Post: 04-19-2007, 05:39 PM
  4. Replies: 0
    Last Post: 05-03-2005, 08:56 AM
  5. http://xxx.xxx.xxx.xxx/~username
    By rahid in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-25-2004, 08:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube