Problem in WHM: A warning occurred while processing this directive.

alifersolutions

Registered
Mar 6, 2013
2
0
1
cPanel Access Level
Root Administrator
The server takes me the following message :


Code:
Failed to mkdir(/bin/bash/.cpanel): Not a directory at /usr/local/cpanel/Cpanel/CachedCommand/Utils.pm line 55.
at /usr/local/cpanel/Cpanel/CachedCommand/Utils.pm line 55.
    Cpanel::CachedCommand::Utils::_get_datastore_dir() called at /usr/local/cpanel/Cpanel/CachedCommand/Utils.pm line 31
    Cpanel::CachedCommand::Utils::_get_datastore_filename("/usr/local/cpanel/cpanel", "-F") called at /usr/local/cpanel/Cpanel/CachedCommand.pm line 101
    Cpanel::CachedCommand::_cached_cmd("binary", "/usr/local/cpanel/cpanel", "args", ARRAY(0x1ba17d8), "mtime", 1571569505) called at /usr/local/cpanel/Cpanel/CachedCommand.pm line 257
    Cpanel::CachedCommand::cachedcommand_multifile(ARRAY(0x264eb38), "/usr/local/cpanel/cpanel", "-F") called at /usr/local/cpanel/Cpanel/Template/Plugin/Whostmgr.pm line 904
    Cpanel::Template::Plugin::Whostmgr::has_license_flag(Cpanel::Template::Plugin::Whostmgr=HASH(0x23054e8), "dev") called at /usr/local/cpanel/whostmgr/docroot/templates/menu/_trial.tmpl line 68
    eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/menu/_trial.tmpl line 68
    eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/menu/_trial.tmpl line 16
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x2357318)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 162
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 160
    Template::Document::process(Template::Document=HASH(0x26a1748), Template::Context=HASH(0x2357318)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 357
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 327
    Template::Context::process(Template::Context=HASH(0x2357318), "menu/_trial.tmpl") called at (eval 4) line 177
    eval {...} called at (eval 4) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x2357318)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 162
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 160
    Template::Document::process(Template::Document=HASH(0x24f8d18), Template::Context=HASH(0x2357318)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 357
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 327
    Template::Context::process(Template::Context=HASH(0x2357318), "master_templates/_defheader.tmpl") called at /usr/local/cpanel/whostmgr/docroot/templates/master_templates/master.tmpl line 1
    eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/master_templates/master.tmpl line 2
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x2357318)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 162
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 160
    Template::Document::process(Template::Document=HASH(0x2499848), Template::Context=HASH(0x2357318)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 357
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 327
    Template::Context::process(Template::Context=HASH(0x2357318), "master_templates/master.tmpl", HASH(0x24bd090), "localize me!") called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 415
    Template::Context::include(Template::Context=HASH(0x2357318), "master_templates/master.tmpl", HASH(0x24bd090)) called at (eval 2) line 33
    eval {...} called at (eval 2) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x2357318)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 162
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 160
    Template::Document::process(Template::Document=HASH(0x244bf80), Template::Context=HASH(0x2357318)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 357
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 327
    Template::Context::process(Template::Context=HASH(0x2357318), Template::Document=HASH(0x244bf80)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
    eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
    Template::Service::process(Template::Service=HASH(0x2305ab8), "top.tmpl", HASH(0x23054a0)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 64
    Template::process(Template=HASH(0x23055a8), "top.tmpl", HASH(0x23054a0)) called at /usr/local/cpanel/Cpanel/Template.pm line 466
    Cpanel::Template::process_template("whostmgr", HASH(0x23054a0)) called at whostmgr/bin/whostmgr2.pl line 2091
    main::top("top") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 259
    Whostmgr::Dispatch::_do_call("top", HASH(0x2347ce0), HASH(0x23495c8)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 157
    Whostmgr::Dispatch::dispatch("top", 1, ARRAY(0x23492e0), HASH(0x23495c8)) called at whostmgr/bin/whostmgr2.pl line 820
Someone comes up with how I can solve it because I can't run the backups.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,297
1,251
313
Houston
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!