Skip to main content

Missing owner for domain , force lookup to root

Comments

8 comments

  • talk2prakash
    Regarding : Missing owner for domain centos-64-64-cpanel.localdomain, force lookup to root Suspect that this is your server hostname. Try adding hostname in the directive Servername of httpd.conf
    0
  • golfanatic
    Dear Prakash, the directive is already included in httpd.conf, and the servername is correct. What else could I do in order to rectify the problem? Thanks & regards Ralph
    0
  • robb3369
    Have you tried to change the hostname from within WHM? /http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/HOstname
    0
  • cPanelMichael
    Hello :) You can remove the old/invalid hostname entries from the non-cache files in the following directory: /var/cpanel/userdata/nobody/
    Thank you.
    0
  • golfanatic
    Dear cPanelMichael, there are two files which do not have a .cache extension, a file called 'main' and a second file called 'centos-64-64-cpanel.localdomain'. What exactly to delete? The whole file, or just a certain line? Thank you. Ralph The main file content is: --- addon_domains: {} main_domain: centos-64-64-cpanel.localdomain parked_domains: [] sub_domains: - centos-64-64-cpanel.localdomain - rootserver.example.de
    The other file's content is: --- documentroot: /usr/local/apache/htdocs group: nobody ifmodulemodsuphpc: group: nobody ip: "*" phpopenbasedirprotect: 1 port: 80 serveradmin: root@centos-64-64-cpanel.localdomain serveralias: www.centos-64-64-cpanel.localdomain servername: centos-64-64-cpanel.localdomain usecanonicalname: 'Off' user: nobody userdirprotect: ''
    0
  • cPanelMichael
    You can remove the entire "centos-64-64-cpanel.localdomain" file and edit the "main" file to replace the entry for the invalid hostname with the actual hostname of the server. Just to note, the warning message you see when rebuilding the Apache configuration file is harmless. Thank you.
    0
  • golfanatic
    Dear cPanelMichael, thank you, I just did that. The result after executing /scripts/buildhttpdconf is as follows: info [buildhttpdconf] Missing IP for domain rootserver.example.de, using 148.251.20.41 info [buildhttpdconf] Missing ServerName for domain rootserver.example.de, using rootserver.example.de info [buildhttpdconf] Missing port for domain rootserver.example.de, using 80 info [buildhttpdconf] Missing user for domain rootserver.example.de, using nobody info [buildhttpdconf] Missing owner for domain rootserver.example.de, force lookup to root info [buildhttpdconf] Missing group for domain rootserver.example.de, using nobody
    Weird...
    0
  • cPanelMichael
    That's normal until the cache is updated. You should not experience any issues with Apache. Thank you.
    0

Please sign in to leave a comment.