Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

chdir path does not exist or is not a directory

Discussion in 'General Discussion' started by behinam, Dec 18, 2018.

  1. behinam

    behinam Active Member

    Joined:
    May 9, 2017
    Messages:
    40
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Dubay
    cPanel Access Level:
    Root Administrator
    i give this error
    ERROR: [pool nama_example_com] the chdir path does not exist or is not a directory

    and php fpm log:

    /scripts/php_fpm_config --check
    Failed to find the domain(s): “nama.example.com”. at /usr/local/cpanel/Cpanel/PHP/Config.pm line 255.
    Cpanel::PHP::Config::_get_php_config_for_domains(0, ARRAY(0x39d8918)) called at /usr/local/cpanel/Cpanel/PHP/Config.pm line 275
    Cpanel::PHP::Config::get_php_config_for_domains(ARRAY(0x39d8918)) called at /usr/local/cpanel/Cpanel/PHPFPM/Inventory.pm line 55

    What is the problem cause?
     
    #1 behinam, Dec 18, 2018
    Last edited by a moderator: Dec 18, 2018
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,260
    Likes Received:
    480
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @behinam

    That portion of the perl module is simply listing domains:

    Code:
       
        252         my @ldomains = keys %list;
        253         $domains = \@ldomains;
        254     }
        255
        256     my %wanted_cache = map { $_ => $userdata_cache->{$_} } @{$domains};
        257     my @missing_domains = grep { !$wanted_cache{$_} } @{$domains};
        258     if (@missing_domains) {
        259         Cpanel::LoadModule::load_perl_module('Cpanel::Carp');
        260         die Cpanel::Carp::safe_longmess("Failed to find the domain(s): “@missing_domains”.");
        261     }
    
    Which indicates that nama.example.com may not be present, is this a current domain?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice