ORA-04031

ORA-04031

在使用dbca建库正式安装的的第一阶段“Creating and starting Oracle instance”报出如下的错误

ORA-04031:unable to allocate 1572864 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kks stbkt")

这个错误与Linux操作系统的kernel.shmmax参数设置有关

处理方法
vi /etc/sysctl.conf
kernel.shmmax = 4398046511104

使其生效
# /sbin/sysctl -p

重新使用dbca创建数据库,问题处理完成。

posted @ 2020-04-26 18:04  twokittens  阅读(499)  评论(0编辑  收藏  举报