[oracle@AmbowdbServer ~]$ sqlplus / as sysdbaSQL*Plus: Release 10.2.0.1.0 - Production on Wed May 2 00:44:58 2012Copyright (c) 1982, 2005, Oracle.  All rights reserved.Connected to an idle instance.SQL> 
SQL> 
SQL> 
SQL> startup
ORA-27125: unable to create shared memory segment
Linux-x86_64 Error: 1: Operation not permitted
操作系统用的centos 6.2 x86_64

解决方案 »

  1.   

    要学会百度
    http://hi.baidu.com/jadesuper6/blog/item/aa5f07298483082a349bf7b6.html
      

  2.   

    解决方法也很简单,首先检查oracle用户的组信息:
    [oracle@yans1 ~]$ id oracle
    uid=500(oracle) gid=502(oinstall) groups=502(oinstall),501(dba)
    [oracle@yans1 ~]$ more /proc/sys/vm/hugetlb_shm_group
    0
    下面用root执行下面的命令,将dba组添加到系统内核中:
    # echo 501 > /proc/sys/vm/hugetlb_shm_group
    然后启动数据库,问题消失。
      

  3.   

    很有可能是sga和内核参数的配置问题