The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Error with NVdata

Discussion in 'General Discussion' started by sw0rdz, Feb 14, 2010.

  1. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    File Manager unable to view files

    When I log into file manager, I'm trying to figure out why it won't show the files. It says something like "No records found.". The directory on the left is right.

    I just recently cleared the error_log and I'm trying to figure out to trigger the error log with this file manager problem, but unable to do so.

    My guess one of the .rm files of Cpanel doesn't have adequate permissions to do the job for file manager, but I don't know which one. (Let alone if that is the problem).

    Any suggestions?
     
  2. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    One of my clients gets an error when they log into cpanel. I've checked file permissions and they should have adequate permission. Any tips?

    Code:
    can't write into /home/animelim/.cpanel/nvdata.cache: Permission denied at /usr/local/cpanel/Cpanel/NVData.pm line 60
    	Carp::croak('can\'t write into /home/animelim/.cpanel/nvdata.cache: Permissio...') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 76
    	Storable::logcroak('can\'t write into /home/animelim/.cpanel/nvdata.cache: Permissio...') called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 248
    	Storable::_store('CODE(0x9be6278)', 'HASH(0x8caf204)', '/home/animelim/.cpanel/nvdata.cache', 1) called at /usr/lib/perl5/site_perl/5.6.2/i686-linux/Storable.pm line 236
    	Storable::lock_nstore('HASH(0x8caf204)', '/home/animelim/.cpanel/nvdata.cache') called at /usr/local/cpanel/Cpanel/NVData.pm line 60
    	Cpanel::NVData::_savecache() called at /usr/local/cpanel/Cpanel/NVData.pm line 149
    	Cpanel::NVData::_loadcache(1) called at /usr/local/cpanel/Cpanel/NVData.pm line 181
    	Cpanel::NVData::_get(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 156
    	Cpanel::ExpVar::expvar('$NVDATA{\'x3_hideicons\'}') called at cpanel line 1423
    	main::execiftag('<cpanelif $NVDATA{\'x3_hideicons\'}>') called at cpanel line 4021
    	main::dotag_finished_headers('<cpanelif $NVDATA{\'x3_hideicons\'}>', 0) called at cpanel line 3846
    	main::cpanel_parseblock('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...') called at cpanel line 3822
    	main::cpanel_parse('GLOB(0x9ea46f8)') called at cpanel line 2137
    	main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 48
    	Cpanel::Branding::Branding_include('index.html') called at (eval 5) line 1
    	eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 929
    	main::real_exectag('<cpanelif $NVDATA{\'x3_hideicons\'}>') called at cpanel line 3993
    	main::dotag_finished_headers('<cpanelif $NVDATA{\'x3_hideicons\'}>', 0) called at cpanel line 3876
    	main::cpanel_parseblock('<cpanel Branding="include(index.html)">^J') called at cpanel line 3822
    	main::cpanel_parse('GLOB(0x9c11afc)') called at cpanel line 5302
    	main::run_standard_mode() called at cpanel line 387
    
    
     
  3. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Execute this command
    then open the file manager and see the errors in the log.

    If there were an errors could you provide us with it ?
     
  4. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    There has been some more errors coming up.

    Code:
    ==> /usr/local/cpanel/logs/error_log <==
            eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel line 929
            main::real_exectag('<cpanelif $NVDATA{\'x3_hideicons\'}>') called at cpanel line 3993
            main::dotag_finished_headers('<cpanelif $NVDATA{\'x3_hideicons\'}>', 0) called at cpanel line 3876
            main::cpanel_parseblock('<cpanel Branding="include(index.html)">^J') called at cpanel line 3822
            main::cpanel_parse('GLOB(0x92ecafc)') called at cpanel line 5302
            main::run_standard_mode() called at cpanel line 387
    
    
    [2010-02-15 18:00:38 -0500] warn [branding::include] Encountered error in branding::include: Branding::include(index.html) failed: can't write into /home/animelim/.cpanel/nvdata.cache: Permission denied at /usr/local/cpanel/Cpanel/NVData.pm line 60
    
    
     
  5. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Hello,

    Try to execute this

    /scripts/upcp --force

    and after it finishes try again and tell me the result.
     
  6. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    New tail of the error log
    end of the /scripts/upcp -force
     
  7. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    No. When I try to go to /cpanel I get this error

     
  8. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Didn't the problem solved after /scripts/upcp ?

    Try execute this

    /scripts/fixeverything

    and try again

    Note: It will take much time to finish depending on your hard disk space.
     
  9. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Is that for all users or you only ?
     
  10. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I believe this may be the only account.
     
  11. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Could you give me the ouput of this command ?

     
  12. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Okay. This is what I got.

     
  13. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Execute that, Try again and good luck ;)

    chown -R animelim:animelim /home/animelim/.cpanel
     
  14. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Did the problem solved ?
     
  15. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Okay. I've got that done.
     
  16. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    No. When trying to login to the cpanel. This error still pops up..

     
  17. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Could you provide me again with the ouput of this command ?

     
  18. sw0rdz

    sw0rdz Member

    Joined:
    Sep 24, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    okay. Here it is.

     
  19. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    From the output provided it would appear the permissions of the user's home directory may be incorrect as well as some other files. If the problem is still occurring, please try the following command to check then set the access permmissons on the user's home directory and then re-check the permissions:
    Code:
    # stat /home/animelim
    # chmod -v 0711 /home/animelim
    # stat /home/animelim
     
  20. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page