rhel5.6安裝10g clusterware時,節點2執行root.sh報錯
[root@tpibpmdb02 oraInventory]# cd /u01/product/crs/
[root@tpibpmdb02 crs]# ll root.sh
-rwxr-xr-x 1 oracle dba 83 Nov 9 13:07 root.sh
[root@tpibpmdb02 crs]# ./root.sh
WARNING: directory '/u01/product' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/product' is not owned by root
WARNING: directory '/u01' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node
node 1: tpibpmdb01 plb2bcorepri01 tpibpmdb01
node 2: tpibpmdb02 plb2bcorepri02 tpibpmdb02
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 90 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
tpibpmdb01
tpibpmdb02
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
/u01/product/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
我們注意到後面到節點2上執行root.sh時有一個報錯。
Running vipca(silent) for configuring nodeapps
/u01/product/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
這是Oracle的一個Bug(Bug號:3937317)。我們來修復這個錯誤。
在2節點上修改/u01/product/crs/bin/vipca檔案。找到LD_ASSUME_KERNEL=2.4.19位置,在fi後增加一行(下圖中紅色部分).
[root@tpibpmdb01 crs]# vi /u01/product/crs/bin/vipca
#Remove this workaround when the bug 3937317 is fixed
arch=`uname -m`
if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
then
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
fi
unset LD_ASSUME_KERNEL
#End workaround
再次在節點2上執行root.sh。
[root@tpibpmdb01 crs]# ./root.sh
WARNING: directory '/u01/product' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Oracle CRS stack is already configured and will be running under init(1M)
Running vipca(silent) for configuring nodeapps
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]
以下動作在節點2上執行。
Root使用者下:
在CRS_HOME下 執行 oifcfg 命令
#./oifcfg iflist
bond0 10.12.16.0
bond1 10.12.18.0
# ./oifcfg setif -global bond0/10.12.16.0:public
# ./oifcfg setif -global bond1/10.12.18.0:cluster_interconnect
# ./oifcfg getif
bond0 10.12.16.0 global public
bond1 10.12.16.0 global cluster_interconnect
遇到錯誤Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]時,按照上圖中方法修復即可。
確認一下總結資訊,沒有問題的話,就可以點選Finish開始配置了。
配置完成後,點選OK會有一個Configration Results出來。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25465866/viewspace-1341791/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- OEL6.8上安裝11.2.0.2執行root.sh報錯
- 在Suse 12.4上安裝11.2.0.4的rac執行root.sh報錯“ORA-12547: TNS:lost contact”
- 2節點RAC安裝
- 網路原因導致rac安裝過程中節點2跑root.sh失敗
- windows下安裝python3.6.4完成,執行報錯WindowsPython
- yii執行phpunit時報錯PHP
- 使用 Composer 安裝 Laravel 時報錯Laravel
- 靜默安裝oracle時報錯Oracle
- laravel11: 安裝時報錯Laravel
- Oracle Restart 單例項執行root.sh報錯roothas.pl line 377【轉載】OracleREST單例
- selenium-grid 有多個節點,但 pytest.main 批次執行用例,每次只有一個節點執行用例,不能同時多個節點執行,要怎樣才能多個節點同時執行AI
- linux 安裝dotnet 8.0執行時Linux
- windows2008R2安裝oracle 10gWindowsOracle 10g
- Oracle 10g 增刪節點Oracle 10g
- 安裝Docker Desktop報錯WSL 2 installation is incompleteDocker
- 多節點ipfs安裝
- greenplum單節點安裝
- SQL server開啟 安裝包時報錯SQLServer
- pb安裝多個版本時候,執行pbw時會報 Attempt to open datawindow failedAI
- Oracle RAC重新執行root.sh指令碼Oracle指令碼
- 安裝heapster報錯
- 安裝VUE報錯Vue
- 12c rac在安裝grid軟體執行root.sh指令碼的時候出現PRCT-1431,CLSRSC-180指令碼
- vertica單節點安裝教程
- 安裝FreeIPA以及應用時報錯彙總
- 誰遇到過執行 monkey 的時候報 filenotfound 的報錯
- DBeaver同時執行多條insert into報錯處理
- 執行用例報錯
- freeipa server安裝報錯Server
- Linux安裝virtualenvwrapper報錯LinuxAPP
- snipMate安裝後報錯
- CDC linux安裝報錯Linux
- pip 安裝 grpcio 報錯RPC
- 如何執行一個 Conflux 節點UX
- ISO 映象安裝oracle 10gOracle 10g
- [重慶思莊每日技術分享]-安裝19c grid時執行指令碼報CRS-1705錯誤指令碼
- 2.Metabase的快速安裝、啟動與執行
- K3S新增節點報錯
- linux下安裝redis 單節點安裝操作步驟LinuxRedis