Skip to main content

[CPANEL-23007] MultiPHP Manager "API Failure" failed to find domain

Comments

8 comments

  • cPanelMichael
    Hello Matt, Could you review the post linked below and let us know if the referenced paths help you find where the leftover data exists? Thank you.
    0
  • ItsMattSon
    Hi @cPanelMichael, It seems to have stopped the error in question, but now I get something else entirely haha. This is the part I followed [QUOTE]After looking in "/var/cpanel/userdata/" I found 2 files of interest:
    • .example.com.php-fpm.cache
    • .example.com.php-fpm.yaml

    So I removed the prod.domain.com.au .cache and .yaml and reloaded the MultiPHP Manager and the red API Failure notice didn't come up again so I thought it was all sorted, and then this showed up in a yellow "Acknowledge" bubble: [QUOTE]Your system contains an old PHP-FPM configuration. To update your PHP-FPM configuration, read our
    0
  • cPanelMichael
    Hello Matt, You can use the following command to search for orphaned PHP-FPM configuration files: /scripts/php_fpm_config --check
    I've seen this happen in the past when an orphaned PHP-FPM configuration file exists in the /opt/cpanel/ea-php$$/root/etc/php-fpm.d/ directory. Thank you.
    0
  • ItsMattSon
    Hi @cPanelMichael, Thanks! That did the trick! No more old configuration error :) The output had this, so I deleted the file. Orphaned Files (PHP FPM Config files without the cPanel YAML file) /opt/cpanel/ea-php70/root/etc/php-fpm.d/prod.domain.com.au.conf Much appreciated! I'm all sorted now.
    0
  • thewebexpert
    This happened to me as well! thank you for the post! fixed the problem.... I believe it was because the domain was expired and posted away, but the client parked a new domain on top of the old one .... leaving leftovers ....
    0
  • uk01
    This has happened to me too. An account was migrated between a couple of servers, I think the domain was previously modified as we used the website set up for another site. IN our case there was no file in /var/cpanel/userdata/ as the user had been terminated, but php fpm did not work because of the red error panel. The only way I could solve it temporarily is actually add the sub domain as an account xxxx.domain.com so it created this on the server and stopped the error
    0
  • cPanelMichael
    Hi @uk01, We have a couple of internal cases open to help address this issue going forward. 1. CPANEL-23006 is open to ensure a more useful error message appears in the MultiPHP Manager UI when an orphaned configuration file exists in /var/cpanel/userdata/. 2. CPANEL-23007 is open to determine how ensure MultiPHP Manager still works when an orphaned configuration file exists in /var/cpanel/userdata/. I'll update this thread with more information on the status of these two cases as it becomes available. Thank you.
    0
  • cPanelMichael
    Hello, To update, as of cPanel & WHM version 76, MultiPHP Manager should remain functional when an orphaned configuration file exists in /var/cpanel/userdata/. Thank you.
    0

Please sign in to leave a comment.