root.sh / vipca: error while loading shared libraries: libpth read.so.
Oracle10g RAC: Oracle 10.2.0.4 , Linux AS 5.3 64bit
安裝Oracle Clusterware 10.2.0.1 的時候,在最後一個節點執行root.sh 的時候,可能我們會收到下面的錯誤提示:
Running vipca(silent) for configuring nodeapps
/u01/product/crs/jdk/jre//bin/java: error while loading shared libraries: libpth read.so.0: cannot open shared object file: No such file or directory .
那麼我們需要在每個節點上執行修復動作。 需要修改 $ORACLE_BASE/crs/bin/vipca 檔案,找到Remove這一行,在其中的fi 後面加入一行 unset LD_ASSUME_KERNEL , 遮蔽掉 LD_ASSUME_KERNEL 設定 。
Remove this workaround when the bug 3937317 is fixed
arch=`uname -m`
if [ "$arch" = "i686" -o "$arch" = "ia64" ]
then
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
fi
#End workaround
儲存,
同樣修改 # vi /u01/product/crs/bin/srvctl , 不然後面執行srvctl 可能會報錯。
找到Remove 這一段的如下內容:
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
同樣在其後新增一行:
unset LD_ASSUME_KERNEL
儲存退出,在出現錯誤的節點再次執行 root.sh,
可以看到 # sh root.sh
WARNING: directory '/u01/product' is not owned by root
WARNING: .....
Oracle CRS stack is already configured and will be running under init(1M)
在任何一個節點執行 vipca
我們在節點1上執行 /u01/product/crs/bin/vipca
# sh vipca
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]
如果報以上錯誤,需要執行以下步驟修復:
[root@rac02 bin]# ./oifcfg iflist
eth0 10.161.24.0
eth1 10.10.10.0
[root@rac02 bin]# ./oifcfg setif -global eth0/10.161.24.0:public
[root@rac02 bin]# ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
[root@rac02 bin]# ./oifcfg getif
eth0 10.161.24.0 global public
eth1 10.10.10.0 global cluster_interconnect
然後在視窗介面重新執行 vipca 即可
--------------------------------------------------------------------------------------------------------
如果在最後一個節點上執行 root.sh 時,最後出現:
Running vipca(silent) for configuring nodeapps
The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.
這樣的錯誤時,可直接執行 vipca 來進行 vip 配置。
-----------------------------
所有VIPCA 配置完成之後,如沒有錯誤直接點選 exit,然後回到 clusterware 安裝介面,點選 OK
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-620357/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- error while loading shared librariesErrorWhile
- ./ggsci: error while loading shared librariesErrorWhile
- sqlplus: error while loading shared librariesSQLErrorWhile
- 使用SRVCTL時報錯:error while loading shared librariesErrorWhile
- 解決"error while loading shared libraries: libclntshErrorWhile
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- error while loading shared libraries: libaio.so.1ErrorWhileAI
- Error while loading shared libraries: libssl.so.6:ErrorWhile
- Mysql的error while loading shared libraries解決方法MySqlErrorWhile
- mongod: error while loading shared libraries: libstdc++.so.6GoErrorWhileC++
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- innobackupex: error while loading shared libraries: libssl.so.6ErrorWhile
- glodengate配置時報ggsci: error while loading shared librariesErrorWhile
- ORACLE SQLPLUS 報 error while loading shared libraries[轉]OracleSQLErrorWhile
- error while loading shared libraries: libcap.so.1: cannot open sharedErrorWhile
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- error while loading shared libraries: libstdc++.so.5: cannot openErrorWhileC++
- csscan: error while loading shared libraries: libclntsh.so.10.1CSSErrorWhile
- sqlplus: error while loading shared libraries的解決方案SQLErrorWhile
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- sqlplus: error while loading shared libraries: libaio.so.1:SQLErrorWhileAI
- error while loading shared libraries 錯誤解決辦法總結ErrorWhile
- sqlplus: error while loading shared libraries: libsqlplus.soSQLErrorWhile
- [mysql]error while loading shared libraries: libaio.so.1: 解決方案MySqlErrorWhileAI
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- 錯誤 error while loading shared libraries: libclntsh.so.9.0 的解決ErrorWhile
- sqlldr執行報錯:error while loading shared libraries: libclntsh.so.10.1:SQLErrorWhile
- 【故障處理】csscan工具無法使用,報錯“error while loading shared libraries...”CSSErrorWhile
- MySQL 5.7初始化報錯error while loading shared libraries: libnuma.so.1MySqlErrorWhile
- 安裝EBS R12.1.1-error while loading shared libraries: libdb.so.2ErrorWhile
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject