Friday, September 28, 2007

Blank screen after login for cpanel

Issue: Blank screen after login for cpanel

whm works fine and we can make accounts. But when we go into list accounts and click on the cpanel icon for a user. it goes to the login screen for the frontend but then after the password is put in it just loads a blank screen. the permissions for the folders are fine.


Resolution:

WHM > Tweak Settings > System section > remove the check beside:

Disable login with root or reseller password into the users' cPanel interface. Also disable switch account dropdown in themes with switch account feature.



...http://myip:2082

You will get the login for cpanelX. and you put in the correct login details and it logs into an empty screen.

If this is a new server, make sure you choose a theme under

Server Configuration << Basic cPanel/WHM Setup << Default cPanel Theme

* Enter the default cPanel theme for newly created accounts whose package does not specify a theme.

If that fails,

try running from root in ssh

# /scripts/portsup

then run

# /usr/local/cpanel/bin/checkperlmodules

after that finishes, run

# /scripts/upcp --force



check the log file at

# /usr/local/cpanel/logs/error_log


# /scripts/portsup


# portupgrade compat4x-i386-5.X (Assuming you are running FreeBSD i386 v5.3 or v5.4)


# /usr/local/cpanel/bin/checkperlmodules


# /scripts/upcp --force


In addition, login to the WHM >> Tweak Settings >> System section >> un-check the following: Disable login with root or reseller password into the users' cPanel interface. Also disable switch account dropdown in themes with switch account feature

You'll need to increase RLIMIT_RSS for cPanel to function properly. The following error is being generated:

The rlimit 'RLIMIT_RSS' is set below the maximum sane threshold for cPanel to function. Currently it is set at [soft:78643200 hard:78643200].
Please increase it to at least 134217728.