Linux

Kill zmlogger in Zimbra 5.0.x

The zmlogger prosess does never stop even though I run the zmcontrol stop command as zimbra user on my Zimbra 5.0.x installation. A temporary solution to stop the zmlogger process is to do the following in a console # su -zimbra # zmcontrol stop # exit # kill -9 `ps -u zimbra -o “pid=”`

Read More
Linux

Zimbra upgraded from 5.0.1 to 5.0.2

Today, my Zimbra installation was upgraded from version 5.0.1 to 5.0.2 on my Debian Etch 4.0 server. It looks like everything is working properly after the upgrade. Short description of the upgrade prosess Stop Zimbra and make sure every process has stopped # su – zimbra # zmcontrol stop # lsof | grep opt | […]

Read More
Linux

ReIndexing a Zimbra mailbox

I had some problems with one of my mailaccounts periodically not receiving mail. A temporary way to fix it was to restart zimbra as zimbra user (zmcontrol stop; zmcontrol start; ) It worked for a while, but came back usually after a couple of hours. The solution to this problem was to reindex the mailaccount […]

Read More
Scripting

Extracting images from Adobe Acrobat PDF file

This is a short example of how to extract images from a PDF file using ImageMagick # convert thePDFfile.pdf page-%03d.png # ls page* page-000.png page-001.png page-002.png Imagemagick can also be used to create Adobe Acrobat PDF documents convert DSC* resultFile.pdf The resultfile contains one image per page.

Read More
Scripting

Align output from commands using column

The column command is a little shell command that makes it easy to print the results in a aligned fashion. Example 1 /dev/mapper/vg0-root on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) procbususb on /proc/bus/usb type usbfs (rw) udev on /dev […]

Read More