oracle11g数据库,修改了内存参数memory_max_target=943718400,关闭数据库重新启动的时候报错
[oracle@instuctor shm]$ sqlplus / as sysdba
SQL*Plus:> Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an> SQL> startup
ORA-00845: MEMORY_TARGET not supported on this system
SQL> exit
Disconnected
[oracle@instuctor shm]$ 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>
// *Action: Refer to documentation for a list of supported operating systems. Or,> Oracle instance running on the system.
查看数据库的警告日志,同样看到了类似的报错信息
Mon Nov 19 09:34:14 2012
Starting ORACLE instance (normal)
WARNING: You are trying to use the MEMORY_TARGET feature. This feature requires the /dev/shm file system to be mounted for at least 943718400
bytes. /dev/shm is either not mounted or is mounted with available space less than this> as expected. Current available is 845021184 and used is 208900096 bytes. Ensure that the mount point is /dev/shm for this directory.
memory_target needs larger /dev/shm
通过以上原因的分析,看来是/dev/shm剩余的空间太小了
[oracle@instuctor shm]$ df -H