uninstallSAM

Name

uninstallSAM - Uninstalls all components of System Automation for Multiplatforms.

Synopsis

uninstallSAM [-d inst_pkg_dir] [-l log_file]

Description

The uninstallSAM command checks that the domain is offline. All components of System Automation for Multiplatforms are uninstalled in the proper order, and information about the executed actions are recorded in a log file. The name of the default log file is /tmp/uninstallSAM.<#>.log, where <#> is a sequential number; the highest number identifies the most recent log file. If the domain is online the uninstallation is canceled.

Typically, no options need to be specified. The available options uninstall the component although theuninstallSAM script is not in the package directory (-d). To specify that a log file other than the default is used, add the -l option.

Options

-d inst_pkg_dir
Uninstalls all components based on NLS files in the specified directory although the uninstallSAM script is not available in the directory. uninstallSAM is not dependent upon the packages to be installed, but needs the directory for its message files.
-l log_file
Logs information that is generated by the uninstallSAM command to the specified log file.
--silent
Suppress output to the command line.

Exit Status

0
The uninstallation completed successfully.
1
<package uninstaller> returned a return code other than 0; the return code and the corresponding message can be found in the log file. <package uninstaller> is:
  • AIX®: installp
  • Linux®: rpm
2
The peer domain is online. No uninstallation ran.
3
uninstallSAM was unable to continue because directories or files were not detected. This return code also applies if the -d option specifies a directory that does not exist, or if the subdirectory with files does not exist.

Security

This command requires root authority.