Skip to end of metadata
Go to start of metadata

Symptom:

You’ve decided to remove the Men & Mice DNS Server Contoller and/or Men & Mice Central from a particular server. The instructions are different for each platform type.

Problem:

If you want to preserve your data for use on another server, or for re-use after removing and reinstalling the Suite on this server, follow the instructions in the FAQ article regarding backing up and restoring data.

Solution

Solutions by Operating System

Windows

Run the uninstallers. Open Add/Remove Programs (from the Control Panel), select each Men & Mice Suite component, and remove it. This will remove the software but not the configuration data.

To remove the data for Men & Mice Central, delete the following folder:
(Version 5.0-5.1.3)
C:\Program Files\Men and Mice\QuickDNS Central
(Version 5.5 +)
C:\Program Files\Men and Mice\Central

To remove the data for Men & Mice DNS Server Controller delete the following folder:
(Version 5.0-5.1.3)
{Windows}\System32\dns\qdns
(Version 5.5 +)
{Windows}\System32\dns\mmsuite 
where {Windows} is your operating system directory, usually either C:\WinNT or C:\Windows.

Mac OS X

The following procedure involves executing shell commands. This can be done either in a Terminal window, directly on the server, or remotely via an ssh session.

First, stop the services. For version 5.1 of the Men & Mice Suite, use these commands:
sudo /Library/StartupItems/mmCentral/mmCentral stop
sudo /Library/StartupItems/mmCentral/mmCentral start

To stop and disable the DNS service itself, on Mac OS X 10.4, use this command:
sudo launchctl unload -w /System/Library/LaunchDaemons/org.isc.named.plist

On Mac OS 10.3, edit /etc/hostconfig; set the variable DNSSERVER to “-NO-”. Then use this command to stop the service:
sudo killall named

Next, remove the software. Use these commands:
(Version 5.0-5.1.3)
sudo rm -r /Library/StartupItems/mm* /Library/Receipts/Men\ \&\ Mice*
sudo rm /usr/*bin/qdns*

(Version 5.5+)
sudo rm -r /Library/StartupItems/mm* /Library/Receipts/Men\ \&\ Mice*
sudo rm /usr/*bin/mmremoted
sudo rm /usr/*bin/mmcentrald
sudo rm /usr/*bin/mmxmlint

Finally, remove the data. Use this command:
(Version 5.0-5.1.3)
sudo rm -r /etc/named.conf /var/named /var/qdns

(Version 5.5+)
sudo rm -r /etc/named.conf /var/named /var/mmsuite

To restore the DNS service data that was present before the DNS Server Controller was installed, use these commands:
sudo mv /etc/named.conf.bak /etc/named.conf
sudo mv /var/named.bak /var/named
You may need to look for other backup extensions than “.bak”, such as a number.

Other Unix (Solaris, Linux, FreeBSD)

First, stop the services. The way this is done is distribution-specific, but it can always be done by invoking the init scripts with the “stop” parameter. For example, on Linux, as root:
(Version 5.0-5.1.3)
/etc/init.d/qdnsr stop
/etc/init.d/qdnsc stop
/etc/init.d/named stop

(Version 5.5+)
/etc/init.d/mmremote stop
/etc/init.d/mmcentral stop
/etc/init.d/named stop

Of course, you can also simply killall the processes:
(Version 5.0-5.1.3)
qdnsremoted”, “qdnscentrald”, and “named
(Version 5.5+)
mmremoted”, “mmcentrald”, and “named

Next, remove the Men & Mice Suite. The binaries are usually installed in /usr/sbin, and the names all start with “qdns” (Version 5.0-5.1.3) or “mm” (mmcentrald, mmremoted, mmcmd, mmxmlint).

The init scripts are stored in the usual locations (/etc/init.d on Linux, /usr/local/etc/rc.d on FreeBSD, etc.).

Lastly, remove the data. The default location of Men & Mice Central’s data is
for Version 5.0-5.1.3: /var/qdns.
for Version 5.5+: /var/mmsuite.

The default location of the DNS Server Controller’s data is distribution-specific - it may be /var/named, /var/lib/named, /etc/namedb, or inside a chroot jail; don’t forget about named.conf (usually /etc/named.conf or /etc/namedb/named.conf).

To restore the data that was present before installing the Suite, simply restore named.conf.bak to named.conf, and restore the named data directory (e.g. /var/named) similarly. Depending on what version you used to initially install, the extension may be a number instead of “.bak”. For example, if the named data directory is normally /var/named, the installer will back up your original data to /var/named.bak, or possibly something like /var/named.110034232.