Chinaunix首页 | 论坛 | 博客
  • 博客访问: 539048
  • 博文数量: 375
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 15
  • 用 户 组: 普通用户
  • 注册时间: 2013-09-20 10:21
文章分类

全部博文(375)

文章存档

2015年(1)

2014年(374)

分类:

2014-09-03 13:21:07

在Solaris 10上安装Oracle 10g时,Oracle本身安装成功,但在创建数据库的时候发生了错误,错误信息为:

ORA-27102 "Out of Memory"

在/etc/system 下添加了推荐的关于share memory的参数,重起系统后还是没有效果,搜索 了一下,得到了一个解决方案:

shminfo_shmmax is an obsoletes tuneable, which is replaced by the following resource control project.max-shm-memory, which in turns defaults to 1/4 of physical memory if not set.

I would suggest

groupadd dba
useradd -g dba -d ${ORACLE_HOME} -m -s /bin/bash oracle

change permissions etc on ORACLE_HOME and so on.
then

projadd -U oracle -G dba -c 'Ora DB' -p 162 user.oracle
projmod -sK 'project.max-shm-memory=(priv,48g,deny)' user.oracle


then log in as oracle and check the value via
prctl -n project.max-shm-memory -i project user.oracle

用以上的方法,再次创建数据库,就没有问题了。

阅读(650) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~