刚才解决了一个和RAC相关的问题!

本文记录了一次Oracle数据库启动失败的问题及解决过程。由于/ORACLE_BACKUP目录缺失导致数据库实例无法启动,通过创建指定目录并重新启动成功解决了问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

OS组想扩充一下/oracle_backup.结果重启机器了。里面的文件都没了。

还好里面都是备份文件。

机器重启后数据库没启动。

$ srvctl status database -d RTST

Instance RTST1 is not running on node tst-rac01-ud-us-eqx
Instance RTST2 is not running on node tst-rac02-ud-us-eqx
$ $ srvctl start database -d RTST
PRKP-1001 : Error starting instance RTST1 on node tst-rac01-ud-us-eqx
CRS-0215: Could not start resource 'ora.RTST.RTST1.inst'.
PRKP-1001 : Error starting instance RTST2 on node tst-rac02-ud-us-eqx
CRS-0215: Could not start resource 'ora.RTST.RTST2.inst'.
$ tail -f al*.log
Interface type 1 e1000g0 10.12.32.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Thu Mar 26 21:15:44 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 e1000g2 172.16.0.128 configured from OCR for use as a cluster interconnect
Interface type 1 e1000g3 172.16.1.0 configured from OCR for use as a cluster interconnect
Interface type 1 e1000g0 10.12.32.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....ST1.srv application ONLINE OFFLINE
ora....TST1.cs application ONLINE OFFLINE
ora....T1.inst application ONLINE OFFLINE
ora....ST2.srv application ONLINE OFFLINE
ora....TST2.cs application ONLINE OFFLINE
ora....T2.inst application ONLINE OFFLINE
ora.RTST.db application ONLINE OFFLINE
ora....QX.lsnr application ONLINE ONLINE tst-...-eqx
ora....eqx.ons application ONLINE ONLINE tst-...-eqx
ora....eqx.vip application ONLINE ONLINE tst-...-eqx
ora....QX.lsnr application ONLINE ONLINE tst-...-eqx
ora....eqx.ons application ONLINE ONLINE tst-...-eqx
ora....eqx.vip application ONLINE ONLINE tst-...-eqx
看来问题严重了。
$ crs_start -all
Attempting to start `ora.RTST.RTST1.inst` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.RTST.RTST2.inst` on member `tst-rac02-ud-us-eqx`
Start of `ora.RTST.RTST1.inst` on member `tst-rac01-ud-us-eqx` failed.
Start of `ora.RTST.RTST2.inst` on member `tst-rac02-ud-us-eqx` failed.
tst-rac02-ud-us-eqx : CRS-1019: Resource ora.RTST.RTST1.inst (application) cannot run on tst-rac02-ud-us-eqx


tst-rac01-ud-us-eqx : CRS-1019: Resource ora.RTST.RTST2.inst (application) cannot run on tst-rac01-ud-us-eqx


Attempting to start `ora.RTST.RTST1.RTST1.srv` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx`
Attempting to start `ora.RTST.db` on member `tst-rac01-ud-us-eqx`
Attempting to start `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx`
Start of `ora.RTST.RTST1.RTST1.srv` on member `tst-rac01-ud-us-eqx` failed.
Attempting to start `ora.RTST.RTST1.RTST1.srv` on member `tst-rac02-ud-us-eqx`
Start of `ora.RTST.RTST2.RTST2.srv` on member `tst-rac02-ud-us-eqx` failed.
Attempting to start `ora.RTST.RTST2.RTST2.srv` on member `tst-rac01-ud-us-eqx`
Start of `ora.RTST.RTST1.RTST1.srv` on member `tst-rac02-ud-us-eqx` failed.
CRS-1006: No more members to consider

Start of `ora.RTST.RTST2.RTST2.srv` on member `tst-rac01-ud-us-eqx` failed.
CRS-1006: No more members to consider

Start of `ora.RTST.db` on member `tst-rac01-ud-us-eqx` failed.
Attempting to start `ora.RTST.db` on member `tst-rac02-ud-us-eqx`
Start of `ora.RTST.RTST1.cs` on member `tst-rac01-ud-us-eqx` failed.
Attempting to start `ora.RTST.RTST1.cs` on member `tst-rac02-ud-us-eqx`
Start of `ora.RTST.RTST2.cs` on member `tst-rac02-ud-us-eqx` failed.
Attempting to start `ora.RTST.RTST2.cs` on member `tst-rac01-ud-us-eqx`
Start of `ora.RTST.db` on member `tst-rac02-ud-us-eqx` failed.
CRS-1006: No more members to consider

Start of `ora.RTST.RTST1.cs` on member `tst-rac02-ud-us-eqx` failed.
CRS-1006: No more members to consider

Start of `ora.RTST.RTST2.cs` on member `tst-rac01-ud-us-eqx` failed.
CRS-1006: No more members to consider

CRS-0215: Could not start resource 'ora.RTST.RTST1.RTST1.srv'.

CRS-0215: Could not start resource 'ora.RTST.RTST1.cs'.

CRS-0215: Could not start resource 'ora.RTST.RTST1.inst'.

CRS-0215: Could not start resource 'ora.RTST.RTST2.RTST2.srv'.

CRS-0215: Could not start resource 'ora.RTST.RTST2.cs'.

CRS-0215: Could not start resource 'ora.RTST.RTST2.inst'.

CRS-0215: Could not start resource 'ora.RTST.db'.
到数据库里试一下,
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
ORA-01262: Stat failed on a file destination directory
SVR4 Error: 2: No such file or directory
SQL> show parameter db_recovery_file
ORA-01034: ORACLE not available。
发现问题了。
在备份的PFILE中找到这个参数的设置:
*.db_recovery_file_dest='/oracle_backup/RTST/flash'
mkdir -p /oracle_backup/RTST/flash

$ crs_start -all
Attempting to start `ora.RTST.RTST1.inst` on member `tst-rac01-ud-us-eqx`
Start of `ora.RTST.RTST1.inst` on member `tst-rac01-ud-us-eqx` succeeded.
$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....ST1.srv application ONLINE ONLINE tst-...-eqx
ora....TST1.cs application ONLINE ONLINE tst-...-eqx
ora....T1.inst application ONLINE ONLINE tst-...-eqx
ora....ST2.srv application ONLINE ONLINE tst-...-eqx
ora....TST2.cs application ONLINE ONLINE tst-...-eqx
ora....T2.inst application ONLINE ONLINE tst-...-eqx
ora.RTST.db application ONLINE ONLINE tst-...-eqx
ora....QX.lsnr application ONLINE ONLINE tst-...-eqx
ora....eqx.ons application ONLINE ONLINE tst-...-eqx
ora....eqx.vip application ONLINE ONLINE tst-...-eqx
ora....QX.lsnr application ONLINE ONLINE tst-...-eqx
ora....eqx.ons application ONLINE ONLINE tst-...-eqx
ora....eqx.vip application ONLINE ONLINE tst-...-eqx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值