SOLVED A warning occurred while processing this directive

veronicabend

Well-Known Member
Feb 25, 2005
76
2
158
This is a new server with cpanel. I added a new account yesterday. It was added ok (no errors shown), I could connect with ftp ok and access it ok.

Today I cannot connect with FTP, and when I enter WHM I see warning signs:

Code:
Failed to save cache file “/mnt/syncro/home/examplecom/.cpanel/nvdata.cache” because of an error: (XID yuv5he) El sistema no pudo crear el archivo “/mnt/syncro/home/examplecom/.cpanel/.tmp.4dc3a.nvdata.cache” con permisos “0640” (como EUID: 1005. EGID: 1005) debido al siguiente error: No such file or directory
The system failed to create the file “/mnt/syncro/home/examplecom/.cpanel/.tmp.4dc3a.nvdata.cache” with permissions “0640” (as EUID: 1005, EGID: 1005) because of the following error: No such file or directory at /usr/local/cpanel/Cpanel/NVData.pm line 167.
 at /usr/local/cpanel/Cpanel/NVData.pm line 167.
    Cpanel::NVData::_ANON_(Cpanel::Exception::IO::FileCreateError=HASH(0x27abf78)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 120
    Try::Tiny::try(CODE(0x27a16f0), Try::Tiny::Catch=REF(0x2795f38)) called at /usr/local/cpanel/Cpanel/NVData.pm line 169
    Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 281
    Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 342
    Cpanel::NVData::_get("xmaingroupsorder") called at /usr/local/cpanel/Cpanel/API/NVData.pm line 42
    Cpanel::API::NVData::_get("xmaingroupsorder") called at /usr/local/cpanel/Cpanel/Template/Plugin/Master.pm line 95
    Cpanel::Template::Plugin::Master::load("Cpanel::Template::Plugin::Master", Template::Context=HASH(0x2789728)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Plugins.pm line 217
    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Plugins.pm line 217
    Template::Plugins::_load(Template::Plugins=HASH(0x2789f08), "Master", Template::Context=HASH(0x2789728)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Plugins.pm line 108
    Template::Plugins::fetch(Template::Plugins=HASH(0x2789f08), "Master", undef, Template::Context=HASH(0x2789728)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 195
    Template::Context::plugin(Template::Context=HASH(0x2789728), "Master") called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/home/index.tt line 1
    eval {...} called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/home/index.tt line 1
    Template::Provider::_ANON_(Template::Context=HASH(0x2789728)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161
    Template::Document::process(Template::Document=HASH(0x27abae0), Template::Context=HASH(0x2789728)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 357
    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 327
    Template::Context::process(Template::Context=HASH(0x2789728), "home/index.tt") called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/index.auto.tmpl line 3
    eval {...} called at /var/cpanel/template_compiles//usr/local/cpanel/base/frontend/paper_lantern/index.auto.tmpl line 1
    Template::Provider::_ANON_(Template::Context=HASH(0x2789728)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 161
    Template::Document::process(Template::Document=HASH(0x27a7ae8), Template::Context=HASH(0x2789728)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 357
    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 327
    Template::Context::process(Template::Context=HASH(0x2789728), Template::Document=HASH(0x27a7ae8)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
    eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
    Template::Service::process(Template::Service=HASH(0x27892d8), "/usr/local/cpanel/base/frontend/paper_lantern/index.auto.tmpl", HASH(0x2699df0)) called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 64
    Template::process(Template=HASH(0x277f428), "/usr/local/cpanel/base/frontend/paper_lantern/index.auto.tmpl", HASH(0x2699df0), SCALAR(0x1742448)) called at /usr/local/cpanel/Cpanel/Template.pm line 503
    Cpanel::Template::process_template("cpanel", HASH(0x2699df0), HASH(0x269d860)) called at cpanel.pl line 1011
    cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/index.auto.tmpl", 1) called at cpanel.pl line 4290
    cpanel::cpanel::run_standard_mode() called at cpanel.pl line 844
    cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/index.html") called at cpanel.pl line 271
I run command:

Code:
grep examplecom /etc/passwd
examplecom:x:1005:1007::/mnt/syncro/home/examplecom:/bin/bash
It is odd, if I do ls -l on the /mnt/syncro/home folder, the account folder is not there (no siisaludcom folder). Where did it go?

Please help. Thanks.
 
Last edited by a moderator:

veronicabend

Well-Known Member
Feb 25, 2005
76
2
158
I have fixed my issue and will explain in case it is useful for someone else.

I have detected that WHM was creating the accounts on the backup hard drive at /mnt/syncro/home instead of creating them at the /home folder of the main hard drive.

To avoid this, I set the home directory prefix blank at Server Configuration > Basic WebHost Manager Setup. By default this prefix was "home" and it matched the backup folder at /mnt/syncro/home.

After doing this, I removed the account and created it again, and it was correctly created at /home.