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,完成建库过程。
--end--
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22049049/viewspace-1030229/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22049049/viewspace-1030229/