A silent uninstallation uninstalls software automatically without requiring user interaction at the time of uninstallation.
The procedure to silently uninstall Storage Cruiser's agent is as follows:
Log in to the target server as a user with root privileges.
Execute the following silent uninstallation command:
For uninstallLogFile, specify the file in which to output uninstallation log with an absolute path. It is optional to specify for uninstallLogFile.
# /opt/FJSVssage/bin/scagtsilentuninstall.sh [-l uninstallLogFile]
Point
If nothing is specified for uninstallLogFile, an uninstall log file named "scagtsilentuninstall.log" is created in /var/tmp directory.
If there is any file of the same name as the specified uninstall log file exists, it is overwritten.
It is required to specify an existing directory with write permission for the directory in which to store the uninstall log file. If it has no write permission, no error message is output in the command prompt or screen, and the process terminates with error.
Note
If an invalid option is specified, its corresponding error message is output in the log file and the process exits.
No error message is output in the command prompt or screen.
Do not execute multiplexly the command for silent uninstallation. If it is multiplexly executed, the command executed after that will terminate abnormally. At this time, an uninstall log file is not created.
If there is any file unique to the user in the directory for the FJSVssage package, uninstallation process cannot delete the file. Therefore, even running uninstallation does not delete the directory for the FJSVssage. In this case, delete the directory.
On completion of uninstallation, a command prompt is displayed.
Delete the line of "sscruisera" from the /etc/services file.
Restart the system.
# /sbin/shutdown -r now
Check the return value from the silent uninstallation command. If necessary, check the uninstall log file. However, if the return value from the silent uninstallation command is 3 or 9, no uninstall log file is created. For details, refer to "F.3 Return values for silent uninstallation (for Storage Cruiser's agent)".
The uninstallation result can be viewed in the uninstall log file, too.
Open the uninstall log file to see "ResultCode" in the ResponseResult section. In "ResultCode" is written the return value from the silent uninstallation command.