Roundcube "database error: connection failed!"

Remitur

Active Member
Jan 17, 2018
32
2
8
Ljubljana
cPanel Access Level
Root Administrator
I have a single user that, trying to access Roundcube, get following error:

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

It's a single user to get it:
  • for any other user on the server (on different domains,or even of the same domain) Roundcube works fine

  • the user who get this error on Roundcube can work without issues on Horde or Squirrelmail
Any idea? !?! :(
 

Scott Andrews

Registered
Jun 20, 2018
1
0
1
Lansing, MI
cPanel Access Level
Root Administrator
Hello,
Have you tried to reset the user's password for the email account. You can do this in cPanel >> Email >> Email Accounts. Choose the account, then set a new password from the Password and Authentication under Actions
 

atkhosting

Member
Jul 21, 2006
24
1
153
Hello there,

I have the same problem. password change did not run.

error_log

Code:
[2019-04-03 08:00:57 +0300] info [webmaild] [fcgi] PHP message: PHP Warning:  touch(): Unable to create file /home/userfolder/etc/xxxxxxxxx.com/betul.rcube.db because Permission denied in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_db_sqlite.php on line 38
PHP message: PHP Warning:  file_put_contents(/home/userfolder/tmp/errors): failed to open stream: Permission denied in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube.php on line 1259
PHP message: PHP Warning:  SQLSTATE[HY000] [14] unable to open database file in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube.php on line 1364
PHP message: PHP Warning:  file_put_contents(/home/userfolder/tmp/errors): failed to open stream: Erişim engellendi in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube.php on line 1259
PHP message: PHP Warning:  SQLSTATE[HY000] [14] unable to open database file in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube.php on line 1364
 

blacklotuss

Registered
Mar 26, 2019
4
1
3
Slovenia
cPanel Access Level
Root Administrator
Same issue here, single user (the cPanel has over 100 email addresses) with these issues.

Tried the commands you have put above and I get this as a result:

[[email protected] ~]# /scripts/restartsrv_cpanel_php_fpm
(XID fy392j) The “cpanel_php_fpm” service is disabled.
[[email protected] ~]# /scripts/restartsrv_cpsrvd
Waiting for “cpsrvd” to restart gracefully ………………waiting for “cpsrvd” to initialize ………finished.

Service Status
cpanel (/usr/local/cpanel/cpsrvd --llu=1554325331 --listen=10,11,12,3,4,5,6,7,8,9 --start) is running as root with PID 5545 (systemd+/proc check method).
cpanel (webmaild - serving IP) is running as USER with PID 28252 (systemd+/proc check method).
cpanel (webmaild - serving IP) is running as USER with PID 28625 (systemd+/proc check method).
cpanel () is running as root with PID 29099 (systemd+/proc check method).

Startup Log
apr 03 13:51:40 HOSTNAME systemd[1]: Starting cPanel services...
apr 03 13:51:41 HOSTNAME restartsrv_cpsrvd[5403]: Starting PID 5545: /usr/local/cpanel/libexec/cpsrvd-dormant
apr 03 13:51:41 HOSTNAME systemd[1]: Started cPanel services.
apr 03 13:51:42 HOSTNAME restartsrv_cpsrvd[5403]: License is valid and has already updated recently.
apr 04 08:34:24 HOSTNAME crontab[10286]: (root) LIST (root)

cpsrvd restarted successfully.
[[email protected] ~]#

Unfortunately the issue is still present.