http://innovationframes.com/phpbb/download/cPanel_Guide.pdf
Download cPanel Troubleshooting Guide:
http://innovationframes.com/phpbb/download/cPanel_Troubleshooting.pdf
Roundcube Issue on Cpanel/whm servers
If we getting the following error when accessing roundcube:
Error:
SERVICE CURRENTLY NOT AVAILABLE!
Error No. [0x01F4]
Please follow this:
1. Try to restart mysql and then try to access roundcube.
2. If you are getting the same error please follow the step:
# /usr/local/cpanel/bin/update-roundcube --force
Output Example:
# /usr/local/cpanel/bin/update-roundcube --force
Updating RoundCube (using cPanel version)
tar -x -p -z --no-same-owner -f /usr/local/cpanel/src/3rdparty/gpl/roundcube-0.2b.cpanel.tar.gz -C /usr/local/cpanel/base/3rdparty. Archiving current Roundcube data to /var/cpanel/roundcube/roundcube.backup.sql.1238632810
mysqldump: Got error: 1033: Incorrect information in file: './roundcube/cache.frm' when using LOCK TABLES
Failed to backup existing Roundcube DB. DB likely did not exist.Database "roundcube" dropped
Cleaning old Roundcube data archives
Creating Roundcube database
Roundcube updated to 0.2b
Reference URI:
http://forums.cpanel.net/f4/roundcube-error-112473.html
phpMyAdmin - Error
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
Fix:
# vi /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
find
$cfg['Servers'][$i]['socket'] = '';
change to
$cfg['Servers'][$i]['socket'] = '/var/lib/mysql/mysql.sock';
next line
$cfg['Servers'][$i]['connect_type'] = 'tcp';
change to
$cfg['Servers'][$i]['connect_type'] = 'socket';
How to fix Webmail issue on cPanel server?
Getting following error when trying send mail via webmail clients(Squirrelmail, Horde)
ERROR:
Message not sent. Server replied:
Requested action aborted: error in processing
451 Temporary local problem - please try later
Fix:
/scripts/mailperm
How to login SFTP from Shell with different port(other than 22)?
#sftp -oPort=12345(port number) user@server
An error occurred while processing this directive
What to do when you find such an issue with your cPanel.
" an error occurred while processing this directive ".
You need to inform this error to your web host and get it fixed.
The fix:
touch /var/cpanel/skipparentcheck
The above command will create a file "skipparentcheck", so next time the cPanel loads you will not see the error.
Horde database issue
Simply run the "mysqlcheck -r horde " command. This will fix your issue.
How to enable viewing HTML content in Horde?
You need to enable Inline HTML message viewing for Horde.
To enable "Inline html message viewing" : (Please note: Path given is for Cpanel servers only, check for your horde installation directories in other servers)
Goto horde imp configuration folder at /usr/local/cpanel/base/horde/imp/config
# vi mime_drivers.php
Change the following line
------------------------------------------------------------
$mime_drivers['imp']['plain']['inline'] = false;
------------------------------------------------------------
to
------------------------------------------------------------
$mime_drivers['imp']['plain']['inline'] = true;
------------------------------------------------------------
Restart cpanel, relogin to Horde.
Open any email which is in HTML format to find the following option in your
email body :
=======================================
HTML Click HERE to view HTML content in a separate window.
=======================================
Click on the link to start reading your email in HTML format.
Now you will be able to read your emails in HTML format.
cPanel phpMyAdmin Issue:
phpMyAdmin - Error
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
Fix:
# vi /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php
find
$cfg['Servers'][$i]['socket'] = '';
change to
$cfg['Servers'][$i]['socket'] = '/var/lib/mysql/mysql.sock';
next line
$cfg['Servers'][$i]['connect_type'] = 'tcp';
change to
$cfg['Servers'][$i]['connect_type'] = 'socket';