UnInstalling Zimbra on Linux: Difference between revisions

No edit summary
No edit summary
Line 16: Line 16:
<br>  
<br>  
4) '''cd /<tmp_tar_install_dir>/zcs/'''<br><br>
4) '''cd /<tmp_tar_install_dir>/zcs/'''<br><br>
5) Run the command: '''./install.sh -u'''<br><br>
5) Run the command: '''./install.sh -u'''<br>For Mac OS users, use '''./install-mac.sh''' that can be obtained from [http://svn.sourceforge.net/viewvc/*checkout*/zimbra/trunk/ZimbraBuild/rpmconf/Install/install-mac.sh svn]<br><br>
6) Run the following commands to complete the unistall:<br>
6) Run the following commands to complete the unistall:<br>
'''rm -rf /opt/zimbra'''<br>
'''rm -rf /opt/zimbra'''<br>
'''rm -rf /var/log/*zimbra*'''
'''rm -rf /var/log/*zimbra*'''<br>
'''rm -rf /tmp/*zimbra*'''
'''rm -rf /tmp/*zimbra*'''<br>
'''rm -rf /tmp/hsperfdata*
'''rm -rf /tmp/hsperfdata*<br>
'''rm -rf /tmp/install.*<br>'''
'''rm -rf /tmp/install.*<br>'''
'''rm -rf /tmp/*swatch*<br>'''
'''rm -rf /tmp/*swatch*<br>'''

Revision as of 02:32, 16 December 2006

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
For Mac OS users, use ./install-mac.sh that can be obtained from svn

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.

Jump to: navigation, search