Thursday, 22 March 2012

cpanel webmail failed login

When you get the error login failed because of invalid username and password (horde, roundcube, squirrelmail)

Here is the solution:
1.Check the hostname
# hostname
example.com

2.Change the hostname to server.example.com if the hostname is example.com and also add A entry for the hostname
# Main >> Networking Setup >> Change Hostname

3.Run the following command
# /usr/local/cpanel/scripts/updateuserdomains --force

4.Restart the cpanel
# /etc/init.d/cpanel restart

Now you can login the cpanel webmail without any error

No comments:

Post a Comment