您的位置:首页 > 运维架构 > Linux

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

2009-08-20 17:11 549 查看
 环境

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

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息