Category Archives: cPanel
MySQL database not showing in cPanel
If database is not showing in cpanel, make sure database exists in the server. If it exists, make sure permission/ownership of database is correct. Then check whether database details are listed in /var/cpanel/databases/username.yaml If it is not listed in it, … Continue reading
configure: error: DOM extension requires LIBXML extension, easyapache
While recompiling php using easyapache in a cpanel server, I got stuck with following error: ——- configure: error: DOM extension requires LIBXML extension, add –enable-libxml !! ‘./configure –disable-libxml –enable-bcmath –enable-calendar –enable-ftp –enable-gd-native-ttf –enable-magic-quotes –enable-mbstring –enable-pdo=shared –enable-sockets –prefix=/usr/local –with-apxs2=/usr/local/apache/bin/apxs –with-curl=/opt/curlssl/ –with-freetype-dir=/usr … Continue reading
Dovecot: unable to connect to localhost:143
If you’re using dovecot instead of courier imap in cpanel server and get the following error while trying to login to squirrel mail. Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:143 (Connection refused) in /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth/functions.php on line 129 Check whether … Continue reading
Reset whm theme of a reseller account from command prompt
WHM theme of a reseller account can be changed by editing file /home/reseller_user/.whmtheme To switch to x theme. echo x > /home/username/.whmtheme
How to enable HTML Mail Plugin in squirrel mail
Please check the following URL and download latest version of HTML mail plugin. http://www.squirrelmail.org/plugin_view.php?id=209 cd /usr/local/cpanel/base/3rdparty/squirrelmail/plugins wget http://www.squirrelmail.org/countdl.php … 1.4.tar.gz (latest version when I tried it) tar xzf html_mail-2.3-1.4.tar.gz chown -R root.wheel html_mail cd /usr/local/cpanel/base/3rdparty/squirrelmail/config perl conf.pl It will show … Continue reading
Unable to send mail via RoundCube
Check the log file /var/cpanel/roundcube/log/errors and if you’re getting the following error: SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/func.inc on line 1248 (POST /3rdparty/roundcube/index.php?_task=mail&_action=send) PHP Warning: ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: output handler ‘ob_gzhandler’ cannot be used … Continue reading
Fantastico is not installed at the default location
If you get the following error when you access Fantastico from a cpanel account: Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM … Continue reading
exim: ** [535 Incorrect authentication data != 2]
Error: Exim status is not showing correctly in WHM >> Service Status and if you get mail with the following error: ———————————- exim failed @ Tue Mar 24 22:57:24 2009. A restart was attempted automagically. Service Check Method: [tcp connect] … Continue reading
All Mailman web pages give a 404 File not found error.
Error: All Mailman web pages give a 404 File not found error. Fix: Check the mail permission using the script ./check_perms inside /usr/local/cpanel/3rdparty/mailman/bin/ If you get the following warning: —————– Warning: Private archive directory is other-executable (o+x). This could allow … Continue reading
reject all the mails to invalid address and to accept to the main cpanel account
By default, either we have to set catch all address to fail or set it to default address in cpanel. If we want to set catch all account to fail and would like to use main cpanel account to send/receive … Continue reading