您的位置:首页 > 数据库 > Oracle

Oracle 10g RAC for AIX实施中遇到的问题汇总

2013-06-04 15:18 567 查看
原文地址:Oracle 10g RAC for AIX实施中遇到的问题汇总作者:管世勇
问题说明:
1.解压下载的Oracle软件出错
gunzip 10gr2_aix5l64_cluster.cpio.gz
cpio -idmv < 10gr2_aix5l64_cluster.cpio
Out of phase!
cpio attempting to continue...
skipping 91110 bytes to get back in phase!
One or more files lost and the previous file is possibly corrupt
解决方法:
在cpio参数中带上c参数,如:cpio -idmvc < 10gr2_aix5l64_cluster.cpio

2.在安装CRS软件时提示:
ORA-27502:IPC error creating OSD context
ORA-27300:OS system dependent operation:sendmsg failed with status:59
ORA-27301:OS failure message:Message too long
ORA-27302:failure occurred at:sskgxpsnd1
解决方法:
在安装之前配置SSH主机信任,如已配置完SSH公钥和密钥,则需要执行
/usr/bin/ssh-agent $SHELL
/usr/bin/ssh-add

3.在配置ASM时提示PRKS-1009:Failed to start ASM instance "+ASM2" on node "zhajdb2"
解决方法:在这次环境中主要由于两节点的网卡名称不一致导致,如节点一为en0,en1,节点二为en2,en3
则节点二在启ASM实例时会检测en0上的vip地址,但实际en0并不存在,可通过修改网卡名称解决(保持两边一致)
lsdev -Cc adapter
ifconfig en2 detach
ifconfig en3 detach
rmdev -dl ent0
rmdev -dl ent1
rmdev -dl ent2
rmdev -dl ent3
cfgmgr
lsdev -Cc adapter

4.在CRS安装时,最后执行root.sh时,后执行的节点上无法成功,提示:
# ./root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Failed to upgrade Oracle Cluster Registry configuration
另外有一种提示为:PRIF-10: failed to initialize the cluster registry
解决方法:关闭共享磁盘的锁定属性
SSA或者FASTT系列盘阵关闭磁盘锁定用:/usr/sbin/chdev -l hdiskn -a reserve_lock=no
ESS,EMC,HDS,CLARIION系列盘阵关闭磁盘锁定用:/usr/sbin/chdev -l hdiskn -a reserve_policy=no_reserve

5.在CRS安装时,最后执行root.sh时,提示以下错误:
# /oracle/crs/root.sh
WARNING: directory ‘/oracle’ is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
/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 ‘/oracle’ is not owned by root
exec(): 0509-036 Cannot load program crsctl.bin because of the following errors:
0509-130 Symbol resolution failed for crsctl.bin because:
0509-136 Symbol _Getctype__FPCc (number 101) is not exported from
dependent module /usr/lib/libC.a[ansi_64.o].
0509-136 Symbol _Getnumpunct__FPCc (number 105) is not exported from
dependent module /usr/lib/libC.a[ansi_64.o].
0509-192 Examine .loader section symbols with the
‘dump -Tv’ command.
解决方法:C编译器版本的问题,AIX5.3系统自带的为6.0版本,需要7.0版本才可
下载(ftp://ftp.software.ibm.com/aix/products/ccpp/),安装xlC.rte、xlC.aix50
uncompress xlc.rte.aix50.sep2005.ptf.tar.Z
uncompress xlc.rte.70.aix.tar.Z
tar -xvf xlc.rte.aix50.sep2005.ptf.tar
tar -xvf xlc.rte.70.aix.tar
smit installp
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: