Uninstall according to the following procedure:
Stop the instance.
Change to the superuser.
Uninstall.
Note
To uninstall in a cluster system, first stop the cluster application and then delete the resources for both the cluster application and Symfoware before performing uninstallation.
Refer to the Symfoware Server Cluster Operation Guide for information on other operations.
The installation directory may still remain after uninstallation - if it is not required, then delete it.
If performing operation with WebAdmin, back up the following file before uninstallation.
Instances will not be recognized from WebAdmin even if Symfoware Server is reinstalled after uninstallation.
If performing operation with WebAdmin after reinstalling Symfoware Server, replace the following file after installation.
installationDirectory/gui/data/gui-instances
If you have set automatic start and stop of the instance, execute the following commands to disable the script and cancel registration.
chkconfig nameOfShellScriptForAutomaticStartAndSto off chkconfig --del nameOfShellScriptForAutomaticStartAndStop
# chkconfig rc_symfosv_open_inst1 off # chkconfig --del rc_symfosv_open_inst1
1) Stop the instance
Stop all instances that are using the product to be uninstalled.
In the [Monitor] window, click [Stop].
Execute the stop mode of the pg_ctl command.
$ pg_ctl stop -D /database/inst1
2) Change to the superuser
Run the following command to switch to the superuser on the system.
$ su - Password:******
3) Uninstall
Use the following procedure to uninstall.
The example illustrates uninstallation of Symfoware Server Standard Edition 64-bit V12.0.0.
See
To uninstall the Symfoware Server client feature, refer to the Installation and Setup Guide for Client.
Run the symfo_remove command with the -S option to start uninstallation.
# LANG=en_US.UTF-8;export LANG # installationDestination/setup/symfo_remove -S
Information
The above process must not be canceled using CTRL+C or 'kill -15'.
If you need to forcibly terminate the process, then follow the procedure below:
Run the following command to determine the process ID.
# ps -af | grep symfo_remove
root 21176 18612 0 01:21 pts/0 00:00:00 /bin/sh /opt/symfoserver64/setup/symfo_remove -S
root 21289 17480 0 01:21 pts/1 00:00:00 grep symfo_remove
Run the following command to forcibly terminate the process.
# kill -9 21176
The uninstaller result is output to the log file.
"nnnn" refers to the numeric part of the product version and level. For example, V12.0.0 is written as "1200".
Path name:/var/log/symfoware_sv_64_nnnn.log
Path name:/var/log/symfoware_sv_32_nnnn.log
The following return values are output:
Return values | Meaning |
---|---|
0 | Uninstallation was successful. |
3 | A process is running. |
4 | Failed to uninstall the package. |
64 | Failed to delete product information from Uninstall (middleware). |
106 | The command was not executed with administrator privileges. |