Categories
Mastering Development System & Network

WHM undef error – Can’t read “/var/cpanel/cpanel.config”

in whm when i try to create new account i get this error: Can’t read “/var/cpanel/cpanel.config” (Unable to lock/open /var/cpanel/cpanel.config as UIDs 0/0: (unspecified error)) at /usr/local/cpanel/Cpanel/Config/CpConfGuard.pm line 311. Cpanel::Config::CpConfGuard::load_cpconf_file(Cpanel::Config::CpConfGuard=HASH(0x30e4680)) called at /usr/local/cpanel/Cpanel/Config/CpConfGuard.pm line 90 Cpanel::Config::CpConfGuard::new("Cpanel::Config::CpConfGuard") called at /usr/local/cpanel/Whostmgr/Packages/Info.pm line 91 Whostmgr::Packages::Info::get_defaults() called at /usr/local/cpanel/Whostmgr/Packages/Info.pm line 340 Whostmgr::Packages::Info::validate_package_options(HASH(0x1a26488), 0) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2756 Whostmgr::Accounts::Create::__createaccount("username", […]