Thursday, June 16, 2016

How to remove Oracle 11gR2 on windows 7


1. Unzip Deinstallation tool on your machine

2. Run CMD as Administrator

3. C:\omss\deinstall>deinstall -home c:\omss\product\11.2.0\dbhome_1
Location of logs C:\omss\deinstall\\logs\

############ ORACLE DEINSTALL & DECONFIG TOOL START ############


######################## CHECK OPERATION START ########################
Install check configuration START
The deinstall tool cannot determine the home type needed to deconfigure the selected home.  Please select the type of Oracle home you are trying to deinstall.
Single Instance database - Enter 1
Real Application Cluster database - Enter 2
Grid Infrastructure for a cluster - Enter 3
Grid Infrastructure for a stand-alone server - Enter 4
Client Oracle Home - Enter 5
Transparent Gateways Oracle Home - Enter 6
1


Checking for existence of the Oracle home location c:\omss\product\11.2.0\dbhome_1
Oracle Home type selected for de-install is: SIDB
Oracle Base selected for de-install is:
Checking for existence of central inventory location C:\Program Files\Oracle\Inventory

Install check configuration END

Checking Windows and .NET products configuration START


The following Windows and .NET products will be deconfigured from the Oracle home : null

Checking Windows and .NET products configuration END


Network Configuration check config START

Network de-configuration trace file location: C:\omss\deinstall\logs\netdc_check37094.log

Specify all Single Instance listeners that are to be de-configured [LISTENER]:

Network Configuration check config END

Database Check Configuration START

Database de-configuration trace file location: C:\omss\deinstall\logs\databasedc_check37095.log

Use comma as separator when specifying list of values as input

Specify the list of database names that are configured in this Oracle home [ORCL]:

###### For Database 'ORCL' ######

Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled Database) [1]:
Specify the diagnostic destination location of the database [c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl]:
The directory c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl does not exist.
Specify the diagnostic destination location of the database [c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl]:
The directory c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl does not exist.
Specify the diagnostic destination location of the database [c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl]:
The directory c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl does not exist.
Specify the diagnostic destination location of the database [c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl]:
The directory c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl does not exist.
Specify the diagnostic destination location of the database [c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl]:
The directory c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl does not exist.
Specify the diagnostic destination location of the database [c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl]:
The directory c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl does not exist.
Specify the diagnostic destination location of the database [c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl]:
The directory c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl does not exist.
Specify the diagnostic destination location of the database [c:\omss\product\11.2.0\dbhome_1\diag\rdbms\orcl]: C:\omss\diag
Specify the storage type used by the Database ASM|FS []: FS

Specify the list of directories if any database files exist on a shared file system. If 'ORCL' subdirectory is found, then it will be deleted. Otherwise, the specified directory will be deleted. Alter
natively, you can specify list of database files with full path [ ]:

Specify the flash recovery area location, if it is configured on the file system. If 'ORCL' subdirectory is found, then it will be deleted. []:

Specify the database spfile location [ ]: C:\omss\product\11.2.0\dbhome_1\database\myinit.ora

Database Check Configuration END

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: C:\omss\deinstall\\logs\emcadc_check.log

Checking configuration for database ORCL
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : C:\omss\deinstall\\logs\\ocm_check4882.log
Oracle Configuration Manager check END

######################### CHECK OPERATION END #########################


####################### CHECK OPERATION SUMMARY #######################
Oracle Home selected for de-install is: c:\omss\product\11.2.0\dbhome_1
Inventory Location where the Oracle home registered is: C:\Program Files\Oracle\Inventory
The following Windows and .NET products will be deconfigured from the Oracle home : null
Following Single Instance listener(s) will be de-configured: LISTENER
The following databases were selected for de-configuration : ORCL
Database unique name : ORCL
Storage used : FS
Will update the Enterprise Manager configuration for the following database(s): ORCL
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config status for CCR
Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
Do you want to continue (y - yes, n - no)? [n]: yes
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: 'C:\omss\deinstall\\logs\deinstall_deconfig2016-06-16_03-37-49-PM.out'
Any error messages from this session will be written to: 'C:\omss\deinstall\\logs\deinstall_deconfig2016-06-16_03-37-49-PM.err'

######################## CLEAN OPERATION START ########################

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: C:\omss\deinstall\\logs\emcadc_clean.log

Updating Enterprise Manager Database Control configuration for database ORCL
Updating Enterprise Manager ASM targets (if any)
Updating Enterprise Manager listener targets (if any)
Enterprise Manager Configuration Assistant END
Database de-configuration trace file location: C:\omss\deinstall\logs\databasedc_clean37096.log
Database Clean Configuration START ORCL
This operation may take few minutes.
Database Clean Configuration END ORCL

Network Configuration clean config START

Network de-configuration trace file location: C:\omss\deinstall\logs\netdc_clean37097.log

De-configuring Single Instance listener(s): LISTENER

De-configuring listener: LISTENER
    Stopping listener: LISTENER
    Listener stopped successfully.
    Deleting listener: LISTENER
    Listener deleted successfully.
Listener de-configured successfully.

De-configuring Listener configuration file...
Listener configuration file de-configured successfully.

De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.

De-configuring Local Net Service Names configuration file...
Local Net Service Names configuration file de-configured successfully.

De-configuring backup files...
Backup files de-configured successfully.

The network configuration has been cleaned up successfully.

Network Configuration clean config END

Oracle Configuration Manager clean START
OCM clean log file location : C:\omss\deinstall\\logs\\ocm_clean4882.log
Oracle Configuration Manager clean END
Removing Windows and .NET products configuration START


Removing Windows and .NET products configuration END
Oracle Universal Installer clean START

Removing service 'OracleMTSRecoveryService' on the local node : Done

Removing service 'OracleOraDb11g_home1ClrAgent' on the local node : Done

Removing service 'OracleOraDb11g_home1TNSListener' on the local node : Done

Delete directory 'c:\omss\product\11.2.0\dbhome_1' on the local node : Done

Removing oracle home 'c:\omss\product\11.2.0\dbhome_1' from PATH variable on the local node : Done

Delete directory 'C:\Program Files\Oracle\Inventory' on the local node : Done

Delete Registry key 'HKEY_LOCAL_MACHINE\Software\Oracle\inst_loc' on the local node : Done

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END


Oracle install clean START


Oracle install clean END

Moved default properties file C:\omss\deinstall\response\deinstall_noHomeName.rsp as C:\omss\deinstall\response\deinstall_noHomeName.rsp0

######################### CLEAN OPERATION END #########################


####################### CLEAN OPERATION SUMMARY #######################
Updated Enterprise Manager configuration for database ORCL
Successfully de-configured the following database instances : ORCL
Following Single Instance listener(s) were de-configured successfully: LISTENER
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
Successfully removed service 'OracleMTSRecoveryService' on the local node.
Successfully removed service 'OracleOraDb11g_home1ClrAgent' on the local node.
Successfully removed service 'OracleOraDb11g_home1TNSListener' on the local node.
Successfully deleted directory 'c:\omss\product\11.2.0\dbhome_1' on the local node.
Successfully removed oracle home 'c:\omss\product\11.2.0\dbhome_1' from PATH variable on the local node.
Successfully deleted directory 'C:\Program Files\Oracle\Inventory' on the local node.
Successfully deleted Registry key 'HKEY_LOCAL_MACHINE\Software\Oracle\inst_loc' on the local node.
Oracle Universal Installer cleanup was successful.

Oracle install successfully cleaned up the temporary directories.
#######################################################################


############# ORACLE DEINSTALL & DECONFIG TOOL END #############


C:\omss\deinstall>

No comments:

Post a Comment