On the server that you want to uninstall the application, verify that you are not in the directory of the application you want to uninstall.
Stop the application that you want to uninstall.
To stop a Remote Agent on a Solaris 10 system, type the following commands.
# svcadm disable spsra # svccfg delete -f spsra |
To stop a Remote Agent on a Solaris 8 or Solaris 9 system, type the following command.
# N1SPS6.0-home/agent/bin/cr_agent stop |
Where N1SPS6.0-home is the directory where you installed the application.
To stop a Local Distributor on a Solaris 10 system, type the following commands.
# svcadm disable spsld # svccfg delete -f spsld |
To stop a Local Distributor on a Solaris 8 or Solaris 9 system, type the following commands.
# N1SPS6.0-home/agent/bin/cr_ld stop |
Where N1SPS6.0-home is the directory where you installed the application.
If you are uninstalling a Remote Agent, change the permissions on files in the /protect directory.
% chmod -R 755 /N1SPS6.0-home/agent/bin/protect |
N1SPS6.0-home is the directory where you installed the Remote Agent.
Delete the directories that contain the application that you want to uninstall.
To delete the master server or CLI application, type the following command.
# rm -r /N1SPS6.0-home/app-directory |
N1SPS6.0-home is the directory where you installed the application. The default directory on UNIX systems is /opt/SUNWn1sps/. The default directory on Linux systems is /opt/sun. The value for app-directory is one of the following:
server – uninstalls a Master Server
cli – uninstalls a CLI Client
To delete the Remote Agent directories, choose the appropriate steps.
For Solaris 10 systems, type the following commands.
# rm -rf /var/svc/manifest/application/management/spsra.xml # rm -rf N1SPS6.0-home |
Where N1SPS6.0-home is the directory where you installed the application.
For Solaris 8 or Solaris 9 systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsra # rm /etc/rc3.d/*spsra |
Where N1SPS6.0-home is the directory where you installed the application.
For HP–UX systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsra # rm /sbin/init.d/spsra /sbin/rc2.d/*spsra |
Where N1SPS6.0-home is the directory where you installed the application.
For SuSE Linux systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsra # rm /etc/init.d/spsra /etc/init.d/rc3.d/*spsra /etc/init.d/rc5.d/*spsra |
Where N1SPS6.0-home is the directory where you installed the application.
For Red Hat Linux systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsra # rm /etc/rc.d/init.d/spsra /etc/rc3.d/*spsra /etc/rc5.d/*spsra |
Where N1SPS6.0-home is the directory where you installed the application.
For AIX systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsra # rm /etc/rc.d/init.d/spsra /etc/rc.d/rc2.d/*spsra |
Where N1SPS6.0-home is the directory where you installed the application.
To delete the local distributor directories, choose the appropriate steps.
For Solaris 10 systems, type the following commands.
# rm -rf /var/svc/manifest/application/management/spsld.xml # rm -rf N1SPS6.0-home |
Where N1SPS6.0-home is the directory where you installed the application.
For Solaris 8 or Solaris 9 systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsld # rm /etc/rc3.d/*spsld |
Where N1SPS6.0-home is the directory where you installed the application.
For HP–UX systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsld # rm /sbin/init.d/spsld /sbin/rc2.d/*spsld |
Where N1SPS6.0-home is the directory where you installed the application.
For SuSE Linux systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsld # rm /etc/init.d/spsld /etc/init.d/rc3.d/*spsld /etc/init.d/rc5.d/*spsld |
Where N1SPS6.0-home is the directory where you installed the application.
For Red Hat Linux systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsld # rm /etc/rc.d/init.d/spsld /etc/rc3.d/*spsld /etc/rc5.d/*spsld |
Where N1SPS6.0-home is the directory where you installed the application.
For AIX systems, type the following commands.
# rm -rf N1SPS6.0-home # rm /etc/init.d/spsld # rm /etc/rc.d/init.d/spsld /etc/rc.d/rc2.d/*spsld |
Where N1SPS6.0-home is the directory where you installed the application.
If you are uninstalling all of the applications from the machine, when the N1SPS6.0–home directory contains no more application directories, delete the common/ directory.
# rm -r N1SPS6.0-home/common |
The uninstallation is complete.