Database Startup On Solaris 10 Fails With Ora-27102 Out Of Memory Error (Doc ID 399895.1)

Database Startup On Solaris 10 Fails With Ora-27102 Out Of Memory Error (Doc ID 399895.1)To BottomTo Bottom

 

APPLIES TO:

Oracle Database - Enterprise Edition - Version 9.2.0.8 to 12.1.0.2 [Release 9.2 to 12.1]
Solaris Operating System - Version 10 10/09 U8 to 11.3 [Release 10.0 to 11.0]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)
Sun Solaris SPARC (64-bit)
Solaris Operating System (SPARC 64-bit)



***Checked for relevance on 21-Jul-2017***

SYMPTOMS

Database startup on Solaris 10 fails with the following errors.

SQL> startup
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument

And the alert log shows something similar to the following.

WARNING: EINVAL creating segment of size 0x000000002a000000
fix shm parameters in /etc/system or equivalent

CHANGES

Upgraded the OS to Solaris 10

CAUSE

Solaris 10 sets the shared memory segments on projects, and it is suspected to be caused by projects not being setup correctly.  Because of this, there is not sufficient SHMMAX available for Oracle to allocate the SGA, so startup fails.

SOLUTION

It is still permitted in Solaris 10 to set the limits in the /etc/system file, which will allow database startup in the interim, until can resolve the issues with projects settings.

For example, a sample /etc/system entry setting SHMMAX = 6GB.

set shmsys:shminfo_shmmax=6442450944
set semsys:seminfo_semmni=1024
set semsys:seminfo_semmsl=1024
set shmsys:shminfo_shmmni=100

Database started with above settings ok, and missing project settings in this case were the following.
1. # projadd -c "Oracle" 'user.oracle'
2. # projmod -s -K "project.max-shm-memory=(privileged,6GB,deny)" 'user.oracle'

Wrong setting for zone.max-shm-memory can also cause these errors. To verify the settings.
$ id -p
$ prctl -i project

The project.max-shm-memory and zone.max-shm-memory are limits on the total size of all shared memory segments [within a project or zone].

REFERENCES

NOTE:169706.1 - Oracle Database (RDBMS) on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2)
NOTE:429191.1 - Kernel setup for Solaris 10 and Solaris 11 using project files
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
安装yum,必须按照顺序 .删除redhat原有的 [root@nagios ~]# yum rpm -aq|grep yum|xargs rpm -e --nodeps 2,使用包中提供的4个rpm包 [root@nagios ~]# rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm warning: python-iniparse-0.3.1-2.1.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] package python-iniparse-0.3.1-2.1.el6.noarch is already installed [root@nagios ~]# rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm warning: yum-metadata-parser-1.1.2-16.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] file /usr/lib64/python2.6/site-packages/_sqlitecache.so from install of yum-metadata-parser-1.1.2-16.el6.x86_64 conflicts with file from package yum-metadata-parser-1.1.2-14.1.el6.x86_64 file /usr/lib64/python2.6/site-packages/sqlitecachec.pyc from install of yum-metadata-parser-1.1.2-16.el6.x86_64 conflicts with file from package yum-metadata-parser-1.1.2-14.1.el6.x86_64 [root@nagios ~]# rpm -ivh yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm warning: yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] 1:yum-plugin-fastestmirro########################################### [100%]   注意:最后两个包必需同时安装,否则会相互依赖。 [root@nagios ~]# rpm -ivh yum-3.2.29-40.el6.centos.noarch.rpm warning: yum-3.2.29-40.el6.centos.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] file /etc/bash_completion.d/yum.bash from install of yum-3.2.29-40.el6.centos.noarch conflicts with file from package yum-3.2.27-14.el6.noarch file /etc/yum.conf from install of yum-3.2.29-40.el6.centos.noarch conflicts with file from package yum-3.2.27-14.el6.noarch file /usr/lib/python2.6/site-packages/yum/__init__.py from install of yum-3.2.29-40.el6.centos.noarch conflicts with file from package yum-3.2.27-14.el6.noarch ……其它输出略……

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值