Database Error: Connection Failed!

Discuss according roundcube product has the main webmail managed by artica

Database Error: Connection Failed!

New postby zetar » Thu Mar 28, 2013 1:11 am

Hello, I still have this problem.
I attach the screenshot.
What can I do.
Thanks to those who give me some guidance.
Attachments
fotor_5.jpg
fotor_5.jpg (13.68 KiB) Viewed 8177 times
Last edited by zetar on Thu Mar 28, 2013 10:46 am, edited 1 time in total.
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: DATABASE ERROR: CONNECTION FAILED!

New postby admin » Thu Mar 28, 2013 7:53 am

Is it a FreeWebs website ?
User avatar
admin
Site Admin
 
Posts: 11943
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Database Error: Connection Failed!

New postby zetar » Thu Mar 28, 2013 10:45 am

Hello, this is the same server
some users have web mail, with your username and password.
appears that writing and sometimes only by entering the domain name of the server
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Database Error: Connection Failed!

New postby admin » Thu Mar 28, 2013 12:49 pm

I mean have you created the WebMail trough a FreeWebs web site....
User avatar
admin
Site Admin
 
Posts: 11943
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: Database Error: Connection Failed!

New postby zetar » Fri Mar 29, 2013 12:16 pm

I have done this way, do not use FreeWeb service, but only roundcube.
He has always worked well.
However, if I'm wrong configurations, mea culpa.
Below is a series of errors of Roundcube.

29-Mar-2013 12:44:45 PHP Error Deprecated hook name. save_preferences -> preferences_save in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 221 (GET /?_task=mail&_action=list&_mbox=INBOX&_refresh=1&_remote=1&_unlock=loading1207392280252&_=1207392280261)
29-Mar-2013 12:44:45 PHP Error Deprecated hook name. user_preferences -> preferences_list in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 221 (GET /?_task=mail&_action=list&_mbox=INBOX&_refresh=1&_remote=1&_unlock=loading1207392280252&_=1207392280261)
29-Mar-2013 12:44:45 PHP Error Deprecated hook name. save_preferences -> preferences_save in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 221 (GET /?_task=mail&_action=getunread&&_remote=1&_unlock=0&_=1207392280278)
29-Mar-2013 12:44:45 PHP Error Deprecated hook name. user_preferences -> preferences_list in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 221 (GET /?_task=mail&_action=getunread&&_remote=1&_unlock=0&_=1207392280278)
29-Mar-2013 12:44:44 PHP Error Deprecated hook name. imap_init -> storage_init in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 221 (GET /?_task=mail)
29-Mar-2013 12:44:44 PHP Error Deprecated hook name. save_preferences -> preferences_save in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 221 (GET /?_task=mail)
29-Mar-2013 12:44:44 PHP Error Deprecated hook name. user_preferences -> preferences_list in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 221 (GET /?_task=mail)
29-Mar-2013 11:02:24 DB Error _doConnect: [Error message: Can't connect to MySQL server on '127.0.0.1' (99)]
29-Mar-2013 11:02:20 DB Error _doConnect: [Error message: Can't connect to MySQL server on '127.0.0.1' (99)]
29-Mar-2013 11:02:20 DB Error _doConnect: [Error message: Can't connect to MySQL server on '127.0.0.1' (99)]
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Database Error: Connection Failed!

New postby abolinhas » Fri Mar 29, 2013 4:19 pm

29-Mar-2013 11:02:20 DB Error _doConnect: [Error message: Can't connect to MySQL server on '127.0.0.1' (99)]


Can you try restart the mysql service
Code: Select all
/etc/init.d/artica-postfix restart mysql


Also can you post the mysql error log
Code: Select all
tail -f /var/log/mysql/error.log
Cumprimentos / Best Regards

André Bolinhas
Twitter: @abolinhas
User avatar
abolinhas
 
Posts: 1015
Joined: Fri Jun 19, 2009 8:50 am
Location: Portugal
Artica servers number: 4
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: Database Error: Connection Failed!

New postby zetar » Fri Mar 29, 2013 8:05 pm

root-fel1:~# tail -f /var/log/mysql/error.log
tail: impossibile aprire "/var/log/mysql/error.log" per la lettura: No such file or directory

I tried in different ways but it did not work the command Tail.
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Database Error: Connection Failed!

New postby abolinhas » Sat Mar 30, 2013 12:52 am

tail: impossibile aprire "/var/log/mysql/error.log" per la lettura: No such file or directory

In your server the mysql error.log must be in different directory, try find it inside /var/log
Cumprimentos / Best Regards

André Bolinhas
Twitter: @abolinhas
User avatar
abolinhas
 
Posts: 1015
Joined: Fri Jun 19, 2009 8:50 am
Location: Portugal
Artica servers number: 4
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Re: Database Error: Connection Failed!

New postby zetar » Sat Mar 30, 2013 1:07 pm

hello and thank you.
You know where the directory, but does not make the tail because the file is empty.
zetar
 
Posts: 345
Joined: Sat Dec 11, 2010 9:31 am
Artica servers number: 1
Linux System: Ubuntu
Technical skills: A newbee

Re: Database Error: Connection Failed!

New postby abolinhas » Sat Mar 30, 2013 2:42 pm

You already restart the mysql service ?

try
Code: Select all
tail -f /var/log/php.log |grep mysq
Cumprimentos / Best Regards

André Bolinhas
Twitter: @abolinhas
User avatar
abolinhas
 
Posts: 1015
Joined: Fri Jun 19, 2009 8:50 am
Location: Portugal
Artica servers number: 4
Linux System: Ubuntu
Technical skills: A Linux System Administrator

Next

Return to RoundCube

Who is online

Users browsing this forum: No registered users and 1 guest

cron