ITPub博客

首页 > 数据库 > Oracle > ORA-00845: MEMORY_TARGET not supported on this system

ORA-00845: MEMORY_TARGET not supported on this system

原创 Oracle 作者:孤竹星 时间:2015-03-30 11:25:45 0 删除 编辑
数据库安装完成后,正常启动,运行一段时间后,需要修改参数 要重启实例
重启报错 ORA-00845
以下为查看错误代码给出的原因

SQL> host oerr ora 00845
00845, 00000, "MEMORY_TARGET not supported on this system"
// *Cause: The MEMORY_TARGET parameter was not supported on this operating system or /dev/shm was not sized correctly on Linux.
// *Action: Refer to documentation for a list of supported operating systems. Or, size /dev/shm to be at least the SGA_MAX_SIZE on each Oracle instance running on the system.

根据以上信息 ,可以看出 要求MEMORY_TARGET 小于 shm (根据测试应该为可用空间)的大小
查看shm大小
df -h | grep shm

1. 减小MEMORY_TARGET大小
通过修改spfile文件

2.加大shm 
 mount -o remount,size=4G /dev/shm 

修改/etc/fstab
tmpfs                   /dev/shm                tmpfs   defaults,size=4G  0 0


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28282660/viewspace-1478508/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Linux 防火墙配置
请登录后发表评论 登录
全部评论

注册时间:2013-01-22

  • 博文量
    96
  • 访问量
    298370