Add 32bit package support for Debian/Ubuntu/Mint

Many applications which look for 32bit packages on your Debian/Ubuntu/Mint packages would need ia32-libs packages. Earlier it was possible to get this package installed and later on it has been removed from all distributions. The best way to get back the 32bit package support is to add the architecture to dpkg as follows:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

Fix Zimbra stats graph/cron jobs

If your zimbra scheduled tasks are not running or if you don’t see your stats graphs on admin panel, the first thing that you should check if zimbra’s cronjobs. When you reinstall/move your zimbra installation we normally tend to miss cron job setups required for zimbra.

To fix this, find the Zimbra crontabs directory at /opt/zimbra/zimbramon/crontabs

Now, lets put alwal the cronjob’s to a single file (just to make your job easier) as follows:

[[email protected] crontabs]# cat crontab >> crontab.zimbra
[[email protected] crontabs]# cat crontab.ldap >> crontab.zimbra
[[email protected] crontabs]# cat crontab.logger >> crontab.zimbra
[[email protected] crontabs]# cat crontab.mta >> crontab.zimbra
[[email protected] crontabs]# cat >> crontab.zimbra

Finally,Load the crontab.zimbra file to crontab as follows:

[[email protected] crontabs]# crontab crontab.zimbra

Voila, that’s it. Wait for few minutes to start seeings the graphs. You can also verify the cornjobs by using ‘crontab -l’.

Zimbra Admin password reset

To reset the administrative password:

su – zimbra
zmprov sp

To get a list of all administrators:

su – zimbra
zmprov gaaa

To access the admin console:


Remember that the administrative console (sometimes) requires a full email address as the login name, so you may be using the correct password and the wrong login!


update_firmware fails with “bad xml for package” – dell

If you fail to run the firmware upgrades on Dell poweredge servers with the following error:

update_firmware fails with “bad xml for package”

remount /tmp without nosuid,noexec and run the ugprade again. This will solve the issue.

Fixing php in Ubuntu

Running php scripts on apache in your Ubuntu desktop won’t be sweat at first. You might notice that php scripts start downloading when you start accessing them via browser. This is mainly because of small configuration issues that we can find on machine. If you have enabled userdir module (http://localhost/~yourusername), it contains a line to disable php values as follows in /etc/apache2/mods-enabled/php5.conf :

php_admin_value engine Off

All that you have to do is to disable the above line and restart apache to get php working.