oracle 27504,10G RAC DBCA报错 ORA-27504问题的解决

AIX 5.3+HACMP5.4+Oracle 10G,CRS安装完成之后。

执行dbca创建数据库运行到2%的时候,报如下错误:

ORA-27504 IPC error creating OSD context

ORA-27300 OS system dependent operation sendmsg failed with state 59

ORA-27301 OS failed message message too long

ORA-27302 failed occured at sskgxpsnd1

怀疑是主机环境参数没有配置正确,经过与b14291文档核对,发现忘记Configure Network Tuning Parameters这一步骤。

Network Tuning Parameter

Recommended Value

ipqmaxlen

512

rfc1323

1

sb_max

2*655360

tcp_recvspace

65536

tcp_sendspace

65536

udp_recvspace

655360

Note: The recommended value of this parameter is 10 times the value of the udp_sendspace parameter. The value must be less than the value of the sb_max parameter.

udp_sendspace

65536

Note: This value is suitable for a default database installation. For production databases, the minimum value for this parameter is 4 KB plus the value of the database DB_BLOCK_SIZE initialization parameter multiplied by the value of the DB_MULTIBLOCK_READ_COUNT initialization parameter: (DB_BLOCK_SIZE * DB_MULTIBLOCK_READ_COUNT) + 4 KB

找到了问题的原因,解决过程很简单:

编辑/etc/rc.net文件,增加如下内容

if [ -f /usr/sbin/no ] ; then

/usr/sbin/no -o udp_sendspace=65536

/usr/sbin/no -o udp_recvspace=655360

/usr/sbin/no -o tcp_sendspace=65536

/usr/sbin/no -o tcp_recvspace=65536

/usr/sbin/no -o rfc1323=1

/usr/sbin/no -o sb_max=1310720

/usr/sbin/no -o ipqmaxlen=512

fi

因为以上参数,在重启主机时才会生效,为了让网络参数生效,直接运行如下命令:

/usr/sbin/no -o udp_sendspace=65536

/usr/sbin/no -o udp_recvspace=655360

/usr/sbin/no -o tcp_sendspace=65536

/usr/sbin/no -o tcp_recvspace=65536

/usr/sbin/no -o rfc1323=1

/usr/sbin/no -o sb_max=1310720

/usr/sbin/no -o ipqmaxlen=512

再次运行dbca,完成建库过程。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值