Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Feb 2007
    Posts
    71

    Default Horde-squirrelmail-roundcube DB error.

    Hi,

    I have strange problem and did not found anything on google or anywhere.

    Actually the dbs of all this webmails(horde,squirelmail,roundcube) are already there on server and also mysql is working fine.

    But I am getting db error when I click one of this three.

    Following is the error of each webmail.
    -------------
    1) Horde.
    A fatal error has occurred
    DB Error: connect failed
    Details have been logged for the administrator.
    -------------
    2) Squirelmail
    Error:
    ERROR: Connection dropped by IMAP server.
    -------------
    3) RoundCube
    DATABASE ERROR: CONNECTION FAILED!

    Unable to connect to the database!
    Please contact your server-administrator.
    ---------------------------

    As per this errors there seems to be issue with database but don't have any idea were exactly we need to fix it.

    If anyone can help on this would be really really great and God Bless Him.

    Regards
    Mail2Sacp.

  2. #2
    Member
    Join Date
    Jun 2006
    Posts
    65

    Default

    Have you tried restarting MySQL service?

    WHM >> SQL Server (MySQL)

    You may also want to check if you have enough storage space.

    Code:
    # df -h
    Also, check the mysql log. Below code should give you the log file name.

    Code:
    ls /var/lib/mysql/*.err

  3. #3
    Member
    Join Date
    Aug 2007
    Posts
    23

    Default

    Quote Originally Posted by lngtanseco View Post
    Have you tried restarting MySQL service?

    WHM >> SQL Server (MySQL)

    You may also want to check if you have enough storage space.

    Code:
    # df -h
    Also, check the mysql log. Below code should give you the log file name.

    Code:
    ls /var/lib/mysql/*.err
    Mysql is working fine and also enough free space is available.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    we have seen this occur on one of our servers running the latest CURRENT 11.24 release

    havent been able to find the cause yet however

  5. #5
    Member
    Join Date
    Aug 2007
    Posts
    53

    Default

    Here is what my mysql error file says. Note that there are no new entries newer than the 18th, but the problem still occurs and I just tried to login and an error was not written:

    081118 10:03:41 [Warning] Found invalid password for user: 'bedflixc@localhost'; Ignoring user
    081118 10:03:41 [Warning] Found invalid password for user: 'bedflixc_psadmin@localhost'; Ignoring user
    081217 8:00:14 [Warning] Found invalid password for user: 'naturest@localhost'; Ignoring user
    081217 8:00:14 [Warning] Found invalid password for user: 'naturest_psadmin@localhost'; Ignoring user
    081218 8:00:36 [Warning] Found invalid password for user: 'afterpar@localhost'; Ignoring user
    081218 8:00:36 [Warning] Found invalid password for user: 'afterpar_afterpa@localhost'; Ignoring user



    Also note that the server came up normally with no errors:

    081225 12:14:38 InnoDB: Starting shutdown...
    081225 12:14:40 InnoDB: Shutdown completed; log sequence number 0 189056493
    081225 12:14:40 [Note] /usr/sbin/mysqld: Shutdown complete

    081225 12:14:40 mysqld ended

    081225 12:14:40 mysqld started
    081225 12:14:40 InnoDB: Started; log sequence number 0 189056493
    081225 12:14:40 [Note] /usr/sbin/mysqld: ready for connections.

  6. #6
    Member
    Join Date
    Jul 2008
    Posts
    121

    Default

    It isn't MySQL, it's IMAP. I've been playing with Courier & Dovecot all day. Using courier in 11.24 it fails to start, but yet can connect to webmail. Dovecot however stays up etc but isn't converting the mail DB's correctly so you will be best using Courier, and moving to STABLE untill they fix it.

  7. #7
    Member
    Join Date
    Aug 2007
    Posts
    53

    Default

    I am running 11.23.2 STABLE. It appears as if you are saying this issue is caused by running RELEASE or CURRENT versions. If so, how can this issue be my issue?

  8. #8
    Member
    Join Date
    Jul 2008
    Posts
    121

    Default

    I never said this was a RELEASE/CURRENT issue, I did indeed say this is an IMAP issue. Anyways Dovecot is the problem if you're running Courier then it isnt the same problem. Basically just trying to fit everyone into the answer Running Courier on 11.24 causes problems, thus people will need to run STABLE untill they fix the bugs
    Last edited by sirotex; 12-25-2008 at 05:44 PM.

  9. #9
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,893
    cPanel/Enkompass Access Level

    Root Administrator

    Thumbs down

    Running Courier on 11.24 causes problems, thus people will need to run STABLE untill they fix the bugs

    Where did you read that?
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  10. #10
    Member
    Join Date
    Jul 2008
    Posts
    121

    Default

    I didn't read it - There is problems running Courier on 11.24. I didn't bother checking error logs yet though instead went back to STABLE branch untill we have enough time.

    I'd be very intrested to know if you run cPanel 11.24 & Courier without any problems
    Last edited by sirotex; 12-26-2008 at 08:48 AM.

  11. #11
    Member
    Join Date
    Jul 2008
    Location
    India
    Posts
    9

    Default Re: Horde-squirrelmail-roundcube DB error.

    You need to check out the entries for your domains in /etc/localdomains as well as /etc/remotedomains

    A entry should exist but only in a single file of the 2 mentioned above depending upon the mail server the domain uses.

    Make sure you clear all the session files in /tmp and it does have adequate free space to create new sessions, once you've verified all these restart the IMAP service using /scripts/restartsrv_imap
    Regards,
    Nakul M.
    System Administrator.
    Check out my blog: http://nakuls77.wordpress.com

  12. #12
    Member _xandih's Avatar
    Join Date
    Dec 2005
    Location
    Gaspar - SC - Brazil
    Posts
    96

    Default

    Hi

    upcp --force didn't work here.
    courierup --force either

    Anyone finds a solution?

    Thanks
    Alexandre Silva Hostert
    Server Management for Brazilians | Gerenciamento de Servidores para Brasileiros
    http://widecombrasil.com.br

  13. #13
    Member
    Join Date
    Jun 2008
    Posts
    28

    Default Use these command

    For Horde
    /usr/local/cpanel/bin/update-horde --force

    For SquirrelMail
    /usr/local/cpanel/bin/update-squirrelmail --force

    For Roundcube
    /usr/local/cpanel/bin/update-roundcube --force


    Enjoy it

    http://dcuong.wordpress.com/category...%87-thong-tin/

Similar Threads & Tags
Similar threads

  1. I can't send email with Horde, Roundcube or SquirrelMail.
    By davejames in forum E-mail Discussions
    Replies: 6
    Last Post: 01-30-2012, 06:43 AM
  2. Horde, Roundcube, Squirrelmail show different sent emails
    By rebouy in forum E-mail Discussions
    Replies: 1
    Last Post: 01-18-2011, 11:30 AM
  3. Horde, Roundcube, Squirrelmail show different sent emails
    By rebouy in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-18-2011, 09:51 AM
  4. Replies: 2
    Last Post: 07-22-2008, 09:56 PM
  5. Horde & SquirrelMail Error!
    By scribby in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-09-2006, 11:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube