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 firstname.lastname@example.org emptyFolder /Inbox
Once above command been execute, it took less than 1 minute to remove 68000 email from the inbox
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.
My latest MacOS X 10.12 release failed to ssh to network devices with the following error:
techkaki-MacBook-Pro:~ techkaki$ ssh email@example.com
Unable to negotiate with 10.10.10.243 port 22: no matching host key type found. Their offer: ssh-dss
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 firstname.lastname@example.org
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
Hope this information will help 🙂