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!

[cPanel] Cannot login, show blank screen

Discussion in 'General Discussion' started by unaki, Jan 26, 2011.

  1. unaki

    unaki Registered

    Joined:
    Jan 26, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hi,
    I update to cPanel 11.28, but when i login to cpanel just show blank page. This affect just for one user "unaki".
    Here is the cPanel error_log:

    Code:
    [2011-01-27 07:25:38 +0700] warn [cpanel] Unable to open /var/cpanel/users/unaki: Permission denied at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 173
    	Cpanel::Config::LoadCpUserFile::_load('unaki', undef, 0) called at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 25
    	Cpanel::Config::LoadCpUserFile::load('unaki') called at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 252
    	Cpanel::Config::LoadCpUserFile::loadcpuserfile('unaki') called at /usr/local/cpanel/Cpanel.pm line 99
    	Cpanel::initcp(Cpanel=HASH(0xae70620)) called at cpanel line 300
    [2011-01-27 07:25:38 +0700] warn [cpanel] Failed to load cPanel user file for unaki at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 28
    	Cpanel::Config::LoadCpUserFile::load('unaki') called at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 252
    	Cpanel::Config::LoadCpUserFile::loadcpuserfile('unaki') called at /usr/local/cpanel/Cpanel.pm line 99
    	Cpanel::initcp(Cpanel=HASH(0xae70620)) called at cpanel line 300
    [2011-01-27 07:25:38 +0700] panic [cpanel] get_handle() called before initcp() at /usr/local/cpanel/Cpanel/Locale/Utils/User.pm line 31
    	Cpanel::Locale::Utils::User::init_cpdata_keys() called at /usr/local/cpanel/Cpanel.pm line 178
    	Cpanel::initcp(Cpanel=HASH(0xae70620)) called at cpanel line 300
    panic [cpanel] get_handle() called before initcp()
    exit level [panic]
    Thanks for reply.

    Regards,
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,478
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That file contains the main details for the account and it's package. Can you verify that the file is not there?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    5
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. unaki

    unaki Registered

    Joined:
    Jan 26, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    user file is there, locate at /var/cpanel/users/unaki.

    No, the screen is blank after login successfull.
    I could access http://domain.com/cpanel/ or http://domain.com:2082 without problem.
    I was check the httpd.conf there is no problem. I try to rebuild httpdconf via /scripts/rebuildhttpdconf, but still same problem.

    I was change theme from x3 -> x it's working :)
    Thanks for the solution.

    But why i use x3 theme it's show blank?

    Here is the screenshot:
    Image - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Can you provide the contents of /var/cpanel/users/unaki file and the permissions for it by running these commands?

    Code:
    cat /var/cpanel/users/unaki
    ls -lah /var/cpanel/users/unaki
    The file and ownership permissions for the "ls -lah" should be these:

    Code:
    -rw-r-----   1 root unaki     608 Jan 14 12:44 unaki
    The date stamp is obviously just from mine, but the above example for root:unaki ownership and 640 file permissions are what matter here.

    Next, please check the file isn't immutable for some strange reason:

    Code:
    lsattr /var/cpanel/users/unaki
    Thanks.
     
    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