首页 > 数据库 > Oracle > linux 5.6 ORA-27125
linux 5.6以及以上的版本,安装好oracle后,启动报错如下:
ORA-27125: unable to create shared memory segment
Linux-x86_64 Error: 1: Operation not permitted。
上网查了资料后。执行以下语句后搞定:
echo 501 > /proc/sys/vm/hugetlb_shm_group。
但是重启服务器后又不行了。又查了查,在/etc/sysctl.conf增加一条语句 vm.hugetlb_shm_group = 501 (501是我的oinstall组的号)。然后执行sysctl -p即搞定。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/309902/viewspace-1060394/ ,如需转载,请注明出处,否则将追究法律责任。