oracle 12c rac GRID for linux安装错误CLSRSC-258+ASM启动ora-00854

环境:

Oracle 12c RAC + RHEL6.2

问题:

安装grid时,执行root.sh,报错CLSRSC-258

以及在安装完成后重启服务器报错ora-00854



原因:

oracle官网解释:

CAUSE
The new Automatic Memory Management functionality uses /dev/shm on Linux for SGA and PGA management. The errors occur if either MEMORY_TARGET or MEMORY_MAX_TARGET is configured larger than the configured /dev/shm size, or if /dev/shm is mounted incorrectly.

Linux中oracleSGA和PGA需要从/dev/shm分配空间,所以MEMORY_TARGET和MEMORY_MAX_TARGET参数不能大于/dev/shm,由于我内存只给2G,/dev/shm默认情况是内存一半大小。需要调整/dev/shm大小


解决方法:

# mount -t tmpfs shmfs -o size=7g /dev/shm
In this case, the size of the shared memory device is configured to be 7GB.

要永久生效,需要放到/etc/fstab中
In order to make the same change persistent across system reboots, add an entry for this to the /etc/fstab mount table, as in:

shmfs /dev/shm tmpfs size=7g 0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值