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 blank after login

Discussion in 'General Discussion' started by ReiJu, Nov 10, 2010.

  1. ReiJu

    ReiJu Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    6
    One of my servers have this strange behaviour:

    1. cpanel-login-page shows perfectly
    2. after login, only a blank page shown on the browser
    3. even when i tried to login to cpanel via whm, i still got a blank page

    I tried to upcp --force but still no luck. Rebooting the server seems to resolves this problem, but only temporarily. After the server runs about a couple hours, the blank behaviour reoccures.

    I get this message (from /usr/local/cpanel/logs/error_log) everytime I accessed the blank cpanel:
    Code:
    Can't call method "warn" on an undefined value at /usr/local/cpanel/Cpanel/Sys/Hostname.pm line 71.
    Please tell me what to do.
     
  2. 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:
    Does this affect multiple accounts or just one cPanel user? Please consider submitting a support request so that we may assist with investigating the issue. Please also let me know your ticket ID number when available.
     
  3. ReiJu

    ReiJu Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    6
    This was affected all users in the server.

    Fortunately the problem solved. cpanelsrvd complaints about the server's hostname which is not FQDN. I don't remember changing the server's hostname, because cpanel installation process (circa a couple months ago) wasn't complaint about anything.

    So, changing the hostname into FQDN and restarting cpanel daemon fixed this issue.
     
  4. 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:
    Thank you for the follow-up detail and resolution information. Were any other corrective measures attempted or performed, i.e., anything other than correcting the system hostname?
     
  5. ReiJu

    ReiJu Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    6
    The complete steps are (as long as I can remember):

    1. upcp --force
    2. reboot (fixed but then reoccured)
    3. upcp --force again (still no luck)
    4. doing some reading
    5. change hostname
    6. restart cpanel daemons (fixed)

    No critical action performed, I guess, other than changing the hostname.
     
Loading...

Share This Page