INS-35172 Target database memory(945MB) excessds the systems available shared memory({0}MB)

Centos6.5安装oracle11.2.0.1的时候报错如下:

INS-35172 Target database memory(945MB) excessds the systems available shared memory({0}MB)_第1张图片

解决方法:增加/dev/shm, /dev/shm通常用做共享内存。将/dev/shm增大到大于你期望设置的memory_target值。

修改/dev/shm方式如下:

[root@orcl ~]# umount tmpfs

[root@orcl ~]# mount -t tmpfs shmfs -o size=2G /dev/shm/

##如果umount的时候报错如下:
[root@host157 ~]# umount tmpfs
umount: /dev/shm: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

可以通过如下操作处理:
fuser -km /dev/shm

让以后每次重启OS 都自动mount,修改文件 /etc/fstab 将tmpfs 修改成以下值:

vi /etc/fstab
#修改
tmpfs            /dev/shm        tmpfs  defaults,size=2G        0 0

重新测试通过。

你可能感兴趣的:(Oracle,Basic,oracle,数据库)