Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: sympan on December 13, 2023, 11:06:09 AM
-
hi
i have setup migration from cpanel and working. few days ago without changing anything try to use and return error. create new api and setup again but return error "Token API does not have ROOT Access"
in other server receive message for root login from ip of cwp server
maybe you have any idea what happen ?
thanks
-
Is this a VPS running cPanel you are connecting to? You have root access on both servers? Is your CWP server IP address allowed on the firewall? Temporarily try an 8 character root password -- I had an issue back in 2020 when I was doing cPanel migrations and that was one key factor back then...
-
cpanel run in dedicated
receive message from cpanel as ip of cwp connected with root access but cwp return error as not root access
-
try setting up id_rsa authentication so you don't need a password.
https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server
-
Are both servers whitelisting each other on the respective firewalls?
-
I've noticed even though the IP is whitelisted, for some reason you still need the ports open in the firewalls.
Or disable both firewalls, try to connect right away, and it will tell you if it's a firewall problem.
-
OR
backup the site in cPanel, and use the cPanel Account Restore feature in CWP.
-
the error is clear, the cpapnel api is returning i: The token API does not have ROOT access"
-
https://support.cpanel.net/hc/en-us/articles/360052357494-How-to-create-a-Root-API-Token