在Linux操作系统下,安装GI 12.1 或者升级到GI 12.1时遇到的问题

摘自:
ALERT: On Linux, When Installing or Upgrading GI to 12.1.0.2, the Root Script on Remote Nodes May Fail with "error while loading shared libraries" Messages (Doc ID 2032832.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Linux x86-64

DESCRIPTION

The installation of or upgrade to 12.1.0.2 Grid Infrastructure (GI) completes and OUI asks to run the root script (root.sh or rootupgrade.sh).

The root script (root.sh or rootupgrade.sh) completes successfully on the first node, but the root script fails on one or more of remote nodes.

The Rapid Trans is introduced in 12.1.0.2 to improve the file transfer to remote nodes during installation of Grid Infrastructure (GI),

but on Linux, due to Bug 21300410, the files in the bin and lib directories may not get copied.

OCCURRENCE

This only affects the installation of or upgrade to 12.1.0.2 Grid Infrastructure (GI) on Linux.

On a platform other than Linux, this problem does NOT occur.

SYMPTOMS

Symptom 1: The root script fails with the following output:

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /oracle/product/grid/12.1.0.2/crs/install/crsconfig_params
/oracle/product/grid/12.1.0.2/bin/sqlplus -V ... failed rc=127 with message:
/oracle/product/grid/12.1.0.2/bin/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory


Died at /oracle/product/grid/12.1.0.2/crs/install/crsutils.pm line 3740

 Symptom 2: The root script fails on remote nodes and bin and lib have different number of files.

The GI_HOME/lib and GI_HOME/bin on a remote node have different number of files than those of the first node where OUI (runInstaller) is run.

For example,
"ls -l GI_HOME/lib | wc -l" command shows 274 files on the first node and 28 files on the second node.

[Node1]$ ls -ltr /opt/grid/12.1/lib |wc -l
274

[Node2]$ ls -ltr /opt/grid/12.1/lib |wc -l
28

 

WORKAROUND

Before starting runInstaller when installing of or upgrading to 12.1.0.2 Grid Infrastructure (GI), set SRVM_USE_RACTRANS to true.

On ksh or bsh, issue "export SRVM_USE_RACTRANS=true"

On csh, issue "setenv SRVM_USE_RACTRANS true"

After SRVM_USE_RACTRANS is set to true, execute runInstaller to start the installation or upgrade.

Also, as a best practice to avoid other known issues, refer to "How to Upgrade to/Downgrade from Grid Infrastructure 12c and Known Issues (Document 1579762.1)"

 

If the installation or upgrade is already started and the root.sh or rootupgrade.sh failed on a remote node,

refer to the "Grid Infrastructure root script (root.sh etc) fails as remote node missing binaries (Document 1991928.1)"

 

PATCHES

No patch is available because runInstaller cannot be patched.  To run opatch to apply a patch, runInstaller must be run to install the binaries, so patching runInstaller does not resolve the problem.

Therefore, to avoid this problem, the above workaround must be implemented before starting runInstaller.

HISTORY

16-JUL-2015  The alert is created

23-JUL-2015  The alert is published

REFERENCES

NOTE:1579762.1  - How to Upgrade to/Downgrade from Grid Infrastructure 12c and Known Issues
NOTE:1991928.1  - Grid Infrastructure root script (root.sh etc) fails as remote node missing binaries
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值