Oracle 11g Server and client uninstall, install full process _oracle

Source: Internet
Author: User
The complete uninstall of Oracle 11g servers and clients has changed with previous versions:

first, prepare before unloading:
Start-> setup-> Control Panel-> admin Tools-> Service
Stop all Oracle Services.

second, batch processing uninstall:
Run H:\app\Administrator\product\11.2.0\dbhome_1\deinstall deinstall.bat batch file Uninstall, the whole code is as follows:
(client uninstall is similar to this, the screen process will be asked, all the way to return or y select default.) )
Checking for required files and bootstrapping ...
Please wait ...
14 files were copied
611 files were copied
1 files have been copied.
1 files have been copied.
Location of logs C:\users\admini~1\appdata\local\temp\oradeinstall Saturday -09-04_12-
13-55\logs\
############ ORACLE deinstall & deconfig TOOL START ############
######################## CHECK OPERATION START ########################

Install check configuration start
Check whether the Oracle home directory location exists H:\app\Administrator\product\11.2.0\dbhome_1
The Oracle home directory type selected for uninstall is: SIDB
The Oracle base directory selected for uninstall is: H:\app\Administrator
Check whether the main product manifest location exists C:\Program files\oracle\inventory
Installation Check configuration end

Check the start of Windows and. NET Product Configurations
The following Windows and. NET products will be removed from the Oracle home directory: Asp.net,ode.net,odp.net,ntoledb,oramts
Check the end of Windows and. NET Product Configurations

Network Configuration Check Configuration start
Network cancellation configuration trace file location: C:\users\admini~1\appdata\local\temp\oradeinstall Saturday -09-04_12-13-55\logs\netdc_ Check9099948279725757430.log
Network Configuration Check Configuration end

Database Check configuration start
Database Cancel configuration trace file location: C:\users\admini~1\appdata\local\temp\oradeinstall Week
Six -09-04_12-13-55\logs\databasedc_check1621612446029651947.log
Specify a list of values as input using commas as delimiters
Specifies the list of database names configured in this Oracle home directory [ORCL]:
###### for the database ' ORCL ' ######
Single Instance Database
Diagnostic target location of the database: H:\APP\ADMINISTRATOR\DIAG\RDBMS\ORCL
Storage type used by the database: FS
Database file Location: H:\app\administrator\oradata\orcl,h:\app\administrator\flash_rec
Overy_area\orcl
Quick Recovery Area Location: H:\app\Administrator\flash_recovery_area\ORCL
Database SPFile Location: H:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILE
ORCL. ORA
The detailed information for the database ORCL has been automatically searched. Do you still want to modify the details of the ORCL database? [n]: Y
###### for the database ' ORCL ' ######
Specify the type of this database (1. single-instance database to enable Oracle restart databases) [1]:
Specify the diagnostic target location for the database [H:\APP\ADMINISTRATOR\DIAG\RDBMS\ORCL]:
Specify Database asm| Type of storage used by FS [FS]:
If any of the database files exist on the shared file system, specify a list of directories. If we find the ' ORCL ' son,
Directory, the subdirectory will be deleted. Otherwise, the specified directory will be deleted. In addition, you can specify a database with a full path
List of files [h:\app\administrator\oradata\orcl,h:\app\administrator\flash_recover
Y_AREA\ORCL]:
If the quick recovery area is configured on the file system, specify its location. If the ' ORCL ' subdirectory is found, it is deleted
In addition to the subdirectory. [H:\app\Administrator\flash_recovery_area\ORCL]:
Specify the database spfile location [H:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SP
Fileorcl. ORA]:
Database Check configuration End

Enterprise Manager Configuration Assistant START
EMCA to remove configuration trace file location: C:\users\admini~1\appdata\local\temp\oradeinstall Saturday
-09-04_12-13-55\logs\emcadc_check.log

Check the configuration of the database ORCL
Enterprise Manager Configuration Assistant End
Oracle Configuration Manager Check START
OCM Check log file Location:c:\users\admini~1\appdata\local\temp\oradeinstall
Saturday -09-04_12-13-55\logs\\ocm_check7346.log
Oracle Configuration Manager Check End
######################### CHECK OPERATION End #########################
####################### CHECK OPERATION SUMMARY #######################
The Oracle home directory selected for uninstall is: H:\app\Administrator\product\11.2.0\dbhome_1
The Oracle home directory is registered to the product manifest location: C:\Program files\oracle\inventory
The following Windows and. NET products will be removed from the Oracle home directory: Asp.net,ode.net,odp.net,ntol
Edb,oramts
The following databases have been selected to cancel the configuration: ORCL
Database unique Name: ORCL
Used Storage: FS
The Enterprise Manager configuration will be updated for the following databases: ORCL
No Enterprise Manager ASM target to update
There is no Enterprise Manager listener target to migrate
Checking the config status for CCR
Oracle Home exists with CCR directory, but CCR are not configured
CCR check is finished
Do you want to continue (Y-yes, n-no)? [n]: Y
The log for this session will be written to: ' C:\users\admini~1\appdata\local\temp\oradeinstall Saturday-09-04
_12-13-55\logs\deinstall_deconfig2010-09-04_12-14-52-pm.out '
Any error messages for this session are written to: ' C:\users\admini~1\appdata\local\temp\oradeinstall
Saturday -09-04_12-13-55\logs\deinstall_deconfig2010-09-04_12-14-52-pm.err '
######################## Clean OPERATION START ########################
Enterprise Manager Configuration Assistant START
EMCA to remove configuration trace file location: C:\users\admini~1\appdata\local\temp\oradeinstall Saturday
-09-04_12-13-55\logs\emcadc_clean.log
Update database ORCL Enterprise Manager Database control configuration
Update Enterprise Manager ASM target (if any)
Update Enterprise Manager Listener target (if any)
Enterprise Manager Configuration Assistant End
Database Cancel configuration trace file location: C:\users\admini~1\appdata\local\temp\oradeinstall Week
Six -09-04_12-13-55\logs\databasedc_clean4524227538174628415.log

Database cleanup Configuration started ORCL
This operation may take several minutes to continue.
DOS prompts uninstall after the automatic exit, here Uninstall is almost successful, restart after the deletion of the installation directory can not delete the registry and so on.
If the registry does not clean up after the reboot, follow the complete uninstall method below to clean it up.

iii. Deletion of the registry and other
1, run regedit
Select Hkey_local_machine\software\oracle and press del to delete this entry.
Select HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, scroll through this list, and delete all Oracle portals.
Select Hkey_local_machine\system\currentcontrolset\services\eventlog\application to remove all Oracle portals.
2, start-> settings-> Control Panel-> System-> Advanced-> Environment variables:
Delete environment variables classpath and path-related settings for Oracle
3, from the desktop, startup (startup) Group, program menu, delete all the Oracle-related groups and icons.
4, delete \program Files\oracle Directory

Four, reinstall can be, note setting the server character set
Installation is relatively simple, always the next step can be.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.