ORA-00845

APPLIES TO

Oracle Database - Enterprise Edition - version 11.2.0.4.0

SYMPTOMS

数据库启动后,alert_orcl.log 日志文件出现如下报错:

WARNING: You are trying to use the MEMORY_TARGET feature. This feature requires the /dev/shm file system to be mounted for at least 830472192 bytes. /dev/shm is either not mounted or is mounted with available space less than this size. Please fix this so that MEMORY_TARGET can work as expected. Current available is 453869568 and used is 55934976 bytes. Ensure that the mount point is /dev/shm for this directory. memory_target needs larger /dev/shm.

CAUSE

系统 /dev/shm 空间不足。

SOLUTION

mount -t tmpfs shmfs -o size=1g /dev/shm

修改 /etc/fstab

echo "shmfs /dev/shm tmpfs size=1g 0 0" >> /etc/fstab