chdir path does not exist or is not a directory

behinam

Well-Known Member
May 9, 2017
66
3
8
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?
 
Last edited by a moderator:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,254
313
Houston
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?