Uninstall according to the following procedure:
Note
To reinstall Symfoware Server after it was uninstalled, and reuse an instance that was already created so that it can be managed from WebAdmin, back up the file shown below in which the WebAdmin instance management information had been defined before uninstalling Symfoware Server, and then restore the backed up file to its original location once Symfoware Server has been reinstalled.
installDir/gui/data/gui-instances
1. Delete the operation information
If the Symfoware Server operation information has been registered in the operating system or another middleware product, for example, then it must be deleted. Cases in which deletion is required are as follows:
In cluster systems that use failover operation, close the cluster application and then delete the cluster application as well as the Symfoware Server resources.
Refer to the "Symfoware Server Cluster Operation Guide" for information on other tasks.
If a PL/extJava environment has been built, delete the domain. Refer to "Setting up and Operating PL/extJava" in the Operation Guide for details.
If you have set automatic start and stop of the instance, execute the following commands to disable the script and cancel registration.
chkconfig nameOfShellScriptForAutomaticStartAndStop off chkconfig --del nameOfShellScriptForAutomaticStartAndStop rm /etc/rc.d/init.d/nameOfShellScriptForAutomaticStartAndStop
# chkconfig rc_symfosvoi_inst1 off # chkconfig --del rc_symfosvoi_inst1 # rm /etc/rc.d/init.d/rc_symfosvoi_inst1
systemctl disable nameOfUnitFileThatPerformsAutomaticStartAndStop
rm /usr/lib/systemd/system/nameOfUnitFileThatPerformsAutomaticStartAndStop
# systemctl disable symfosvoi_inst1.service # rm /usr/lib/systemd/system/symfosvoi_inst1.service
2. Stop applications and the client program
Before starting the uninstallation, stop the following:
Applications that use the product
Instance
In the [Monitor] window, click [Stop].
Execute the pg_ctl command with the stop mode option specified.
$ /opt/symfoserver64/bin/pg_ctl stop -D /database/inst1
Web server feature of WebAdmin
Execute the WebAdminStop command to stop the Web server feature of WebAdmin.
# cd /opt/symfoserver64/gui/sbin # ./WebAdminStop
In the example above, /opt/symfoserver64 is the installation directory.
Mirroring Controller
Execute the mc_ctl command with the stop mode option specified and stop the Mirroring Controller.
$ mc_ctl stop -M /mcdir/inst1
3. Change to the superuser
Run the following command to switch to the superuser on the system.
$ su - Password:******
4. Run the uninstallation
Execute the command below.
The installation directory may remain after uninstallation. If it is not required, delete it.
# /opt/symfoserver64/setup/symfo_remove -S
In the example above, /opt/symfoserver64/setup is the name of the installation directory in which the server product is installed.
5. Check the results
The uninstaller result is output to the log file.
xxyz is the number part when the version is Vxx.y.z.
Path name: /var/log/symfoware_sv_64_xxyz.log
Path name: /var/log/symfoware_sv_32_xxyz nnnn.log
The following return values are output:
Return values | Meaning |
---|---|
0 | Uninstallation was successful. |
13 | Processing was interrupted. |
15 | The resources required for uninstallation do not exist. |
19 | A process is running. |
60 | An error occurred in Uninstall (middleware). |
62 | Uninstall (middleware) was started. |
63 | Uninstall (middleware) has not been installed, or there are no execution privileges. |
99 | A system error occurred. |
100 | The command argument is invalid. |
106 | The command was not executed with administrator privileges. |