Uninstall and install the Oracle 11g server and client

Source: Internet
Author: User

The methods for uninstalling the Oracle 11g server and client and installing the Oracle 11g server and client have changed with those of the previous versions: 1. Preparations before uninstalling: choose "start"> "Settings"> "Control Panel"> "Administrative Tools"> "services" to stop all Oracle services. Ii. Batch unmount: Run deinstall of H: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ deinstall. the code for uninstalling a bat batch file is as follows: (when the client uninstalls the file, you will be asked during the screen process. Press ENTER or y to select the default one .) Checking for required files and bootstrapping... Please wait... 14 files have been copied. 611 files have been copied and 1 file has been copied. 1 file has 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 and check the configuration to check whether the Oracle main directory exists. H: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 select the Oracle main directory type for uninstallation: SIDB select the Oracle base directory for uninstallation: H: \ app \ Administrator check whether the main product list is in C: \ Program Files \ Oracle \ Inventory Installation check configuration end check Windows And.. NET Product Configuration starts the following Windows and. NET will be removed from the Oracle main directory configuration: asp.net, ode.net, odp.net, ntoledb, oramts check Windows and. NET Product Configuration end network configuration Check Configuration start network cancel configuration tracking 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 Saturday-09-04_12-13-55 \ logs \ databasedc_check1621612446029651947.log specifies the list of database names configured in the Oracle Home directory using commas as separators as input [ORCL]: ###### database 'orcl' ##### target location for diagnosis of a single-instance Database: H: \ APP \ ADMINISTRATOR \ diag \ rdbms \ orcl the storage type used by the database: FS database file location: H: \ APP \ ADMINISTRATOR \ ORADATA \ ORCL, H: \ APP \ ADMINISTRATOR \ FLASH_RECOVERY_AREA \ ORCL quick recovery location: H: \ app \ Administrator \ flash_recovery_area \ ORCL database spfile location: H: \ APP \ ADMINISTRATOR \ PRODUCT \ 11.2.0 \ DBHOME_1 \ DATABASE \ SPFILEORCL. ORA the details of the database orcl are automatically found. Do you still want to modify the details of the ORCL database? [N]: y ###### for the database 'orcl' ###### specify this database (1. single-instance database | 2. type of the database that enables Oracle Restart. [1]: Specifies the diagnosis target location of the database. [H: \ APP \ ADMINISTRATOR \ diag \ rdbms \ orcl]: specify the storage type used by the database ASM | FS [FS]: If any database file exists in the shared file system, specify the directory list. If the 'orcl 'subdirectory is found, the subdirectory is deleted. Otherwise, the specified directory will be deleted. In addition, you can specify the list of database files with the complete path [H: \ APP \ ADMINISTRATOR \ ORADATA \ ORCL, H: \ APP \ ADMINISTRATOR \ FLASH_RECOVERY_AREA \ ORCL]: if you have configured a fast recovery area on the file system, specify its location. If the 'orcl 'subdirectory is found, the subdirectory is deleted. [H: \ app \ Administrator \ flash_recovery_area \ ORCL]: Specifies the spfile location of the DATABASE [H: \ APP \ ADMINISTRATOR \ PRODUCT \ 11.2.0 \ DBHOME_1 \ DATABASE \ SPFILEORCL. ORA]: database check Configuration complete Enterprise Manager Configuration Assistant start emca cancel 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 ENDOracle Configuration Manager check STARTOCM check log file location: C: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ OraDeinstall Saturday-09-04_12-13-55 \ logs \ ocm_check7346.logOracle Configuration Manager check END ################### ###### check operation end ############################### ################# check operation summary #################### ### select the Oracle Home Directory for uninstallation as follows: h: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1Oracle the product list registered in the main directory is located in Windows and below: C: \ Program Files \ Oracle \ Inventory. NET products will be Unconfigure the racle main directory: asp.net, ode.net, odp.net, ntoledb, and oramts have selected the following database to cancel configuration: ORCL database unique name: ORCL Used storage: FS will update the Enterprise Manager configuration for the following databases: ORCL does not have the Enterprise Manager ASM target to be updated and does not have the Enterprise Manager listener target to be transplanted Checking the config status for CCROracle Home exists with Cr directory, but CCR is not configuredCCR check is finished continue (y-Yes, n-No )? [N]: y logs of 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 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.err '####################### # clean operation start ###################### Enterprise Manager Configuration Assistant start emca cancel Configuration tracking file location: c: \ Users \ ADMINI ~ 1 \ AppData \ Local \ Temp \ OraDeinstall Saturday-09-04_12-13-55 \ logs \ emcadc_clean.log update Enterprise Manager Database Control of Database ORCL update Enterprise Manager ASM target (if any) update the 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 Saturday-09-04_12-13-55 \ logs \ databasedc_clean4524227538174628415.log database cleanup configuration starts ORCL this operation may take several minutes. After the DOS prompts that the system will automatically exit after the uninstallation is completed, the uninstallation will be almost successful. After the restart, you can delete the installation directory without deleting the registry. If the registry is not cleaned after the restart, follow the steps below to completely uninstall it. 3. Delete the Registry and other 1. Run regedit and select HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE. Press del to delete the entry. Select HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services to scroll through the list and delete all Oracle entries. Select HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application to delete all Oracle entries. 2. Start-> Settings-> Control Panel-> system-> advanced-> environment variables: delete Oracle settings in the environment variables CLASSPATH and PATH. 3, delete all groups and icons related to Oracle from the desktop, STARTUP group, and program menu. 4. Delete \ Program Files \ Oracle directory 4. reinstall the server. Set the server character set. The installation process is simple and you can proceed to the next step.

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.