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

natong

Well-Known Member
May 17, 2008
89
1
58
# /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:

natong

Well-Known Member
May 17, 2008
89
1
58
/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:

natong

Well-Known Member
May 17, 2008
89
1
58
/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:

natong

Well-Known Member
May 17, 2008
89
1
58
/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: [email protected]
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: [email protected]
serveralias: www.nad.com
servername: nad.com
ssl: 1
usecanonicalname: 'Off'
user: tid
userdirprotect: ''
 
Last edited:

jave

Member
Oct 19, 2007
8
0
51
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.
 

natong

Well-Known Member
May 17, 2008
89
1
58
"/home/tid" is own by user "tid" and group "tid". And the domain is "nad.com".
 
Last edited: