Zimbra: How to emtpy my email inbox??

In some situation, you may experience your mailbox will get full of used or unused email. To remove email in inbox, it will take long time to do it in Zimbra GUI.  Refer to example to below screenshot, i have more than 68000 email in my inbox.


To empty the inbox email, it can be done it via CLI. Below is the command to remove all the inbox message for the particular email account

[root@mail ~]# su – zimbra
[zimbra@mail ~]$ zmmailbox -z -m test@techkaki.com emptyFolder /Inbox

Once above command been execute, it took less than 1 minute to remove 68000 email from the inbox


CentOS – Existing lock /var/run/yum.pid: another copy is running as pid xxxx.

Error Message “Existing lock /var/run/yum.pid: another copy is running as pid xxxx.”  is a very common error which you might come across in Red Hat Linux distro while trying to run yum command.

As you see the error from above screenshot, it mentioned that yum command is locked by another application. Meaning that someone already run the yum command and the process is running.

To find out which process and user holding the yum lock, just enter following command:-

From the above screenshot, PID 11290 is currently run by root user and holding the yum lock.


It is very easy to solve this issue, first wait the process finished. Second is kill the process ID. Below is the command to kill the PID

kill -9 11290

Now you should able to use yum command.


MacOS Sierra: Unable to negotiate with IP X.X.X.X port 22 no matching host key type found. Their offer: ssh-dss


My latest MacOS X 10.12 release failed to ssh to network devices with the following error:

techkaki-MacBook-Pro:~ techkaki$ ssh root@
Unable to negotiate with port 22: no matching host key type found. Their offer: ssh-dss

Root Cause

OpenSSH Version 7 and above disable DSA key by default.


A) To enable the ssh-dss (DSA) key exchange algorithm  using the HostKeyAlgorithms option:

ssh -o HostKexAlgorithms=+ssh-dss  aimsadm@

B) Enable ssh-dss (DSA) on ssh_config by adding HostkeyAlgorithms +ssh-dss at the end of the ssh_config file.

sudo nano /etc/ssh/ssh_config

Screen Shot 2017-05-22 at 11.54.31 AM

Hope this information will help 🙂

Reference link:-