Can't login with root to WHM

Meybo

Registered
Jul 15, 2016
1
1
1
US
cPanel Access Level
Website Owner
Hi everyone!
I'm new using CPanel and WHM...
And I have a problem when i try to access to my WHM of my domain.
I have access to CPanel and I access to That One , but when i try to WHM is the mistake : "The login is invalid "

I changed the password and the error continue...

Help please!
 
  • Like
Reactions: mlopez

Debian23

Registered
Aug 13, 2016
2
0
1
Ro
cPanel Access Level
Root Administrator
Hello,

I can't access WHM with the root user, I can access the server via SSH with the same root/password but not over WHM with the error "The login is invalid."

I have whitelisted my ip and still same problem.

I checked /usr/local/cpanel/logs/login_log and i get this:
root "POST /login/?login_only=1 HTTP/1.1" FAILED LOGIN cpaneld: root login is not permitted to cpaneld

How can i enable root login again ? (not sure how it got disabled in the first place)
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
you probably banned yourself with
cPHulk

/usr/local/cpanel/etc/init/stopcphulkd
/usr/local/cpanel/bin/cphulk_pam_ctl --disable
 

Debian23

Registered
Aug 13, 2016
2
0
1
Ro
cPanel Access Level
Root Administrator
I have already white listed with that command, no help.

I have tried the 2 commands:
cphulkd stopped successfully.
the disable didn't do any output

And still same error in the error log:
root "POST /login/?login_only=1 HTTP/1.1" FAILED LOGIN cpaneld: root login is not permitted to cpaneld
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
root "POST /login/?login_only=1 HTTP/1.1" FAILED LOGIN cpaneld: root login is not permitted to cpaneld
Hello,

Check to ensure you are using port 2086 or 2087 when accessing Web Host Manager. You can also use "/whm" in the URL. It's a separate URL than what you use to access cPanel.

Thank you.