1 (edited by reysalad 2014-06-10 04:03:10)

Topic: Roudcube (DATABASE ERROR: CONNECTION FAILED!

Hi friends, I had installed Postfix, Dovecto and Roundcube with irredmail,  I am trying to authenticate users with active directory by the following guide (http://www.iredmail.org/wiki/index.php?title=Integration/Active.Directory.iRedMail ) but a dovecot give me the following error:

DATABASE ERROR: CONNECTION FAILED!

and the logs generated are:

Jun  9 09:52:27 hostname roundcube: DB Error: SQLSTATE[28000] [1045] Access denied for user 'roundcube'@'localhost' (using password: YES) in /var/www/roundcubemail-1.0.1/program/lib/Roundcube/rcube_db.php on line 158 (GET /mail/)

Jun  9 09:52:27hostname roundcube: DB Error: SQLSTATE[28000] [1045] Access denied for user 'roundcube'@'localhost' (using password: YES) (GET /mail/)


I would appreciate any help
thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Roudcube (DATABASE ERROR: CONNECTION FAILED!

reysalad wrote:

Access denied for user 'roundcube'@'localhost' (using password: YES)

Obviously, you have incorrect SQL password in Roundcube config file /var/www/roundcubemail-1.0.1/config/config.inc.php. Please correct it first.

3 (edited by reysalad 2014-06-17 03:12:16)

Re: Roudcube (DATABASE ERROR: CONNECTION FAILED!

ZhangHuangbin thanks again for your quick response, I have been trying to see what the problem that I have and I have two questions for you:
if I'm trying to authenticate with active directory, roundcube need a MySQL database to work necessarily or my data base will be active directory?, (I followed the guide http://www.iredmail.org/wiki/index.php? … iRedMail.)
Another thing I want you know is in the instalation of the irredmail, in the step "choose your preferre backend used to store mail accounts" i select mysql and I do not know if that is decisive.

Best regards.

4

Re: Roudcube (DATABASE ERROR: CONNECTION FAILED!

reysalad wrote:

if I'm trying to authenticate with active directory, roundcube need a MySQL database to work necessarily or my data base will be active directory?, (I followed the guide http://www.iredmail.org/wiki/index.php? … iRedMail.)

Roundcube needs a SQL database. Active Directory is a LDAP server, not a SQL database.

reysalad wrote:

Another thing I want you know is in the instalation of the irredmail, in the step "choose your preferre backend used to store mail accounts" i select mysql and I do not know if that is decisive.

Should be fine.

5

Re: Roudcube (DATABASE ERROR: CONNECTION FAILED!

thank you very much for the info, have a nice day.