Archive for November, 2013

The installation / removal of whmXtra is easy

To remove WHMXtra do the following from the console : 

# wget http://whmxtra.com/pro/remitall.sh;sh remitall.sh

To install WHMXtra do the following ,

# wget http://whmxtra.com/pro/pro.sh;sh pro.sh

Now logins to WHM -> Plugins and continue with the installation procedure

PhpMyAdmin not working

Posted: November 14, 2013 in cPanel
Tags:

Error: ” PHP Fatal error:  require_once() [<a href=’function.require’>function.require</a>]: Failed opening required ‘./libraries/logging.lib.php’ (include_path=’/usr/local/cpanel/3rdparty/php/53/lib64/php:/opt/cpanel/php/53:.’) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/dbi/mysqli.dbi.lib.php on line 13 ”

——————————————————————————————————————————————–

It is best to forcely update PHPMyAdmin using the following script. It will fix the issue in accessing PHPMyAdmin.

# /usr/local/cpanel/bin/updatephpmyadmin –force

While accessing an email using Horde, you may notice that Horde isn’t displaying the contents of the email rather it displays the following message

“there are no parts that can be displayed inline.

The reason is the “inline” setting of the HTML driver is set to false. To fix the issue, you need to enable i.e. change false to true for “imp/html/inline” attribute in the Horde’s mime_drivers.php file.

On a cPanel server, the file is located at /usr/local/cpanel/base/horde/imp/config/mime_drivers.php and the attribue it as:

$mime_drivers[‘imp’][‘html’] = array(

‘inline’ => false; To ‘inline’ => true;

On a Plesk server, the file is located at /etc/psa-horde/imp/mime_drivers.php and the attribute is as:

$mime_drivers[‘imp’][‘html’][‘inline’] = false;

Once you change the attribute to ‘true’, save the file and Horde will start displaying the contents of the email.

SMBIOS/DMI output is unreliable and sometimes wrong:
————————————————–
/etc/cron.hourly/mcelog.cron:

mcelog: Cannot find SMBIOS DMI tables
—————————————————

FIX ———>>
use –no-dmi option for mcelog like this:

/usr/sbin/mcelog –no-dmi –ignorenodev –filter >> /var/log/mcelog

mcelog decodes machine check events (hardware errors) on x86-64 machines running a 64-bit Linux kernel. Mcelog should be run regularly as a cron job on any x86-64 Linux system.