rman启动伪实例恢复参数文件报错

错误描述:

RMAN-04014: startup failed: ORA-04031: unable to allocate 1048608 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","row cache")

问题原因:RMAN-03002:在07/08/2010 20:45:19启动命令失败
          RMAN-04014:启动失败:ORA-04031:无法分配1048608字节的共享内存(“共享池”,“未知对象”,“sga堆(1,0)”,“KEWS sesstat值”)

    原因
    RMAN无法在没有pfile的情况下启动虚拟实例。
    用于虚拟实例的默认值内存不足以启动实例。
    这在Bug 9680987中报告 -  RMAN无法启动数据库而没有参数文件

rman启动伪实例的时候出现如下错误解决方案,这个再11.2.3.0版本中出现这个问题11.2.4.0中没发现,可能是oracle 的bug,:
[oracle@localhost dbs]$ rman target /

Recovery Manager: Release 11.2.0.3.0 - Production on Wed Mar 13 14:30:16 2019

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database (not started)

RMAN> startup nomount;

startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl.ora'

starting Oracle instance without parameter file for retrieval of spfile
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 03/13/2019 14:30:23
RMAN-04014: startup failed: ORA-04031: unable to allocate 1048608 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","row cache")

问题原因:RMAN-03002:在07/08/2010 20:45:19启动命令失败
		  RMAN-04014:启动失败:ORA-04031:无法分配1048608字节的共享内存(“共享池”,“未知对象”,“sga堆(1,0)”,“KEWS sesstat值”)

	原因
	RMAN无法在没有pfile的情况下启动虚拟实例。
	用于虚拟实例的默认值内存不足以启动实例。
	这在Bug 9680987中报告 -  RMAN无法启动数据库而没有参数文件
	
如果出现如上问题的解决方案:
[oracle@localhost dbs]$ export ORA_RMAN_SGA_TARGET=350 --设置伪实例启动的可以用内存
[oracle@localhost dbs]$ export ORACLE_SID=orcl
[oracle@localhost dbs]$ rman target /

Recovery Manager: Release 11.2.0.3.0 - Production on Wed Mar 13 14:37:32 2019

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database (not started)

RMAN> startup nomount;

startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl.ora'

starting Oracle instance without parameter file for retrieval of spfile
Oracle instance started

Total System Global Area     367439872 bytes

Fixed Size                     2228464 bytes
Variable Size                180358928 bytes
Database Buffers             180355072 bytes
Redo Buffers                   4497408 bytes

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值