oracle 10.2.0.1 For Centos 5.2安裝報錯WARNING Error while copying directory u01appcrsinventory

在Centos5.2 下安裝與配置Oracle10g環境時,遇到如下類似報錯頁面。

搜索MOS文章:

AIX: PRKC-1073 : Failed to Transfer Directory “/u01/app/crs/inventory” to Any of the Given Nodes (文檔 ID 1314406.1)

解決方法:

1. 在rac所有節點上執行以下命令

chmod -R u+w /opt/app/oracle/product/10.2.0/crs_1/inventory/Templates/*

2. 在rac的主節點上,也就是執行安裝的節點上執行以下命令

(cd /opt/app/oracle/product/10.2.0/crs_1/inventory && /usr/bin/find ./* -depth -print | /bin/cpio -oacEignore)|/usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 rac2 “(cd /opt/app/oracle/product/10.2.0/crs_1/inventory &&/bin/cpio -idmuc)”

IX: PRKC-1073 : Failed to Transfer Directory “/u01/app/crs/inventory” to Any of the Given Nodes (文檔 ID 1314406.1)    轉到底部

In this Document

Symptoms

Cause

Solution

References

APPLIES TO:

Oracle Server – Enterprise Edition – Version: 10.2.0.4 to 10.2.0.5 – Release: 10.2 to 10.2

IBM AIX on POWER Systems (64-bit)

SYMPTOMS

When applying patchset 10.2.0.x on top of CRS 10.2.0.1, the following error message is in installAction*.log

WARNING: Error while copying directory /u01/app/crs/inventory with exclude file list ‘/tmp/OraInstall2011-03-23_10-40-10AM/installExcludeFile.lst’ to nodes ‘racdb2’. [PRKC-1073 : Failed to transfer directory “/u01/app/crs/inventory” to any of the given nodes “racdb2 “.

Error on node racdb2:null]

As per SRVM traces, the following command failed:

(cd /u01/crs/oracle/product/10.2.0/crs/inventory && /usr/bin/find ./* -depth -print | /bin/cpio -oacEignore)|/usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 coredb2 “(cd /u01/crs/oracle/product/10.2.0/crs/inventory &&/bin/cpio -idmuc)”

The error message:

[Thread-96] [6:5:7:409] [StreamReader.run:65] ERROR>cpio: 0511-007 Cannot create Templates/install/rootupgrade; errno is 13.

CAUSE

Write permission is missing on some files created by base release 10.2.0.1:

<crs_home>/inventory/Templates/install/root*

This issue is described in unpublished bug 8555018 which is duplicate of unpublished bug 6727474.

This problem only applies to patchset 10.2.0.4 and 10.2.0.5 on AIX.

SOLUTION

1.Install CRS 10.2.0.1

2.Execute the following command on ALL remote nodes:

$ chmod -R u+w <CRS_HOME>/inventory/Templates/*

3.Apply patchset 10.2.0.4/10.2.0.5

If you had patchset already installed, please manually transfer these files as following. Replace <CRS_HOME> and <node_name> with actual value.

— on all remote nodes

$ chmod -R u+w <CRS_HOME>/inventory/Templates/*

— on local node

$ (cd <CRS_HOME>/inventory && /usr/bin/find ./* -depth -print | /bin/cpio -oacEignore)|/usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 <node_name> “(cd <CRS_HOME>/inventory &&/bin/cpio -idmuc)”

for example:

(cd /u01/crs/oracle/product/10.2.0/crs/inventory && /usr/bin/find ./* -depth -print | /bin/cpio -oacEignore)|/usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 coredb2 “(cd /u01/crs/oracle/product/10.2.0/crs/inventory &&/bin/cpio -idmuc)”

實際的修改命令是:

chmod -R u+w /opt/ora10g/product/10.2.0/crs_1/inventory/Templates/*

(cd /opt/ora10g/product/10.2.0/crs_1/inventory && /usr/bin/find ./* -depth -print | /bin/cpio -oacEignore)|/usr/bin/ssh -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -o NumberOfPasswordPrompts=0 rac02 “(cd /opt/ora10g/product/10.2.0/crs_1/inventory &&/bin/cpio -idmuc)”

在oracle用戶終端符下直接執行以上命令。

以下文章點擊率最高

Loading…

     

如果這文章對你有幫助,請掃左上角微信支付-支付寶,給於打賞,以助博客運營

發表評論

您的電子郵箱地址不會被公開。 必填項已用*標註