2009年3月10日星期二

EBSr12 安装时RW-50004 错误的解决办法

注意一般产生这个错误有两个原因
1
java 环境变量设置的问题
如下
建立LINKln -s jdk /usr/java/jdk1.5.0_10
/etc/profile增加以下变量:
export JAVA_HOME="/usr/jdk"
export CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib:.
export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
在用户applvis/oravis目录下的.bash_profile中添加如下变量说明
PATH=$PATH:$HOME/bin:/usr/java/jdk1.5.0_10/bin:/usr/java/jdk1.5.0_10/jre/bin
export PATH
我的错误造成的原因是安装了jdk1.5.0_15但是按上述设置操作。(上面的1.5.0_10改为1.5.0_15就可以解决这个问题了)
造成了RW-50004错误
2
是对安装目录是否具有完全控制的权限。
如果没有也会产生这个错误。
附件儿为metalink的解决办法,不过是针对64位版本的

Metalink解决办法

Subject:

Getting RW-50010 and RW-50004 Errors When Installing Oracle Applications Release 12.0 on Linux 64-bit

Doc ID:

468695.1

Type:

PROBLEM

Modified Date:

13-JUN-2008

Status:

MODERATED

In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

Applies to:

Application Install - Version: 12.0
Linux x86-64

Symptoms

Getting the following error when trying to install Oracle Applications Release 12.0 on a 64-bit Linux platform:

RW-50010: Error: - script has returned an error: 127
RW-50004: Error code received when running external process. Check log file for details.

Cause

The install script uses JRE from the /tmp/RapidInstall/jre/Linux/ location

This issue only occurs if running rapidwiz from a startCD outside the stage area or if installing directly from the install DVDs. This has been raised with Oracle Development in Bug 7169043

Solution

Make sure all setup steps were completed based on the following note:

Note 416305.1 - Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (64-bit)

Until Bug 7169043 is resolved, use the following workaround.

Workaround

- Create the following directory if not present:

mkdir /tmp/RapidInstall/jre/Linux

- Copy the contents of /tmp/RapidInstall/jre/Linux_x64 to this directory:

cp -r /tmp/RapidInstall/jre/Linux_x64 /tmp/RapidInstall/jre/Linux



Alternatively, stage the entire DVD media using adautostg.pl, and install from the startCD within the stage area

References

Note 416305.1 - Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Linux (64-bit)
Bug 7169043 - NON-STAGED R12 INSTALL FAILS FOR LINUX_X64 ON ADRUN10G.SH, ADRUNIAS.SH ETC



Help us improve our service. Please email us your comments for this document. .

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

Applies to:

Application Install - Version: 12.0.4
This problem can occur on any platform.

Symptoms

On R12 in Test env :
When attempting to Fresh install the R12 using the lastest Rapidwiz version 12.0.4.7, the
following error occurs.

ERROR

Statusstring Registering Applications Technology Stack

Executing command: /u050/stage/ebus/StageR12/startCD/D
isk1/rapidwiz/jre/Solaris/1.5.0//bin/java -DCONTEXT_VALIDATED=true -mx512M -cla
sspath /u050/stage/ebus/StageR12/startCD/Disk1/rapidwiz/jlib/java:/u050/stage/eb
us/StageR12/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/u050/stage/ebus/StageR1
2/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/u050/stage/ebus/StageR12/startCD/Disk
1/rapidwiz/jlib/oui/OraInstaller.jar:/u050/stage/ebus/StageR12/startCD/Disk1/rap
idwiz/jlib/oui/ewt3.jar:/u050/stage/ebus/StageR12/startCD/Disk1/rapidwiz/jlib/ou
i/share.jar:/u050/stage/ebus/StageR12/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar o
racle.apps.ad.clone.ApplyAppsTechStack -e /u036/oracle/UATE/inst/apps/UATE_dev1z
one5/appl/admin/UATE_dev1zone5.xml -stage /u050/stage/ebus/StageR12/startCD/Disk
1/rapidwiz -showProgress -phase reg

RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file
for details.
Running APPL_TOP Install Driver for UATE instance
Please refer to the remaining logs on applications node at -
/u036/oracle/UATE/inst/apps/UATE_dev1zone5/logs/06170857.log

Processing DriverFile = /u050/stage/ebus/St

Cause

The newer Rapidwiz version 12.0.4.7 or 12.0.4.8 looks corrupted.

This cause is outlined in the following bug :

Bug 7138936 10.2.0.3 INSTALL 12.0.4
Abstract: RAPID INSTALL 12.0.4.7 FAILING WITH RW-50004

PROBLEM STATEMENT:
------------------
Attempting to install eBiz R12.0.4 using the latest Rapid Install wizard
12.0.4.7(supplied by The Patch 6796703) but it is failing with the error:
.
RW-50004: Error code received when running external process.

Solution

To implement the solution, please execute the following steps:

1) Make sure that the user who is executing Rapidwiz has write permission on the OraInventory.

Check if you are not in the scenario for this Bug 7138936 , NOT A BUG.

Please find the extract of the bug :

a- The owner of the installation is "ora1" user.

more /var/opt/oracle/oraInst.loc

shows :
inventory_loc=/test/oracle/ora3/home/oraInventory
install_group=dba

The owner of that inventory location is "ora3", but "ora1" user cannot write on that directory...

$ id
uid=100417(ora1) gid=101(dba)
$ pwd
/test/oracle/ora3/home/oraInventory/logs

$ touch test
touch: test cannot create

Fix:

a- As "ora3" user, do : chmod 777 /test/oracle/ora3/home/oraInventory

b- As "ora1", cd /test/oracle/ora3/home/oraInventory/logs, touch test

Dev's explanation :

===========

When there is a failure on the OH registration, the rest of actions don't
take place (ex relink, sym link recreation, library generation, etc).
This issue was caused by an incorrect registration.

2) If this bug 7138936 above is not relevant to your situation, to fix, please use the workaround below :


1. Rename this startCD(rapidwiz12.0.4.7) direcrtory to startCD12047


and download, unzip the working "startCD Rapidwiz version 12.0.4.6"

Nb: At the time of this note was written, this Rapidwiz version 12.0.4.6 Patch 6502109 was available

on Metalink.

2. Clean up the previous failed installation :

Use Note 110372.1 - 11i: How to Clean up the UNIX Environment After Install Fails


3 Restat the R12.0.4 installtion using startCD Rapidwiz version 12.0.4.6.

没有评论: