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) Remove lingering directory: rm -rf /opt/zimbra
8) Go to the following directories and remove ALL the files owned by the user zimbra AND that contain the name “zimbra”:
/var/log/
/tmp/

9) Remove ALL the install log files with the command: rm -f /tmp/install.*
10) Rund the commands:
userdel zimbra
userdel postfix
groupdel zimbra
groupdel postfix

Jump to: navigation, search