Zimbra Uninstall directions for linux/all other Operating Systems

Source: Internet
Author: User

Uninstall directions for Linux/all other Operating Systems

As Root:
1) Run the commands:
Su–zimbra
Zmcontrol Stop
Exit
(You should is 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"
3b) Run Command:umount/opt/zimbra/amavisd<-new-blah>/tmp

4)CD/<tmp_tar_install_dir>/zcs/

5) Run the command:./install.sh-u

6) 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. Removed all the files owned by the user Zimbra and that contain the name "Zimbra" in:
/var/log/
/tmp/

7) Run The following commands to delete the users and groups:
Userdel Zimbra
Userdel Postfix
Groupdel Zimbra
Groupdel Postfix

8) Remove the line "/dev/shm/opt/zimbra/amavisd-new-2.4.1/tmptmpfsdefaults,users,size=150m,mode=777 0 0" from/etc/ Fstab.

9) Remove The Zimbra logging lines below from/etc/syslog.conf:
local0.*-/var/log/zimbra.log
auth.*-/var/log/zimbra.log
mail.*-/var/log/zimbra.log

Remove logrotate config file for Zimbra (CentOS, RHEL)
rm-f/etc/logrotate.d/zimbra

Remove the Zimbra lines below from/etc/prelink.conf (CentOS, RHEL)
# added for Zimbra
-l/opt/zimbra/lib
-l/opt/zimbra/sleepycat/lib
-l/opt/zimbra/openldap/lib
-l/opt/zimbra/cyrus-sasl/lib
-l/opt/zimbra/mysql/lib

Remove Zimbra Entries in/etc/rc* (CentOS, RHEL)
chkconfig--del Zimbra

Other methods: (assuming you didn ' t already try the above)
(DIJICHI2) If you get stuck and really want to just purge it from the system, try:
Rpm-e ' Rpm-qa |grep Zimbra '
Rm-rf/opt/zimbra
Delete Zimbra Entries From/etc/sudoers
Delete Zimbra entries from root and Zimbra Crontabs

On Ubuntu servers dpkg could think that Zimbra is still installed. Check by running dpkg--list (-L) or dpkg-q zimbra* and see if Zimbra items is still listed. You can remove them by running:
dpkg--remove zimbra-apache zimbra-ldap zimbra-mta zimbra-spell zimbra-core zimbra-logger zimbra-snmp zimbra-store< /c0> or

sudo rm-r/opt/zimbra


This article from "Patience is Virtue" blog, declined reprint!

Zimbra Uninstall directions for linux/all other Operating Systems

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.