Wednesday, November 28, 2012

Error related to /dev/shm while oracle installation

Error
Using Automatic Memory Management requires ...... .The current available space in "" is only MB.If you want to use Automatic Memory Management you should either free up some space in /dev/shm or reduce the memory allocated to oracle.
or
sql>startup pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/*.ora'

ORA-00845: MEMORY_TARGET not supported on this system

Cause:
lesser amount of available space in /dev/shm .

Solution:
increase the size of /dev/shm (tmp directory in linux)
to increase the size do as below:

temporary increase in size :
# mount -o remount,size=8G /dev/shm
Verify the size
# df -h


permanent changes:
1. vim /etc/fstab (made change w.r.t. tmpfs), add this ",size=8g"
tmpfs     /dev/shm          tmpfs   defaults,size=8g        0 0

2. mount -o remount tmpfs

3. df -h      (check the changes

No comments:

Post a Comment

web stats