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

Source: Internet
Author: User
**************************************** ******************************** * ************* Original work, this blog is from the "Deep Blue blog". You are welcome to repost it. Please indicate the source when you repost it. Otherwise, you will be held legally liable for copyright. An error occurred. Please leave a message or email (hyldba@163.com) indicates

**************************************** ******************************** * ************* Original work, this blog is from the "Deep Blue blog". You are welcome to repost it. Please indicate the source when you repost it. Otherwise, you will be held legally liable for copyright. An error occurred. Please leave a message or email (hyldba@163.com) indicates

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

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: <喎?http: www.2cto.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140922/2014092209242749.png" alt = "\">

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

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

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.