Top
Symfoware Server V12.1.0  Installation and Setup Guide for Server
FUJITSU Software

5.1 Uninstallation in Interactive Mode

The example described here shows the procedure for uninstalling Symfoware Server Standard Edition 64-bit from your system.

The uninstallation procedure is described below.

Note

  • If performing operation with WebAdmin, back up the following file before uninstallation.
    Instances will not be recognized by WebAdmin even if Symfoware Server is reinstalled after uninstallation.
    If performing operation with WebAdmin after reinstalling Symfoware Server, replace the following backed up file after installation.

    installFolder\gui\data\gui-instance

    By replacing the above file in the installation folder after installation, the instance will be recognized by WebAdmin, and the recognized instance will be set to automatically start and stop.
    To disable the automatic start and stop setting for an instance, select the service for the applicable instance in the Windows services window, and in [Startup Type], select [Manual].

  • 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 using database multiplexing mode, refer to "Uninstalling in Database Multiplexing Mode in the Symfoware Server Cluster Operation Guide before performing the uninstallation.

See

Refer to the Installation and Setup Guide for Client when uninstalling the Symfoware Server client feature.

Information

If an error occurs while the product is being uninstalled, refer to "Appendix H Uninstall (middleware) Messages" and take the required action.

1. Stop applications and the client program

Before starting the uninstallation, stop the following:

2. Stop instances

Stop all instances that are using the product to be uninstalled.

Stopping of instances should be performed by the appropriate instance administrator.

When an instance was created with WebAdmin

In the [Monitor] window, click [Stop].

When an instance was created with the initdb command

Use the following procedure to stop a service:

  1. Display the [Services] window

    In Windows, select [Administrative Tools], and then click [Services].

  2. Stop the service

    Select the instance name that you wish to stop from the services list, and click [Stop Service]. If you stop a service while applications and commands are running, Symfoware Server will force those applications and commands to close and will stop normally.

You can also stop a service by specifying the service name in the net stop command or sc stop command.

3. Stop WebAdmin

If you are using WebAdmin, stop WebAdmin.

Refer to "E.1.3 Stopping the Web Server Feature of WebAdmin" for details.

4. Unregister Windows services

Perform this step if the instance was created with the initdb command.

Unregister the instance registered in Windows services.

Use the unregister mode of the pg_ctl command to specify the registered service name and unregister the instance from Windows services.

Example

The following is an example showing execution of this command on the registered service name "inst1".

> pg_ctl unregister -N inst1"

Note

You should unregister services before uninstalling Symfoware Server. If you uninstall Symfoware Server while services are running, several files will remain after the uninstallation.

If you have carried out the uninstallation without unregistering services beforehand, use the server command sc delete to unregister the services.

5. Delete registrations related to the event log

If you are outputting to the event log, a DLL registration mentioned in "4.2.5 Preparing for Output to the Event Log" has been performed.

To prevent unnecessary issues from occurring, you should delete this registration. Refer to "Server Administration", "Registering Event Log on Windows" in the PostgreSQL Documentation for details.

The following is an example showing deletion of the DLL registration for a 64-bit product under the default event source name.

regsvr32 /u "c:\Program Files\Fujitsu\symfoserver64\lib\pgevent.dll"
If using multiple instances

DLL registration is performed so that you can output messages corresponding to the event source name assigned by the user, allowing you to identify messages output to the event log by instance.

Since it is necessary to delete the DLL registration for each instance, delete the DLL registration by event source name.

The following is an example showing deletion of the DLL of a 64-bit product registered under the event source name "Symfoware Server inst1".

regsvr32 /u /i:"Symfoware Server inst1" "C:\Program Files\Fujitsu\symfoserver64\lib\pgevent.dll"

Note that this step is not required if the instance was created with WebAdmin.

If installing multiple versions

If the instances you created using this package have been set to output error logs to the event log, use the DLL path name that you took note of previously as explained in "4.2.5 Preparing for Output to the Event Log" to reregister the default event source name.

Note

Ensure to delete DLLs before the uninstallation. If you perform the uninstallation without doing so, you may not be able to delete the DLLs at a later time.

6. Start the Uninstall (middleware) tool

In Windows, click [All Programs] or [All apps], then [Fujitsu], and then [Uninstall (middleware)].

7. Select the software

Select the product to be uninstalled from [Software Name], and then click [Remove].

8. Start the uninstallation

Click [Uninstall].

9. Finish the uninstallation

The uninstallation completion window will be displayed. Click [Finish].

The installation folder may remain after uninstallation. If it is not required, delete it.

10. Stop the Uninstall (middleware) tool

Click [Close].