- 论坛徽章:
- 0
|
今天在SUSE 9.1上安装Oracle10G遇到问题,在网上查到一文如下
-----------------------------------
运行dbca ,创建实例。不过,在这里一个比较令人头疼的问题。图形化创建实例总是报告:
ORA-27125:unable to create shared memory segment. 检查核心参数,没有发现问题。后来经过网络上的交流得知:Linux 2.6内核有个特性:Huge TLB支持。该特性默认条件下是激活的。
相关解释:
By default only root has permission to allocate shared memory with this option (SHM_HUGETLB) and Oracle 10g defaults using it, so Oracle fails to allocate the SGA.This capability is supposed to be able to controlled with the setcaps program (CAP_IPC_LOCK), but I couldn't get it to work properly. The solution is either to set DISABLE_HUGETLBFS=1 before you start Oracle or to recompile the kernel without CONFIG_HUGETLB_PAGE and CONFIG_HUGETLBFS configuration parameters.
要解决该问题,在Oracle用户下执行 $export DISABLE_HUGETLBFS=1
然后再次运行dbca 。如果遇到问题的话,最好是定制库,最后选择"生成脚本" (当然,可以自己写脚本建库,不过用图形工具方便一些) 。运行脚本创建实例。不出意外的话,这次应该没有问题了。
------------------------------------------------------------------------------------
我按照这样试了,不行,希望大家有解决的方法 |
|