zimbra Uninstall Directions for Linux/All Other Operating Systems

Uninstall Directions for Linux/All Other Operating Systems

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"
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 that you 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/tmp tmpfs defaults,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

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

11) 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

12) 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 may think that Zimbra is still installed. Check by running dpkg --list (-l) or dpkg -q zimbra* and see if zimbra items are 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 or

sudo rm -r /opt/zimbra
时间: 2024-11-09 21:58:04

zimbra Uninstall Directions for Linux/All Other Operating Systems的相关文章

操作系统Operating Systems操作系统历史与硬件概况History of OS & Summaries!

培根:读史使人明智 操作系统的简史 (1955-1965) 计算机非常昂贵,上古神机IBM7094 ,造价在250万美元以上 计算机使用原则:只专注于计算 批处理操作系统(Batch system) 典型代表:IBSYS 从IBSYS 到OS/360(1965-1980) 计算机开始进入多个行业:科学计算(IBM 7094) ,银行(IBM 1401) 需要让一台计算机干多种事 多道程序(multiprogramming) 作业之间的 切换和调度 成为核心:因为既有IO 任务,又有计算任务,需要

the virtual machine is configured for 64-bit guest operating systems

解决办法:修改BIOS设置  Security--Virtualization--Inter(R) Virtualization Technolog 设置为enable 本机安装的是WIN 7 ,详细版本是:Windows 7 Ultimate, 32-bit 6.1.7601, Service Pack 1 .虚拟机版本:7.1.2 build-301548.在虚拟机上安装RED HAT ENTERPRISE LINUX 6 64版本时,报如下错误: You have configured t

CSE 421/521 – Operating Systems

Programming Assignment – 2CSE 421/521 – Operating SystemsDue: April 5th and April 19th @11:59 pm, 20191. PreparationBefore beginning your work, please read the following carefully:● Chapters 8-9 from Silberschatz (9th edition)● Lecture slides on Memo

CO004 Projects on Operating Systems

Project 1 - A Process SchedulerCO004 Projects on Operating SystemsMarch 1, 2019Due Date for Grouping: Mar. 21, 2019Due Date for Phase 1: Apr. 04, 2019Due Date for Phase 2: May 5, 20191 Objective Understanding how a process scheduler works. Increasing

Operating Systems Programming – 300698

Workshop DOperating Systems Programming – 3006981 IntroductionIn this workshop you will investigate file I/O and file copy operations.2 SpecificationFollowing on from the demonstration program cp1.c presented in the lecture, we will make a series of

COMP SCI 3004/7064 - Operating Systems

COMP SCI 3004/7064 - Operating Systems Assignment 2DUE: 23:30pm, 28th Oct, 2019Important Notes• Handins:– The deadline for submission of your assignment is 23:30pm, 28th Oct, 2019.– For undergraduate students, you may do this assignment as a team of

COMP SCI 3004/7064 - Operating Systems Assignment

COMP SCI 3004/7064 - Operating Systems Assignment 2DUE: 23:30pm, 28th Oct, 2019Important Notes• Handins:– The deadline for submission of your assignment is 23:30pm, 28th Oct, 2019.– For undergraduate students, you may do this assignment as a team of

Modern Operating Systems(Ⅰ)——2014.12.15

进程   进程模型 进程就是一个正在执行的程序的实例 值得注意的是,若一个程序运行了两遍,则算作两个进程 创建进程 在通用系统中,有四种主要事件导致进程的创建 ①系统的初始化 ②执行了 正在运行的进程 所调用的 进城创建系统调用 ③用户请求创建一个新进程 ④一个批处理作业的初始化  进程的状态 运行态(该时刻进程实际占用CPU) 就绪态(可运行,但因为其他进程正在运行而暂时停止) 阻塞态(除非某种外部事件发生,否则进程不能运行) 在Operating Systems Concept中还提到了ne

[No00003C]操作系统Operating Systems进程同步与信号量Processes Synchronization and Semaphore

操作系统Operating Systems进程同步与信号量Processes Synchronization and Semaphore 进程合作:多进程共同完成一个任务 从纸上到实际:生产者− − 消费者实例 共享数据 #define BUFFER_SIZE 10 typedef struct { . . . } item; item buffer[BUFFER_SIZE]; int in = out = counter = 0; 注意:这些都是用户态程序! 生产者进程 while (true