Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    29

    Default webmail login error from cPanel

    I've recently build a new server and migrated some accounts to it:

    cPanel 11.24.4-S35075 - WHM 11.24.2 - X 3.9
    CENTOS 5.3 x86_64 xen

    For some reason users are given an error when hitting the "access webmail" icon in cPanel. It brings them to a screen that says "logging you in" then to the webmail login screen with a "login failed" message. If I then login with their e-mail and password it works fine.

    It seems like whatever password/session cPanel is trying to use to login to the main webmail screen is failing.

    This is what I pulled from the login log:

    xxx.xxx.xxx.xxx - test@adasddddasd.com [05/12/2009:19:25:37 -0000] "GET /login/?session=test@adasddddasd.com4O0hrEIwXLSwr7zgkYmbOf7rIIESVXtH7fu7ZQkm5txAAuH2YswjmIljO36QcfSe HTTP/1.1" FAILED LOGIN webmaild: user password incorrect

    It syas user password incorrect even though I am not even getting a chance to enter one, cPanel is trying to do authenticate in some fashion but I'm not sure how. I've tried from several browsers and get the same result.

    This was a brand new account that I added to cPanel for testing, and a brand new mailbox. The mailbox login works perfectly fine if I access webmail directly, or even if I plug in the login details after I get the login failed message on the webmail login screen.

    I have several other server builds that are very similar to this one and they are all working fine.

    I've tried an upcp --force and that didn't fix it. I'm not sure what else would be causing it. Any suggestions?
    Last edited by jfall123; 05-12-2009 at 03:26 PM.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You could try:

    /scripts/fullhordereset

    Otherwise, unless someone has a better idea, you might want to log a ticket with cPanel.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    Updating horde should fix it. But also try resetting the password again, even it's correct, just to make sure it has populated through all the necessary areas.

  4. #4
    Member
    Join Date
    Oct 2005
    Posts
    29

    Default

    I'm not really sure how Horde plays are role here. This is the login screen that is shown BEFORE you get the choice of which webmail client to use. I suppose it may tie in somehow?

    In any event, I tried a fullhordereset and that didn't seem to resolve the problem.

    I did get an error about greating a session table though, could be related to the problem?

    Updating Horde 3.1.7p8
    tar -x -p -z --no-same-owner -f /usr/local/cpanel/src/3rdparty/gpl/horde-3.1.7p8.cpanel.tar.gz -C /usr/local/cpanel/base
    Archiving current Horde data to /var/cpanel/horde/horde.backup.sql.1242226884
    Horde DB successfully archived
    -rw------- 1 root root 6961360 May 13 08:01 /var/cpanel/horde/horde.backup.sql.1242226884
    Cleaning old Horde data archives
    Skipping /var/cpanel/horde/horde.backup.sql.1242226884 (archived)
    Skipping /var/cpanel/horde/horde.backup.sql.1242226670 (archived)
    Skipping /var/cpanel/horde/horde.backup.sql.1242226158 (archived)
    Skipping /var/cpanel/horde/horde.backup.sql.1242225769 (archived)
    Skipping /var/cpanel/horde/horde.backup.sql.1242225623 (archived)
    Skipping /var/cpanel/horde/horde.backup.sql.1241812757 (archived)
    Removing /var/cpanel/horde/horde.backup.sql.1241808650
    Creating Horde database
    ERROR 1005 (HY000) at line 166: Can't create table './horde/horde_sessionhandler.frm' (errno: 121)
    Updating Pear modules ...Done
    Horde updated to 3.1.7p8
    Restoring previous Horde data
    Resyncing Horde database items

    Your horde password is above. Horde has been reset

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by jfall123 View Post
    I'm not really sure how Horde plays are role here.
    The fullhoredreset script initialises the integration of the whole webmail authentication system

    I did get an error about greating a session table though, could be related to the problem?
    Possibly. Is MySQL running? Is there sufficient space on /var? Can you get into mysql from the root shell:

    # mysql
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    Member
    Join Date
    Oct 2005
    Posts
    29

    Default

    Quote Originally Posted by chirpy View Post
    The fullhoredreset script initialises the integration of the whole webmail authentication system


    Possibly. Is MySQL running? Is there sufficient space on /var? Can you get into mysql from the root shell:

    # mysql

    Yeah, mysql is running ok and there is plenty of space. I tried it again and didn't get the error this time but the problem still remains :S

  7. #7
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jfall123 View Post
    I've recently build a new server and migrated some accounts to it:

    cPanel 11.24.4-S35075 - WHM 11.24.2 - X 3.9
    CENTOS 5.3 x86_64 xen

    For some reason users are given an error when hitting the "access webmail" icon in cPanel. It brings them to a screen that says "logging you in" then to the webmail login screen with a "login failed" message. If I then login with their e-mail and password it works fine.
    Are the users being prompted for a password between clicking the 'access webmail' icon and the 'logging you in' page?

    Which cPanel theme is in use?
    Kenneth
    Product Manager
    cPanel, Inc.

  8. #8
    Member
    Join Date
    Oct 2005
    Posts
    29

    Default

    Quote Originally Posted by cpanelkenneth View Post
    Are the users being prompted for a password between clicking the 'access webmail' icon and the 'logging you in' page?

    Which cPanel theme is in use?
    You might be on to something here. The theme is X3, and when anyone clicks access webmail it says logging you in... and goes directly to a login failed screen (it does not prompt for a password.

    I switched one account to the X theme and when I hit access webmail it asks me to enter the password for the mailbox then after successfully doing so it brings me to the webmail selection screen.

    It seems like the X3 skin is trying to autologin users into the webmail selection screen but is failing to do so.

    The only thing I can think of that might help is I believe I originally upgraded the server to EDGE when it was first built to make use of a new migration feature only available in EDGE, then later downgraded to a stable release. Perhaps the downgrade from EDGE caused an issue somewhere?

  9. #9
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jfall123 View Post
    You might be on to something here. The theme is X3, and when anyone clicks access webmail it says logging you in... and goes directly to a login failed screen (it does not prompt for a password.

    I switched one account to the X theme and when I hit access webmail it asks me to enter the password for the mailbox then after successfully doing so it brings me to the webmail selection screen.

    It seems like the X3 skin is trying to autologin users into the webmail selection screen but is failing to do so.

    The only thing I can think of that might help is I believe I originally upgraded the server to EDGE when it was first built to make use of a new migration feature only available in EDGE, then later downgraded to a stable release. Perhaps the downgrade from EDGE caused an issue somewhere?
    It somewhat depends upon how long ago the EDGE -> STABLE migration happened. Regardless, try /scripts/upcp --force . That will force cPanel to reinstall all the files for the branch you are using. If the problem is purely theme related, the forced update should resolve it.

    If that doesn't resolve it, please open a support ticket so we can pinpoint the reason and resolve it.
    Kenneth
    Product Manager
    cPanel, Inc.

  10. #10
    Member
    Join Date
    Oct 2005
    Posts
    29

    Default

    Quote Originally Posted by cpanelkenneth View Post
    It somewhat depends upon how long ago the EDGE -> STABLE migration happened. Regardless, try /scripts/upcp --force . That will force cPanel to reinstall all the files for the branch you are using. If the problem is purely theme related, the forced update should resolve it.

    If that doesn't resolve it, please open a support ticket so we can pinpoint the reason and resolve it.
    Nah, I've all ready tried upcp --force a couple of times to no avail. I'll keep digging around and open up a support ticket if I can't figure it out.

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 10-10-2010, 02:55 AM
  2. Webmail login Error
    By Newfound in forum E-mail Discussions
    Replies: 3
    Last Post: 07-14-2010, 11:45 PM
  3. webmail login gets error
    By dystopian in forum New User Questions
    Replies: 4
    Last Post: 12-17-2009, 10:53 AM
  4. error webmail login
    By wkd in forum E-mail Discussions
    Replies: 3
    Last Post: 04-17-2008, 09:57 PM
  5. Cannot login Webmail !! error, HELP!!
    By wangtenet in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-20-2005, 01:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube