Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Failed to save cache file nvdata.cache

Discussion in 'General Discussion' started by DIehard812, Jun 8, 2019.

  1. DIehard812

    DIehard812 Registered

    Joined:
    Jun 8, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    new York
    cPanel Access Level:
    Root Administrator
    After installing installatron, when I click on the installatron app in WHM this warning below appears at the top of WHM only. All the separate cpanel accounts installatron is working fine. I only get this warning message in WHM. Anyone know what might be the issue? See attached file as well. Thanks.

    A warning occurred while processing this directive.
    Code:
    Failed to save cache file “/var/cpanel/userhomes/cpanel/.cpanel/nvdata.cache” because of an error: (XID 23agzu) The system failed to create the file “/var/cpanel/userhomes/cpanel/.cpanel/.tmp.bd13d.nvdata.cache” with permissions “0640” (as EUID: 0, EGID: 0) because of the following error: No such file or directory at /usr/local/cpanel/Cpanel/NVData.pm line 169.
     at /usr/local/cpanel/Cpanel/NVData.pm line 169.
        Cpanel::NVData::__ANON__(Cpanel::Exception::IO::FileCreateError=HASH(0x3117828)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 118
        Try::Tiny::try(CODE(0x31205f8), Try::Tiny::Catch=REF(0x12e21c8)) called at /usr/local/cpanel/Cpanel/NVData.pm line 171
        Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 283
        Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 344
        Cpanel::NVData::_get("whmcommand:navigation") called at /usr/local/cpanel/Cpanel/API/NVData.pm line 42
        Cpanel::API::NVData::_get("whmcommand:navigation") called at /usr/local/cpanel/Cpanel/Template/Plugin/NVData.pm line 54
        Cpanel::Template::Plugin::NVData::_get_cpanel("whmcommand:navigation", undef, undef) called at /usr/local/cpanel/Cpanel/Template/Plugin/NVData.pm line 174
        Cpanel::Template::Plugin::NVData::get(Cpanel::Template::Plugin::NVData=HASH(0x3124350), "whmcommand:navigation") called at /usr/local/cpanel/whostmgr/docroot/templates/master_templates/_defheader.tmpl line 329
        eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/master_templates/_defheader.tmpl line 329
        eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/master_templates/_defheader.tmpl line 7
        Template::Document::__ANON__(Template::Context=HASH(0x3032948)) 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(0x31348e0), Template::Context=HASH(0x3032948)) 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(0x3032948), "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
        Template::Document::__ANON__(Template::Context=HASH(0x3032948)) 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(0x334c130), Template::Context=HASH(0x3032948)) 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(0x3032948), "master_templates/master.tmpl", HASH(0x32b45f0), "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(0x3032948), "master_templates/master.tmpl", HASH(0x32b45f0)) called at /usr/local/cpanel/whostmgr/docroot/templates/tq_63e30f8eb3ca4c7ebbb8b49a9c238249.html.tt line 34
        eval {...} called at /usr/local/cpanel/whostmgr/docroot/templates/tq_63e30f8eb3ca4c7ebbb8b49a9c238249.html.tt line 7
        Template::Document::__ANON__(Template::Context=HASH(0x3032948)) 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(0x32adec0), Template::Context=HASH(0x3032948)) 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(0x3032948), Template::Document=HASH(0x32adec0)) 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(0x3032528), "/usr/local/cpanel/whostmgr/docroot/templates/tq_63e30f8eb3ca4"..., HASH(0x12cf5c8)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 64
        Template::process(Template=HASH(0x30321b0), "/usr/local/cpanel/whostmgr/docroot/templates/tq_63e30f8eb3ca4"..., HASH(0x12cf5c8), SCALAR(0x13e30b8)) called at /usr/local/cpanel/Cpanel/Template.pm line 478
        Cpanel::Template::process_template("cpanel", HASH(0x12cf5c8), HASH(0x3029ac8)) called at cpanel.pl line 1058
        cpanel::cpanel::cptt_exectag("/usr/local/cpanel/whostmgr/docroot/templates/tq_63e30f8eb3ca4"..., 1) called at cpanel.pl line 4450
        cpanel::cpanel::run_standard_mode() called at cpanel.pl line 878
        cpanel::cpanel::script("cpanel::cpanel", "/usr/local/cpanel/whostmgr/docroot/templates/tq_63e30f8eb3ca4"...) called at cpanel.pl line 321
    
    
     

    Attached Files:

    #1 DIehard812, Jun 8, 2019
    Last edited by a moderator: Jun 8, 2019
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,472
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @DIehard812


    I'm seeing a few other instances of this in our ticket system and they all seem to have a common thread. Can you provide me the output of the following so I can confirm if this is the case or not:

    Code:
    cat /etc/fstab
    Code:
    cat /proc/mounts
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. DIehard812

    DIehard812 Registered

    Joined:
    Jun 8, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    new York
    cPanel Access Level:
    Root Administrator
    see below

    [[email protected] ~]# cat /etc/fstab

    #
    # /etc/fstab
    # Created by anaconda on Wed Jun 5 22:49:30 2019
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    UUID=26349351-e462-4994-8829-a5636cc95c2a / xfs defaults,uquota 0 0
    UUID=42438ee8-cd9b-4222-89a5-e8a95052252a /boot xfs defaults 0 0
    UUID=403edb89-b978-4bd2-9abc-5866ed8433de swap swap defaults 0 0
    [[email protected] ~]# cat /proc/mounts
    rootfs / rootfs rw 0 0
    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    devtmpfs /dev devtmpfs rw,nosuid,size=16358548k,nr_inodes=4089637,mode=755 0 0
    securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
    devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
    tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
    tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
    cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
    pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
    cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct,cpu 0 0
    cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_prio,net_cls 0 0
    cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
    cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
    cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
    cgroup /sys/fs/cgroup/hugetlb cgroup rw,nosuid,nodev,noexec,relatime,hugetlb 0 0
    cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
    cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
    cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
    cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
    configfs /sys/kernel/config configfs rw,relatime 0 0
    /dev/md127 / xfs rw,relatime,attr2,inode64,usrquota 0 0
    systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15281 0 0
    mqueue /dev/mqueue mqueue rw,relatime 0 0
    hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
    debugfs /sys/kernel/debug debugfs rw,relatime 0 0
    /dev/md125 /boot xfs rw,relatime,attr2,inode64,noquota 0 0
    /dev/md127 /var/tmp xfs rw,relatime,attr2,inode64,usrquota 0 0
    [[email protected] ~]#
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,472
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @DIehard812


    This doesn't appear to be the same in this case, 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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. DIehard812

    DIehard812 Registered

    Joined:
    Jun 8, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    new York
    cPanel Access Level:
    Root Administrator
    Your Support Request ID is: 12559489
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,472
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @DIehard812

    Great, thanks for that, I'm following that ticket and I'll update this thread with more information as it becomes available.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,472
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I just followed up on this ticket and it would appear that you were missing the .cpanel directory. Once this was recreated the error stopped occurring.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice