PDA

View Full Version : Roundcube: Database Error: CONNECTION FAILED!



robj
03-13-2008, 10:12 AM
I recently updated DA, and noticed Roundcube showed up in the user level admin section.I clicked on it and got the following:


DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

Has anyone else had this issue? Personally, I'm not exactly confident that DA was setup correctly to begin with, because my installation doesn't always seem to work like most users or described in the documents.

But I am looking to fix this issue, and would be greatful for anyone's help. Thanks

robj

smtalk
03-13-2008, 10:25 AM
Try:


/usr/local/directadmin/scripts/roundcube.sh

gadgetsguy
03-30-2008, 01:38 AM
I have a client who cannot connect to roundcube for 3 days now, and I dont know how to fix it ..

The error he gets is : Connection to IMAP server failed.

Any help at all would be appreciated, as this client is going to move to a new host soon :(

gadgetsguy
03-30-2008, 01:51 AM
Martynas fixed the error for me

thank you!!

kobe
04-03-2008, 02:31 PM
I now have the,"connection to imap server failed"
what was the fix?

ihostuk
04-04-2008, 01:43 PM
Hi,

Could I also if possible hear a solution off smtalk?
This is regarding the Can't connect to IMAP server error problem etc.

Thank You
Much appreciated

iHostuk

smtalk
04-04-2008, 01:57 PM
http://help.directadmin.com/item.php?id=18

ihostuk
04-04-2008, 02:11 PM
Hi, thanks for that smtalk,
I'm not sure thats the problem though. The error message only seems to occour when trying to view folders, in the roundcube settings tab. Browsing folders in both roundcube and squirrelmail works fine. Also the IMAP server seems to be up.

Furthermore accounts of the format username@ihostuk.co.uk do not have this problem, its only accounts of the format username

That do,
Any advice appreciated :)

NuSneller
01-12-2011, 05:27 AM
Try:


/usr/local/directadmin/scripts/roundcube.sh


roundcube.sh does not exist in my /usr/local/directadmin/scripts/
What do I do? Because I get the error DATABASE ERROR: CONNECTION FAILED! (DA version 1.37)

scsi
01-12-2011, 06:32 AM
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build roundcube d

NuSneller
01-13-2011, 06:55 AM
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build roundcube d


Thanks!
This worked for me, Roundcube is working.

asishlla
01-22-2011, 09:11 AM
Thanks!
This worked for me, Roundcube is working.


cd /usr/local/directadmin/custombuild
./build update
./build clean
./build roundcube d

work for me..thank you very much!

asishlla
01-22-2011, 09:12 AM
Try:


/usr/local/directadmin/scripts/roundcube.sh


perfect! thank you!

Rackset
02-15-2012, 08:17 PM
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build roundcube d

Do not use this command, it overwrites all your custom configs, I lost few hours of building custom php setup.

I think ./build should ask for the overwrite of files at least, or provide a backup tool.

zEitEr
02-15-2012, 11:01 PM
You should never modify templates and configuration files directly there where are located by default. As they'll be rewritten with update. You should copy necessary file into protected against overwriting directory with name custom (if talking about custombuild configuration files).

additional information can be found here:
http://www.directadmin.com/forum/showthread.php?t=42287&page=1
http://help.directadmin.com/item.php?id=2
http://help.directadmin.com/item.php?id=3
http://help.directadmin.com/item.php?id=191
http://help.directadmin.com/item.php?id=294
http://help.directadmin.com/item.php?id=295
http://help.directadmin.com/item.php?id=365

http://help.directadmin.com/?query=custom

scsi
02-16-2012, 08:42 AM
Do not use this command, it overwrites all your custom configs, I lost few hours of building custom php setup.

I think ./build should ask for the overwrite of files at least, or provide a backup tool.

Its because you didnt use custom folder like you were supposed to. Everytime you run build update it will overwrite anything in configure like its supposed to.

Rackset
02-16-2012, 03:17 PM
Its because you didnt use custom folder like you were supposed to. Everytime you run build update it will overwrite anything in configure like its supposed to.

Yep, I found that but it was too late. It would be nice if "./build update" gives an alert or maybe require confirmation for updating files, or name that folder "default" instead of "configure" to prevent mistakes.