TLight

Registered
Aug 25, 2013
4
0
1
cPanel Access Level
DataCenter Provider
Hi Guys,

I seem to be having a problem with Roundcube. It displays a white page when clicking through from webmail. However I have followed the other forum posts about running the force update to rebuild the database etc. My error log has presented this.

PHP Wrning: Configuration error. Unsupported database driver: in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube.php on line 1156

Any ideas what the fix to this is?

Cheers,
T
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Could you post the full error output that appears when forcing an update of Roundcube? For instance, are there any additional error messages? Have you tried backing up the Roundcube database, dropping it, and then reinstalling Roundcube?

Thank you.
 

TLight

Registered
Aug 25, 2013
4
0
1
cPanel Access Level
DataCenter Provider
The database seems be to missing completly unless im being blonde! Only just noticed the warning sign in the error log. But what would I have miss compilied

Code:
[email protected] [~]# /usr/local/cpanel/bin/update-roundcube --force
Roundcube update from 0.9.2.cp1 to 0.9.2.cp1 in progress.
Roundcube will be locked out during this process.
Updating RoundCube (using cPanel version)
info [update-roundcube] Applied patch '0001-Apply-default-values-for-cPanel-webm                                                                                                                                                             ail-environment.patch'
patching file config/db.inc.php.dist
patching file config/main.inc.php.dist
info [update-roundcube] Applied patch '0002-inhibit-Roundcube-s-initial-check-fo                                                                                                                                                             r-_token-on-logi.patch'
patching file index.php
info [update-roundcube] Applied patch '0003-closed-or-corrupt-connection-to-IMAP                                                                                                                                                             -cases-33678-and.patch'
patching file program/lib/Roundcube/rcube_imap_generic.php
info [update-roundcube] Applied patch '0004-append-INBOX.-to-avoid-UID-COPY-Unkn                                                                                                                                                             own-namespace-er.patch'
patching file config/main.inc.php.dist
info [update-roundcube] Successfully applied 4 patches
INFO - Applied cPanel patches (if any) to Roundcube source.
Archiving current Roundcube data to /var/cpanel/roundcube/roundcube.backup.sql.1                                                                                                                                                             377547753
Roundcube DB successfully archived
-rw------- 1 root root 37410 Aug 26 21:09 /var/cpanel/roundcube/roundcube.backup                                                                                                                                                             .sql.1377547753
Cleaning old Roundcube data archives
Schema update to 0.9.2 was successful
[email protected] [~]# vi  /usr/local/cpanel/logs/error_log
Building global cache for cpanel...Done
[2013-08-11 16:09:23 +0000] info [gather-update-logs] File /usr/local/cpanel/logs/update_analysis/2013-08-11T16:09:01Z.tar.gz has been sent successfully to updatelogdrop.cpanel.net.
[2013-08-11 16:10:55 +0000] info [perlinstaller] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2013-08-11 16:11:01 +0000] info [cpanm] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[perms do not work: /etc/exim.conf.localopts]
[08/11/2013:16:50:25 -0000] info [cpsrvd] reloading config based on -HUP signal
[2013-08-11 21:34:12 +0000] info [rpmup] Prelinking is disabled.
[2013-08-11 21:34:16 +0000] info [checkccompiler] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
[2013-08-11 21:34:45 +0000] info [cleanquotas] Checking for orphaned quotas...
[2013-08-11 21:34:45 +0000] info [cleanquotas] Done.
[2013-08-11 21:34:48 +0000] info [checkerrorlogsafe] Adding error_log exclusion to Apache configuration
[2013-08-11 21:34:54 +0000] info [email_archive_maintenance] Email archiving is disabled per Tweak Settings.
[2013-08-11 22:09:49 +0000] info [gather-update-logs] File /usr/local/cpanel/logs/update_analysis/2013-08-11T22:09:24Z.tar.gz has been sent successfully to updatelogdrop.cpanel.net.
[2013-08-12 01:00:02 +0000] info [cpbackup] Started at Mon Aug 12 01:00:02 2013
Restarting cpsrvd daemon process 1422 via /usr/local/cpanel/cpsrvd-ssl
==> cpsrvd 11.38.2.0 started
==> cpsrvd: preloaded ssl_write_all!
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up native SSL support ... Done
==> cpsrvd: transfered port bindings
==> cpsrvd: bound to ports
Restarting cpsrvd daemon process 1422 via /usr/local/cpanel/cpsrvd-ssl
==> cpsrvd 11.38.2.0 started
==> cpsrvd: preloaded ssl_write_all!
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up native SSL support ... Done
==> cpsrvd: transfered port bindings
==> cpsrvd: bound to ports
Restarting cpsrvd daemon process 1422 via /usr/local/cpanel/cpsrvd-ssl
==> cpsrvd 11.38.2.0 started
==> cpsrvd: preloaded ssl_write_all!
==> cpsrvd: loading security policy....Done
==> cpsrvd: Setting up native SSL support ... Done
==> cpsrvd: transfered port bindings
==> cpsrvd: bound to ports
[2013-08-12 01:37:36 +0000] info [ensurerpm2] Prelinking is disabled.
[2013-08-12 01:37:37 +0000] info [realadduser] User clamav added
./autoconf/install-sh: ./examples/Makefile does not exist.
./autoconf/install-sh: ./runtime/Makefile does not exist.
./autoconf/install-sh: ./test/Makefile does not exist.
./autoconf/install-sh: ./test/Makefile.tests does not exist.
./autoconf/install-sh: ./unittests/Makefile does not exist.
./autoconf/install-sh: ./tools/Makefile does not exist.
./autoconf/install-sh: ./projects/Makefile does not exist.
./autoconf/install-sh: ./bindings/Makefile does not exist.
./autoconf/install-sh: ./bindings/ocaml/Makefile.ocaml does not exist.
configure: WARNING:
****** WARNING:
****** You are cross compiling to a different host or you are
****** linking to bugged system libraries or you have manually
****** disabled important configure checks.
****** Please be aware that this build may be badly broken.
****** DO NOT REPORT BUGS BASED ON THIS BUILD !!!

libtool: install: warning: relinking `libclamunrar_iface.la'
[2013-08-12 01:47:12 +0000] info [tailwatchd] Updated chkservd clamd driver from /usr/local/cpanel/src/chkservd/chkserv.d.
[08/12/2013:01:47:14 -0000] info [cpsrvd] reloading config based on -HUP signal
--> Working on File::Scan::ClamAV
Fetching [url]http://cpan.weepee.org///authors/id/J/JA/JAMTUR/File-Scan-ClamAV-1.91.tar.gz[/url] ... OK
Configuring File-Scan-ClamAV-1.91 ... [2013-08-12 01:47:20 +0000] info [cpanm] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile__usr_bin_gcc
OK
Building and testing File-Scan-ClamAV-1.91 ... FAIL
Type  :quit<Enter>  to exit Vim
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Please open a support ticket so we can take a closer look:

Submit A Ticket

You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

TLight

Registered
Aug 25, 2013
4
0
1
cPanel Access Level
DataCenter Provider
Hi Michael,

The outcome from the support guys was this:

"The problem was /bin/chown was 0k so Roundcube could not change ownership on files. I reinstalled the coreutils RPM and confirmed that /bin/chown works now."

All is working and is now fixed!

Thanks,
Tiago
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
I am happy to hear the issue is now resolved. Thank you for updating us with the solution.