oracle 10g clusterware 在redhat as 5上的bug
root.sh時,到最後呼叫vipca時,出現以下錯誤
/home/oracle/10gR2/crs/jdk/jre/bin/java:error while loading shared libraries:libpthread.so.0:
cannot open shared object file:No such file or directory
這個問題在redhat as 4版本時不會出現,而且執行root.sh也正常
通過查metalink,確認是bug,需要把CRS打補丁升級到10.2.0.4才可以,後來通過打補丁後,呼叫vipca正常
以下是metalink414163.1的解釋
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: 10.2.0.1 to 10.2.0.3ITPUB個人空間-B5f3V&SDbC
Linux x86-64
_3PM%os]? vy119501Generic LinuxITPUB個人空間5t1Lc@8_
Intel Based Server LINUXITPUB個人空間Tob+Xy8Y)g
Symptoms
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 10.2.0.1. As these version of OS are newer, you should use the following command to invoke the installer:
+b7K'm!r'v2l119501
A"fbzT`K119501Issue#2: At end of root.sh on the last node vipca will fail to run with the following error:ITPUB個人空間Q\d4?O
ITPUB個人空間?m:\6r]h
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: libpthread.so.0: 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]:
Error 0(Native: listNetInterfaces:[3]) ITPUB個人空間7n6u;b5pn!A6v&\({D |
[Error 0(Native: listNetInterfaces:[3])]
Cause
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.
Solution
%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:
(C{%ytow?'GK#u119501thenITPUB個人空間)}Pc2l?)k.l{w
LD_ASSUME_KERNEL=2.4.19
og*d7BZdu119501 export LD_ASSUME_KERNEL
9^7RUKQJQ119501fiITPUB個人空間\@.y(Zd1u)H:|
ITPUB個人空間W5g$[1SN%eH
unset LD_ASSUME_KERNEL <<== Line to be added
ITPUB個人空間H3|S!wZ;`
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
U!X*[v-NmLU8u119501
4NA,g@XJe3x119501ITPUB個人空間"k)h @-b#f9[0Y
after applying the 10.2.0.2 or 10.2.0.3 patchsets, as these patchset will still include those settings unnecessary for OEL5 or RHEL5 or SLES10
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
ITPUB個人空間1D!oV|#e/NR-L
Toworkaround issue#3(vipca failing on non-routable VIP IP ranges, manually or during root.sh), 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):
h1suI ?,om ~u119501
eth0 192.168.1.0 global public ITPUB個人空間_/F6mx k @3_1M
eth1 10.10.10.0 global cluster_interconnect
ITPUB個人空間p:N3WB0ew,@
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:
eth0 192.168.1.0ITPUB個人空間4x]g#sJ yl
eth1 10.10.10.0
oKe}Z^ B!c119501
l uG Ku!ZL119501
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.
N$?'`2]:I3U:}|2B119501
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 root.sh. ITPUB個人空間a4zq M2z
ITPUB個人空間K:v [7A X5}&t+[6e
To verify the Clusterware resources are running correctly:
U&S$ypa1N)S,E119501
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
ora....ux1.vip 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 `M:o119501ora....ux2.vip application ONLINE ONLINE raclinux2
Theg0f119501
ITPUB個人空間-P1utMT
You may now proceed with the rest of the RAC installation.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/119501/viewspace-620576/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE RAC clusterwareOracle
- Oracle 10g 在linux redhat as4 系統安裝圖解全過程Oracle 10gLinuxRedhat圖解
- Oracle:Redhat 7 + Oracle RAC 11g 安裝 bug 總結OracleRedhat
- Oracle 21C Clusterware Technology StackOracle
- Split Brain in Oracle Clusterware and Real Application ClusterAIOracleAPP
- 10g sqlplus的一個bugSQL
- RedHat上靜默安裝Oracle11gRedhatOracle
- 在FC5上安裝oracle 9204Oracle
- oracle 10g在linux下的安裝及簡單命令Oracle 10gLinux
- 【Zabbix】使用dbforbbix 2.2-beta監控Redhat 7.0上的Oracle、MysqlORBRedhatOracleMySql
- oracle 10g flashback databaseOracle 10gDatabase
- Oracle 10g 下載地址Oracle 10g
- oracle 10G特性之awrOracle 10g
- Scheduler in Oracle Database 10g(轉)OracleDatabase
- RedHat Advance Server上安裝Oracle 9204 RAC參考手冊(轉)RedhatServerOracle
- oracle的一個bugOracle
- 驗證Oracle 10g線上整理碎片索引是否失效過程Oracle 10g索引
- ISO 映象安裝oracle 10gOracle 10g
- Oracle 10g RAC故障處理Oracle 10g
- Oracle 10g 增刪節點Oracle 10g
- 關於Oracle 10g ASM磁碟大小的限制Oracle 10gASM
- oracle 10g建立資料庫鏈的簡化Oracle 10g資料庫
- RedHat FC5安裝xmmsRedhat
- oracle10.1.0.4.0bugOracle
- forall在10g新功能
- Oracle OCP(34):環境準備(Redhat 7 + Oracle 12c)OracleRedhat
- oracle interval日期函式的bug!Oracle函式
- 這難道不是.NET5 的bug? 線上求錘?
- Oracle 10g expdp attach引數體驗Oracle 10g
- Oracle 10g(10.1.0.2)中的OPTIMIZER_INDEX_COST_ADJ(轉)Oracle 10gIndex
- Oracle 資料庫 10g中的分割槽功能(轉)Oracle資料庫
- redhat7.6安裝Oracle11G RACRedhatOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- 在Linux(Redhat/CentOS)下安裝MySQL之yum(rpm)線上安裝方式LinuxRedhatCentOSMySql
- windows2008R2安裝oracle 10gWindowsOracle 10g
- ORACLE9I升級到10G(zt)Oracle
- Oracle 10g RAC 資料儲存更換Oracle 10g
- oracle 10g函式大全–日期型函式Oracle 10g函式