ORA-00845 Error Resolution method

Source: Internet
Author: User

1.1. ORA-00845

Ora-00845:memory_target not supported Onthis system

00845, 00000, "Memory_target notsupported on this system"

*cause:the memory_target parameter Wasnot supported on this operating system OR/DEV/SHM is not sized correctly Ux.

*action:refer to documentation for alist of supported operating systems. Or, Size/dev/shm to is at least thesga_max_size on the all Oracle instance running on the system.

Error message

In the ASM environment, an error is initiated when the Oracle instance is started

Sql> Startup

Ora-00845:memory_target not supported Onthis system

View Log

Sun Mar 30 14:28:07 2014

Adjusting the default value of Parameterparallel_max_servers

From 640 to 185 due to the value ofparameter processes (200)

Starting ORACLE instance (normal)

Warning:you are trying to use Thememory_target feature. This feature requires THE/DEV/SHM the file system to bemounted for at least 19327352832 bytes. /DEV/SHM is either to not mounted or ismounted with available spaces less than this size. Please fix the so thatmemory_target can work as expected. The current available is 16536903680 and Usedis 288894976 bytes. Ensure that "mount point" Is/dev/shm for this directory.

Memory_target needs LARGER/DEV/SHM

View/DEV/SHM partition conditions

FileSystem Type Size Used avail use% mounted on

Tmpfs tmpfs 16G 14.2G 1.8G 89%/DEV/SHM

Resize the/DEV/SHM partition:

# Vim/etc/fstab

Tmpfs/dev/shm Tmpfs defaults,size=20g 0 0

To view the processes that use the/DEV/SHM partition:

#lsof/DEV/SHM-ASM instance in use

Close ASM Instance (has been confirmed to be closed):

# Sqlplus-s/As Sysasm

--Check the current connected session

Selectusername,status,server,type,program,action,logon_time,state from V$session;

--Confirm that the ASM instance can be closed

Shutdown normal

Reload/DEV/SHM Partition:

# Mount-o REMOUNT/DEV/SHM

To view the/DEV/SHM partition size:

# df-ht |grep SHM

Tmpfs tmpfs 20G 19G 1.8G 92%/DEV/SHM

To start an Oracle instance:

# ID

Oracle

# Sqlplus-s/As Sysdba

Startup

Started successfully.

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.