DBCA Error resolution when installing Oracle 9.2.0.4 on Redhat 9

Source: Internet
Author: User
Tags command line
oracle| Solution
How to install Oracle data on various versions of Linux has been a lot, and it's very detailed, supposedly just follow
Step by step, there should be no problem. I have also had Oracle 9.2.0.1 installed on Redhat 9, not appearing
Any questions. But I recently installed Oracle 9.2.0.4 on Redhat 9 (this version is Otn downloadable, 9.2.0.1
When the download link is gone, the following error occurred when you finally created the database using DBCA:


Click Finish, Pop-up Confirmation screen, click OK, at this time, should have entered the DBCA to create a database of the screen, DBCA but exit unexpectedly, commandline display text is:
/u01/oracle/product/9.2.0.4/bin/dbca:line 124:2542 killed
$JRE _dir/bin/jre-doracle_home= $OH-djdbc_protocol=thin-mx64m-classpath $CLASSPA
TH ORACLE.SYSMAN.ASSISTANTS.DBCA.DBCA $ARGUMENTS
(The blue part is the DBCA number, different machines are not the same)
I've tried it many times and this is the wrong one. But I once installed 9.2.0.1 on Redhat 9, without any
Question, it seems to be the 9.2.0.4 problem. I've been searching Google for an article on Fedora Core 1.
Install 9.2.0.4 article (http://www.oracle-base.com/articles/9i/Oracle9iInstallationOnFedora1.php)
, including:
Before a database instance can be created some the Oracle tools must is forced to look at a alternative JRE:

MV $ORACLE _home/jre $ORACLE _home/jre_origln-s/usr/java/jdk1.3.1_09/jre $ORACLE _home/jresu-rootln-s/usr/java/ Jdk1.3.1_09/jre/bin/java/usr/java/jdk1.3.1_09/jre/bin/jreln-s/usr/java/jdk1.3.1_09/jre/bin/i386/native_threads /java/usr/java/jdk1.3.1_09/jre/bin/i386/native_threads/jreexit
With this is done the DBCA can is started using DBCA from the command line.
The jdk1.3.1_09 is the author's request to download from the Sun website.
So it seems that the JRE version is wrong. The JRE commonly used by Oracle is 1.1.8 (really don't understand why)
To the $ORACLE _base/jre directory, ORACLE is found to have 1.3.1 version of the JRE
LS $ORACLE _base/jre
1.1.8/1.3.1/
Just use the 1.3.1 JRE. By looking at Dbac's script, my method of modification is as follows:
1. RM $ORACLE _home/jre (This JRE directory is a symbolic link to 1.1.8)
2. Ln-s $ORACLE _base/jre/1.3.1 $ORACLE _home/jre
3. CD $ORACLE _base/jre/1.3.1/bin
4. Ln-s $ORACLE _base/jre/1.3.1/bin/.java_wrapper JRE
(or: ln-s java JRE)
5. CD I386/native_threads
6. ln-s Java JRE

At this point, starting from the CommandLine DBCA, you can solve the above problems.

Feelings:
In fact, Oracle can do these things themselves, why should users to complete these boring things?


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.