Uninstalling Zimbra on Mac OS X (Tiger)

From Zimbra :: Wiki

Jump to: navigation, search

The script was implemented as of 2006-10-19 See: http://bugzilla.zimbra.com/show_bug.cgi?id=7793 (Older versions please check the history of this article)

Linux see: UnInstall_Zimbra

Contents

Uninstalling Zimbra on Mac OS X (Tiger)

How to find the uninstall script

1. The uninstall script for removing ZCS on Mac OS X is shipped on the disk image - scripts/installZCS.sh.

2. Existing installs place the script in /opt/zimbra/libexec/installer/install-mac.sh.

3. Download install-mac.sh from the zimbra source repository.

4. How to uninstall applications on mac all about here

How to run the uninstall script

Open Terminal.app (look in the Utilities folder in the Applications folder) and change to the root user. If you have a password set for root, run the command "su -" and enter the root password. If you don't have a root password set, log in the the mac as an administrator, and run "sudo su -", and enter the *administrator* password (*not* the root password). Once you have the root prompt (normally ending with #), run these commands:

# cd /
# /opt/zimbra/libexec/installer/install-mac.sh -u

If you downloaded the install-mac.sh script, you'll need to make the script executable, and you'll need to use the actual path to the file, not "/opt/zimbra/libexec/installer/install-mac.sh" (hint: drag the icon of the script from the Finder to the Terminal window and let go, and it will automatically show the full path to the script; don't forget to add the "-u" option in order to uninstall). For example, if you saved it to the Desktop while logged in as a user named "admin", your commands would look like this:

# cd /
# chmod a+x /Users/admin/Desktop/install-mac.sh
# /Users/admin/Desktop/install-mac.sh -u

Remaining issues

If you still see the zimbra account in the login window after restarting and are unable to log in, boot from a cd like the Mac install disk to gain access to the Disk Utility, and repair permissions. Then reboot, log in normally, and use the Accounts panel of the System Preferences to manually remove the Zimbra user account.

Useful Links

Verified Against: unknown Date Created: 5/25/2006
Article ID: http://wiki.zimbra.com/index.php?title=Uninstalling_Zimbra_on_Mac_OS_X_(Tiger) Date Modified: 12/22/2010
Personal tools