环境OL5.4_64 oracle 10201
在VM中安装ORACLE,图形界面中创ASM实例时,报ORA-27125错误
先不要关闭图形界面
在网上查了一下,是与LINUX HUGETBL有关
解决方法是将ORACLE的DBA组的GID添加到hugetlb_shm_group文件中
首先确认hugetlb_shm_group文件内容
#more /proc/sys/vm/hugetlb_shm_group
0
查看ORACLE的DBA组的GID
#id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)
再将GID添加到hugetlb_shm_group中
#echo 54322 > /proc/sys/vm/hugetlb_shm_group
再次确认一下hugetlb_shm_group文件内容
# more /proc/sys/vm/hugetlb_shm_group
54322
点击RETRY按钮,问题解决
此问题在安装数据库时也有可能出现,解决方法一样
那么在重启服务器后会发现,数据库还是没有启来,尝试重新启动后依旧报ORA-27125错误
查看/proc/sys/vm/hugetlb_shm_group发现内容又变为0
还需要在/etc/sysctl.conf中添加
vm.hugetlb_shm_group=54322
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7986761/viewspace-1697008/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7986761/viewspace-1697008/