Uninstalling the Steel-Belted Radius Carrier Server
To uninstall the Steel-Belted Radius Carrier server software from its default location (/opt/JNPRsbr):
Execute:
#cd /opt/JNPRsbr/radius#./sbrd stopCreate a new archive directory to ensure that you do not overwrite an existing backup.
# cd /opt/JNPRsbr# mkdir /opt/backups# tar cf - radius | ( cd /opt/backups; tar xfBp - )Execute:
#cd /opt/JNPRsbr/radius#pkginfo |grep -i jnprpkginfo |grep -i jnprapplication JNPRsbr JNPRsbr - Juniper Networks Steel-Belted Radius CarrierTwo prompts ask you to confirm that you want to remove the package.
Enter y at each prompt to continue.# pkgrm JNPRsbrThe following package is currently installed:JNPRsbr JNPRsbr - Juniper Networks Steel-Belted Radius Carrier (sparc) 7.00.4556Do you want to remove this package? [y,n,?,q]y## Removing installed package instance <JNPRsbrsp>This package contains scripts which will be executed with super-userpermission during the process of removing this package.Do you want to continue with the removal of this package [y,n,?,q]yAfter the second prompt, the uninstall displays a message, then the name of each file it removes.
## Verifying package <JNPRsbr> dependencies in global zone
## Processing package information.
## Executing preremove script.
Existing server directory will be backed up as:
/opt/JNPRsbr/radius/install/backups/2008:08:18-12:45:40
## Removing pathnames in class <none>When the uninstall finishes, it displays:
Removal of <JNPRsbr> was successful.
- In most environments, you would want to preserve the Steel-Belted Radius Carrier backup directories in case they are required by a future installation, but they may be deleted if necessary.
If you do want to delete them, use the standard UNIX
rmcommand.