Skip to main content

Gathering PHP-FPM packages information fails due to a missing subdomain

Comments

4 comments

  • cPanelMichael
    Hello, It's likely some leftover data from that subdomain exists somewhere on the filesystem. Feel free to open a support ticket using the link in my signature and we can take a closer look to see where it might exist. Thank you.
    0
  • Adam Reece | WebBox
    A support ticket is not really an option I want to use, because it looks like I have to give some company called Interserver, Inc. root access to the server? I've never heard of them, so I can't trust that. I've instead done a GREP search across the whole file system for the domain name string in "/etc", "/home/", "/usr", and "/var". Found it in the following places:
    • /var/cpanel/bandwidth/.sqlite
    • /var/cpanel/logs/convert_all_domains_to_fpm.1517391015.log
    • /var/cpanel/users.cache/
    • /var/cpanel/users/
    • /var/lib/mlocate/mlocate.db
    Starting with the text files I started with "/var/cpanel/users/", noticed "XDNS1" property was set to ".example.com" instead of just "example.com", so that's been corrected. (Be sure to exec `/usr/local/cpanel/scripts/updateuserdomains` after.) That didn't resolve the issue though. After looking in "/var/cpanel/userdata/" I found 2 files of interest:
    • .example.com.php-fpm.cache
    • .example.com.php-fpm.yaml
    Deleting those 2 files resolved this issue, though I noticed that another domain name was causing the same issue but with the same sub-domain. So looking at "/var/cpanel/userdata/" I found:
    • .example2.com.php-fpm.cache
    • .example2.com.php-fpm.yaml
    Deleting those 2 files for appears to have resolved this issue.
    0
  • cPanelMichael
    Hello, I'm glad to see you were able to find the leftover data and solve the issue. Do you happen to know how the removed domain name was terminated or modified in the past? For instance, this can happen if it was manually modified, or if there was an error during the account modification or termination process. Thank you.
    0
  • Adam Reece | WebBox
    That's a good question. I can't answer that as none of our staff did this. The account is for a client's web/email hosting, and they have cPanel access, so likely did this themselves. (It's also only me and one person at our data centre that uses a terminal as root, and we didn't touch the account manually.) I didn't even know the sub-domain ever existed until I saw the original error in WHM. Sorry I can't be of more help on this.
    0

Please sign in to leave a comment.