Webmail login failed on cPanel

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

Here is the solution:

Check the hostname using the following command

Server needs a FQDN hostname configured and also need to be resolvable in DNS. For example if your domain name is linuxtechme.com then hostname can be server.linuxtechme.com And you should add an entry for server.linuxtechme.com in the DNS.

You can do that in WHM as follows

Main >> Networking Setup >> Change Hostname

It will also ask you add an A record entry for it.

Now run the following commands.

#rm -f /etc/userdomains
[# /usr/local/cpanel/scripts/updateuserdomains –force

Now restart the cPanel service.

#/etc/init.d/cpanel restart

The webmail login error with cPanel should be fixed now.


3 thoughts on “Webmail login failed on cPanel

  1. Your style is so unique in comparison to other people I have read stuff from. Thank you for posting when you have the opportunity, Guess I’ll just bookmark this blog.

  2. Hey there! I’m at work browsing your blog from my new iphone 4! Just wanted to say I love reading your blog and look forward to all your posts! Keep up the great work!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s