ORA-15040: diskgroup is incomplete
更新时间: 2021-09-15 17:10
备库恢复控制文件时报错:
RMAN> restore standby controlfile from '/dbtest/test/standby_1.ctl';
Starting restore at 22-AUG-21
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=3511 device type=DISK
channel ORA_DISK_1: restoring control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/22/2021 01:39:25
ORA-19870: error while restoring backup piece /dbtest/test/standby_1.ctl
ORA-19504: failed to create file "+DATA/testdg/controlfile/controlfile01.ctl"
ORA-17502: ksfdcre:3 Failed to create file +DATA/testdg/controlfile/controlfile01.ctl
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15040: diskgroup is incomplete
ORA-15040: diskgroup is incomplete
ORA-15040: diskgroup is incomplete
查看了服务器磁盘组的状态,状态均为正常挂载
发现是oracle用户的$ORACLE_HOME/bin/oracle权限问题,因为在备库中没有使用使用dbca创建过数据库,此文件的属主一般是oracle:oinstall
需要将文件属主修改为oracle.asmadmin