Roundcube Database connection error

If you are facing any kind of problem with Roundcube like: DATABASE ERROR: CONNECTION FAILED! or anything else, please perform following steps to fix the errors. 1. Drop the database using following command mysql -e ‘drop database roundcube’ 2. Update roundcube /usr/local/cPanel/bin/update-roundcube –force Thats it. Tyr it now.

Script to kill Roundcube stuck process !!

Create the new file roundcube.sh and insert the following code. #!/bin/sh for ROUNDCUBE in `ps aux | grep roundcube | awk -F ” ” ‘{print $10}’ | awk -F “:” ‘{print $1}’`; do if [ $ROUNDCUBE -ge 20 ]; then pkill -u cpanelroundcube echo “kill roundcube process roundcube”; fi done You can add the cron […]

Script to kill Roundcube stuck process !!

Create the new file roundcube.sh and insert the following code.#!/bin/shfor ROUNDCUBE in `ps aux | grep roundcube | awk -F ” ” ‘{print $10}’ | awk -F “:” ‘{print $1}’`;doif [ $ROUNDCUBE -ge 20 ]; thenpkill -u cpanelroundcubeecho “kill roundcube process roundcube”;fidoneYou can add the cron job to run the above script after a specific […]