How to uninstall the "hidden oracle" software installed after an error is reported, and the hidden oracle

Source: Internet
Author: User

How to uninstall the "hidden oracle" software installed after an error is reported, and the hidden oracle

**************************************** ******************************** **************

Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.

Please leave a message or email (hyldba@163.com) indicating that there is an error. Thank you very much.

This article reprint must be kept here: http://blog.csdn.net/huangyanlong/article/details/39436195

Deep Blue blog:Http://blog.csdn.net/huangyanlong

**************************************** **************************************** *******************

[Description]

When installing oracle software, beginners often lack some packages before installation, so some "errors" will be prompted during the installation process, and sometimes ignore these errors, the installation of oracle software will be completed, but such a database may leak problems at some point in the future. Therefore, if an error is reported, we recommend that you, after the installation is stopped or the installation is complete, uninstall it. If an error is found, it is a proper solution to reinstall the oracle software.

Today, for example, an error is reported during installation because a 32-bit installation package is missing, but the installation is ignored. The installation is completed (only the installation of the oracle software is completed and no database creation is completed, this also shows that the advantage of separating oracle software from dbca database creation lies in the fact that troubleshooting can be performed in a timely manner to avoid wasting too much time on useless operations ). The cause is found, so you can uninstall the oracle software before creating the database in dbca. The method is as follows:

[Example]

Environment: CentOS 6.2

Database: Oracle 10.2.0.1

Objective: To uninstall and reinstall the incomplete Oracle software because the required package is missing during Oracle software installation.

Start Operation:

[Oracle @ hyl/] $ cd $ ORACLE_HOME

[Oracle @ hyl db_1] $ ls

assistants   css          install           jre    network  oracore      precomp      sqlj     tg4terabin          ctx          install.platform  ldap   nls      oraInst.loc  racg         sqlplus  uixcdata        dbs          inventory         lib    oc4j     ord          rdbms        srvm     wwgcfgtoollogs  demo         javavm            lib32  odbc     oui          relnotes     sysman   xdkclone        diagnostics  jdbc              md     olap     owm          root.sh      tg4ifmxconfig       has          jdk               mesg   OPatch   perl         root.sh.old  tg4ingrcrs          hs           jlib              mgw    opmn     plsql        slax         tg4sybs

[Oracle @ hyl db_1] $ cd oui

[Oracle @ hyl oui] $ ls

Bin clusterparam. ini guide instImages jlib lib oraparam. ini ouica. properties

[Oracle @ hyl oui] $ cd bin

[Oracle @ hyl bin] $ ls

AddLangs. sh addNode. sh lsnodes ouica. sh resource runConfig. sh runInstaller. sh

Enter the graphical interface, such:

Select the directory to be uninstalled. We recommend that you check all three levels of directories to ensure full uninstallation, as shown below:

After selecting a directory, click "Remove", as shown in:

Click "yes" to continue, as shown in:

Start detaching, as shown in:

After the uninstallation is complete, exit, as shown in:

Go to the oracle product directory and delete the directory as follows:

(In this example, oracle is installed in/u01/app/oracle, and the actual path is the main one)

[oracle@hyl oracle]$ cd /u01/app/oracle[oracle@hyl oracle]$ lsoraInventory  product[oracle@hyl oracle]$ rm -rf product[oracle@hyl oracle]$ lsoraInventory

Now, the Oracle software has been uninstalled, And you can reinstall it.

**************************************** ******************************** **************

Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.

Please leave a message or email (hyldba@163.com) indicating that there is an error. Thank you very much.

This article reprint must be kept here: http://blog.csdn.net/huangyanlong/article/details/39436195

Deep Blue blog:Http://blog.csdn.net/huangyanlong

**************************************** **************************************** *******************


How to completely delete ORCL when an error is reported during uninstallation

1. Stop all ORACLE-related services.
2. Use OUI (Oracle Universal Installer) to uninstall Oracle software.
"START"-> "Program"-> "Oracle-OraDb110g_home1 | Oracle installation product | Universal installer.

3. Delete the Registry content.

Run the regedit command to delete the following content:

A. HKEY_CLASSES_ROOT: delete all keys prefixed with Ora, Oracle, Orcl, and EnumOra;

B. LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services: deletes keys prefixed with Oracle or OraWeb;

C. HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE registry key. Delete this key;

D. HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services: delete all oracle-headed keys under the Services Key;

E. HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ services \ Delete All oracle services by pressing del;

F. HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ services \ Delete All oracle services by pressing del;

G. HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet003 \ services \ Delete All oracle services by pressing del;

H. HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet \ services \ Delete All oracle services by pressing del;

I. HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \

Application, delete all oracle-headed keys under this key;

J. HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ MenuOrder \ Start Menu \ Programs, delete all oracle-dominated keys under this key;

K. HKEY_LOCAL_MACHINE \ SOFTWARE \ ODBC \ ODBCINST. INI registry key, which deletes all key values other than the Microsoft odbc for oracle registry key with the Oracle keyword.

4. Delete environment variables.

Delete the Oracle values in the environment variables CLASSPATH and PATH.

"My Computer"-> "properties"-> "advanced"-> "environment variables ".

5. Delete ORACLE-related files and directories in the file system:

A. Delete the system drive letter: delete Oracle-related directories under \ Progrm Files on drive C; Delete ORACLE-related directories under the root directory of drive C.

B. delete a WINNT folder under drive C, including ORACLEM73.INI and ORACLE 80. INI;

D. Find WIN... the remaining full text>

An error is reported when oracle is uninstalled and oracle10 is re-installed.

After oracle is uninstalled and reinstalled, many strange problems may occur.
We recommend that you uninstall it. Unmount in depth with 360,
Also, the Registry must be cleaned up to eliminate all keywords containing oracle.

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.