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.

[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:
    1
    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:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    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?
     
  3. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
  4. unaki

    unaki Registered

    Joined:
    Jan 26, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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,623
    Likes Received:
    21
    Trophy Points:
    38
    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.
     
Loading...

Share This Page