Uninstalling Directory Server

rm -Rf /export/ds80

4.Remove the symlinks to the directories. For example:

rm -f /opt/dirsrv /var/opt/dirsrv /etc/opt/dirsrv

4.2.3. Solaris

To uninstall Red Hat Directory Server entirely, do the following:

1.Remove all of the Directory Server instances.

/usr/sbin/ds_removal -s example1 -w itsasecret /usr/sbin/ds_removal -s example2 -w itsasecret /usr/sbin/ds_removal -s example3 -w itsasecret

2.Stop the Administration Server.

/etc/init.d/dirsrv-admin stop

3.Then use the system tools to remove the packages. For example:

#!/bin/bash

for i in `pkginfo grep -i rhat grep -vi rhatperlx awk '{print $2}'` do

pkgrm -n $i done

echo "looking for any leftover RHAT packages ..." pkginfo grep RHAT

97

Page 107
Image 107
HP UX Red Hat Direry Server Software manual Solaris