报OUI-25031错误,具体错误日志: Output generated from configuration assistant "Oracle Notification Server Configuration Assistant": Command = /u01/app/oracle/product/10.2.0/crs_1/bin/racgons add_config ora03:6200 ora04:6200 Configuration assistant "Oracle Notification Server Configuration Assistant" failed
-----------------------------------------------------------------------------
The "/u01/app/oracle/product/10.2.0/crs_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
解决:
cd /u01/app/oracle/product/10.2.0/crs_1/bin
[oracle@ora03 bin]$ racgons remove_config ora03:6200 racgons: Existing key value on ora03 = 6200. racgons: ora03:6200 removed from OCR.
[oracle@ora03 bin]$ racgons remove_config ora04:6200 racgons: Existing key value on ora04 = 6200. racgons: ora04:6200 removed from OCR.
在最后一个节点运行/u01/app/oracle/product/10.2.0/crs_1/root.sh脚本会报错: Running vipca(silent) for configuring nodeapps /u01/app/oracle/product/10.2.0/crs_1/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
解决:每个节点都要改
vi +123 /u01/app/oracle/product/10.2.0/crs_1/bin/vipca
vi + /u01/app/oracle/product/10.2.0/crs_1/bin/srvctl
在两个脚本中取消变量LD_ASSUME_KERNEL:
vi +123 /u01/app/oracle/product/10.2.0/crs_1/bin/vipca
-------------------------------------
LD_ASSUME_KERNEL=2.4.19 export LD_ASSUME_KERNEL fi unset LD_ASSUME_KERNEL
-------------------------------------
vi + /u01/app/oracle/product/10.2.0/crs_1/bin/srvctl
-------------------------------------
export LD_ASSUME_KERNEL unset LD_ASSUME_KERNEL
-------------------------------------
Running vipca(silent) for configuring nodeapps Error 0(Native: listNetInterfaces:[3]) [Error 0(Native: listNetInterfaces:[3])]
如果错误如上,需要手工设置oracle的IP: cd /u01/app/oracle/product/10.2.0/crs_1/bin
-------------------------------------------------------------------
[root@stu253 bin]# ./oifcfg iflist eth0 192.168.0.0 eth1 192.168.1.0 [root@stu253 bin]
[root@stu253 bin]# ./oifcfg setif -global eth0/192.168.0.0:public
[root@stu253 bin]# ./oifcfg setif -global eth1/192.168.1.0:cluster_interconnect
[root@stu253 bin]# ./oifcfg getif eth0 192.168.0.0 global public eth1 192.168.1.0 global cluster_interconnect
IP修正之后手工运行vipca ,启动全局资源: ./vipca

发表评论