ORA-00845: MEMORY_TARGET not supported on this system - Linux Servers

 环境


OS:  RedHat AS5.0

DB:  Oracle10gR2    (running)

          Oracle11gR1    (stop)

 

 

 

问题


 

启动11g数据库时报错:

[oracle@DN2WEB04 ccr]$ sqlplus "/as sysdba"

SQL*Plus: Release 11.1.0.6.0 - Production on Thu Aug 20 16:52:35 2009

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-00845: MEMORY_TARGET not supported on this system

 

原因


启用了11g的自动内存管理,且系统没有足够的可用共享内存(大于PGA+SGA)

[root@DN2WEB04 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       71G   56G   11G  85% /
/dev/sda1              99M   19M   76M  20% /boot
tmpfs                 948M  569M  380M  60% /dev/shm

 

 

 

 

解决办法


增加共享内存:

[root@DN2WEB04 ~]# mount -t tmpfs tmpfs -o size=1600m /dev/shm
[root@DN2WEB04 ~]# df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       71G   56G   11G  85% /
/dev/sda1              99M   19M   76M  20% /boot
tmpfs                 1.6G     0  1.6G   0% /dev/shm
tmpfs                 1.6G     0  1.6G   0% /dev/shm

 

 

 

 

参考资料:

Subject: ORA-00845: MEMORY_TARGET not supported on this system - Linux Servers
Doc  ID: 465048.1

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值