UnInstalling Zimbra on Linux

As root

1) Run the commands:
su – Zimbra
zmcontrol stop
exit

(you should be root after you run exit)

2a) Run the command: ps -ef | grep -i zimbra
If you see running processes
2b) Kill any lingering processes: kill -9 <pid>

3a) Run the command: df
If you see "amavisd"
4b) run command: umount /opt/zimbra/amavisd<-new-blah>/tmp

5) cd /<tmp_tar_install_dir>/zcs/
6) Run the command: install.sh -u
7) Run the following commands to complete the unistall:
rm -rf /opt/zimbra
rm -rf /var/log/*zimbra* rm -rf /tmp/*zimbra* rm -rf /tmp/hsperfdata* rm -rf /tmp/install.*
rm -rf /tmp/*swatch*
rm -rf /tmp/log*

Ensure that you removed ALL the files owned by the user zimbra AND that contain the name "zimbra" in:
/var/log/
/tmp/

8) Run the following commands to delete the users and groups:
userdel zimbra
userdel postfix
groupdel zimbra
groupdel postfix

Jump to: navigation, search