cosmynx

Registered
Aug 5, 2015
1
0
1
romania
cPanel Access Level
Root Administrator
Hi,

I`m getting this errors when i trying to create a cPanel account :

Code:
[2015-08-05 02:29:29 -0500] warn [Cpanel::SafeDir::MK] /var/cpanel/caches was expected to be a directory! at /usr/local/cpanel/Cpanel/SafeDir/MK.pm line 135
  Cpanel::SafeDir::MK::safemkdir('/var/cpanel/caches', 448) called at /usr/local/cpanel/Cpanel/LicenseComponent/Cache.pm line 106
  Cpanel::LicenseComponent::Cache::save(HASH(0x7e35e30), 'info') called at /usr/local/cpanel/Cpanel/LicenseComponent.pm line 66
  Cpanel::LicenseComponent::save(Cpanel::LicenseComponent=HASH(0x7e355a8)) called at /usr/local/cpanel/Cpanel/LicenseComponent.pm line 271
  Cpanel::LicenseComponent::load(Cpanel::LicenseComponent=HASH(0x7e355a8), 0, 1) called at /usr/local/cpanel/Cpanel/LicenseComponent.pm line 60
  Cpanel::LicenseComponent::init('Cpanel::LicenseComponent', 0, 1) called at /usr/local/cpanel/Whostmgr/ACLS.pm line 213
  Whostmgr::ACLS::get_dynamic_acl_lists() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 248
  Whostmgr::ACLS::dynamic_acl_update() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 151
  Whostmgr::ACLS::init_acls() called at whostmgr/bin/whostmgr.pl line 296
[2015-08-05 02:29:29 -0500] warn [whostmgr] Could not create or assert directory '/var/cpanel/caches' for writing. at /usr/local/cpanel/Cpanel/LicenseComponent/Cache.pm line 109
  Cpanel::LicenseComponent::Cache::save(HASH(0x7e35e30), 'info') called at /usr/local/cpanel/Cpanel/LicenseComponent.pm line 66
  Cpanel::LicenseComponent::save(Cpanel::LicenseComponent=HASH(0x7e355a8)) called at /usr/local/cpanel/Cpanel/LicenseComponent.pm line 271
  Cpanel::LicenseComponent::load(Cpanel::LicenseComponent=HASH(0x7e355a8), 0, 1) called at /usr/local/cpanel/Cpanel/LicenseComponent.pm line 60
  Cpanel::LicenseComponent::init('Cpanel::LicenseComponent', 0, 1) called at /usr/local/cpanel/Whostmgr/ACLS.pm line 213
  Whostmgr::ACLS::get_dynamic_acl_lists() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 248
  Whostmgr::ACLS::dynamic_acl_update() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 151
  Whostmgr::ACLS::init_acls() called at whostmgr/bin/whostmgr.pl line 296
Any help it will be greatly appreciated. Thank you

Regards
Cosmin
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello :)

Check to see if "/var/cpanel/caches" exists as a file instead of a directory. If so, rename the file and create "/var/cpanel/caches" as a directory. Default permissions on the directory are 0700 with "root" ownership.

Thank you.