[转]ORACLE10GR2,dbca时ora-27125错误解决方法

 
http://www.2cto.com/database/201204/126400.html
ORACLE10GR2,dbca时ora-27125错误解决方法unable to create shared memory 
 
Linux 5.6 x86-64环境,安装数据库后,启动数据库报错:ORA-27125。Oracle文档上关于ORA-27125错误的描述为:

ORA-27125: unable to create shared memory segment 
Cause: shmget() call failed
Action: contact Oracle support
查询了一下,发现问题和linux上的hugetbl有关。

解决方法也很简单,首先检查oracle用户的组信息:
[oracle@yans1 ~]$ id oracle  www.2cto.com  
uid=500(oracle) gid=502(oinstall) groups=502(oinstall),501(dba)
[oracle@yans1 ~]$ more /proc/sys/vm/hugetlb_shm_group

下面用root执行下面的命令,将dba组添加到系统内核中:
# echo 501 > /proc/sys/vm/hugetlb_shm_group
然后启动数据库,问题消失。
 

 
作者 xuzhendong
posted on 2013-02-28 14:46  kkmm  阅读(250)  评论(0编辑  收藏  举报