首页 > Linux操作系统 > Linux操作系统 > oracle 10g clusterware 在redhat as 5上的bug

oracle 10g clusterware 在redhat as 5上的bug

原创 Linux操作系统 作者:wuhesheng 时间:2009-11-26 10:01:46 0 删除 编辑
安装oracle 10g  clusterware for redhat as 5,在第二个节点运行到


/home/oracle/10gR2/crs/jdk/jre/bin/java:error while loading shared

cannot open shared object file:No such file or directory

这个问题在redhat as 4版本时不会出现,而且运行root.sh也正常



10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 (VIPCA / SRVCTL / OUI Failures)
  文档 ID: 414163.1 类型: PROBLEM
  上次修订日期: 16-OCT-2008 状态: PUBLISHED

In this Document
(k{hwiV5^119501  Symptoms
6f(z#@?/nW*h q119501  Cause
G6l)e }a1Cu?119501  Solution
k aoD [1y'F119501  ReferencesITPUB个人空间BdZ W(n!K+z+E#KA Jx

Applies to:

Oracle Server - Enterprise Edition - Version: to个人空间-B5f3V&SDbC
Linux x86-64
_3PM%os]? vy119501Generic LinuxITPUB个人空间5t1Lc@8_
Intel Based Server LINUXITPUB个人空间Tob+Xy8Y)g


When installing 10gR2 RAC on Oracle Enterprise Linux 5 or RHEL5 or SLES10 there are three issues that users must be aware of.

Issue#1: To install 10gR2, you must first install the base release, which is As these version of OS are newer, you should use the following command to invoke the installer:

$ runInstaller -ignoreSysPrereqs        // This will bypass the OS check //

A"fbzT`K119501Issue#2:  At end of on the last node vipca will fail to run with the following error:ITPUB个人空间Q\d4?O

Oracle CRS stack installed and running under init(1M)ITPUB个人空间En"Z1f b
Running vipca(silent) for configuring nodeapps
6b4oGf9h$| GK119501/home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: error while loading
Azbs(z i0Y j6b4X$p#g119501shared libraries: cannot open shared object file:
Wl l~ nB JU119501No such file or directory 

Also, srvctl will show similar output if workaround below is not implemented.ITPUB个人空间{g~?w%NO0LF

Issue#3: After working around Issue#2 above, vipca will fail to run with the following error if the VIP IP's are in a non-routable range [10.x.x.x, 172.(16-31).x.x or 192.168.x.x]:

# vipcaITPUB个人空间MhO(c1F@p$f?6LO+Y
Error 0(Native: listNetInterfaces:[3]) ITPUB个人空间7n6u;b5pn!A6v&\({D |
[Error 0(Native: listNetInterfaces:[3])]


These releases of the Linux kernel fix an old bug in the Linux threading that Oracle worked around using LD_ASSUME_KERNEL settings in both vipca and srvctl, this workaround is no longer valid on OEL5 or RHEL5 or SLES10 hence the failures.


If you have not yet run on the last node, implement workaround for issue#2 below and run (you mayskip runningthe vipca portion at the bottom of this note). 
%vQ~.Eh119501If you have a non-routable IP range for VIPs you will also need workaround for issue# 3 and then run vipca manually.ITPUB个人空间_N+D EL'a?

Toworkaround Issue#2above, edit vipca (in the CRS bin directoryon all nodes) to undo the setting of LD_ASSUME_KERNEL. After the IF statement around line 120 add an unset command to ensure LD_ASSUME_KERNEL isnotset as follows:

if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
og*d7BZdu119501  export LD_ASSUME_KERNEL
unset LD_ASSUME_KERNEL         <<== Line to be added


Similarly for srvctl (inboththe CRS and, when installed, RDBMS and ASM bin directorieson all nodes), unset LD_ASSUME_KERNEL by adding one line, around line 168 should look like this:

M Etc!K!@-p)\(_119501export LD_ASSUME_KERNEL
\P8j$I y*z0xB119501ITPUB个人空间n&l/X)Ap4Q5~
unset LD_ASSUME_KERNEL          <<== Line to be added

Remember to re-edit these fileson all nodes:
/bin/srvctlITPUB个人空间bUO9b`@ y8B
4NA,g@XJe3x119501ITPUB个人空间"k)h @-b#f9[0Y
after applying the or patchsets, as these patchset will still include those settings unnecessary for OEL5 or RHEL5 or SLES10
.   This issue was raised with development and isfixed in the10.2.0.4 patchsets.

Note that we are explicitlyunsettingLD_ASSUME_KERNEL and not merely commenting out its setting to handle a case where the user has it set in their environment (login shell).ITPUB个人空间!v vdf+D l9p


Toworkaround issue#3(vipca failing on non-routable VIP IP ranges, manually or during, if you still have the OUI window open, click OK and it will create the "oifcfg" information, then cluvfy will fail due to vipca not completed successfully, skip below in this note and run vipca manually then return to the installer and cluvfy will succeed.  Otherwise you may configure the interfaces for RAC manually using the oifcfg command as root, like in the following example (from any node):

/bin # ./oifcfg setif -global eth0/ 
h1suI ?,om ~u119501/bin # ./oifcfg setif -global eth1/ ITPUB个人空间 } xu(m/F sP
/bin # ./oifcfg getif ITPUB个人空间2kl"c0Ev9A(?Wtv
 eth0 global public ITPUB个人空间_/F6mx k @3_1M
 eth1 global cluster_interconnect


The goal is to get the output of "oifcfg getif" to include both public and cluster_interconnect interfaces, of course you should exchange your own IP addresses and interface name from your environment. To get the proper IPs in your environment run this command:

/bin # ./oifcfg iflistITPUB个人空间v7Us$V,q
eth0个人空间4x]g#sJ yl

oKe}Z^ B!c119501
l uG Ku!ZL119501 

If you have not yet run on the last node, implement workaround for issue #2 above and run (you mayskip runningthe vipca portion below. If you have a non-routable IP range for VIPs you will also need workaround for issue# 3 above, and then run vipca manually.ITPUB个人空间:B9j P|2N&p

ITPUB个人空间i.@[:{VN3D S
Running VIPCA:
7[ \b!w.lod X119501ITPUB个人空间O&{XP ysY8H FH
After implementing the above workaround(s), you should be able invoke vipca (as root, fromlastnode) manually and configure the VIP IPs via the GUI interface.

/bin # export DISPLAY=ITPUB个人空间UG5}&eq `?}0JKF5^
/bin # ./vipca

Make sure the DISPLAY environment variable is set correctly and you can open X-clock or other X applications from that shell.ITPUB个人空间}cCOoR

Once vipca completes running, all the Clusterware resources (VIP, GSD, ONS) will be started,there is no need to re-run root.shsince vipca is thelaststep in ITPUB个人空间a4zq M2z

ITPUB个人空间K:v [7A X5}&t+[6e

To verify the Clusterware resources are running correctly:

/bin # ./crs_stat -tITPUB个人空间f/`%] X;D1{C
Name           Type        Target State  HostITPUB个人空间6ByQ{%vD
E4RZ-w7J!]119501ora....ux1.gsd application ONLINE ONLINE raclinux1ITPUB个人空间 F3Mt/JTqe:E+B
ora....ux1.ons application ONLINE ONLINE raclinux1ITPUB个人空间$a5Vp@n nC application ONLINE ONLINE raclinux1
wz:fx |9y(\q$`119501ora....ux2.gsd application ONLINE ONLINE raclinux2ITPUB个人空间J'["K]9e"Hx;mA
ora....ux2.ons application ONLINE ONLINE raclinux2
(Q2gQ ` application ONLINE ONLINE raclinux2

You may now proceed with the rest of the RAC installation.

来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录


  • 博文量
  • 访问量