ORA-15005: name "orcl" is already used by an existing alias
来源:互联网 发布:神前晓 知乎 编辑:程序博客网 时间:2024/05/17 08:09
在进行ASM操作的时候,如果目录不存在的话,那么可能会报如下的错误:
<pre name="code" class="plain">RMAN> backup as copy database format '+kel/or';Starting backup at 13-JUN-14using channel ORA_DISK_1channel ORA_DISK_1: starting datafile copyinput datafile fno=00001 name=/home/oracle/oradata/ipap/system01.dbfoutput filename=+KEL/or tag=TAG20140613T002201 recid=16 stamp=850090987channel ORA_DISK_1: datafile copy complete, elapsed time: 00:01:16channel ORA_DISK_1: starting datafile copyinput datafile fno=00003 name=/home/oracle/oradata/ipap/sysaux01.dbfRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/13/2014 00:23:20ORA-19504: failed to create file "+KEL/or"ORA-17502: ksfdcre:4 Failed to create file +KEL/orORA-15005: name "or" is already used by an existing alias
但是在查看文件的时候,这个文件却已经创建了
ASMCMD> ls -lType Redund Striped Time Sys Name Y IPAP/ N or => +KEL/IPAP/DATAFILE/SYSTEM.257.850090925
文件创建做的好像是一个链接,但是这个备份应该没有做完,因为在创建第一个文件的时候就开始报错。
有人说配置控制文件自动进行备份即可,从而进行配置:
RMAN> configure controlfile autobackup on;new RMAN configuration parameters:CONFIGURE CONTROLFILE AUTOBACKUP ON;new RMAN configuration parameters are successfully stored
但是发现依然报错
在进行直接备份的时候是OK的,也就是不添加不存在的文件夹,直接来进行备份,如下:
RMAN> backup as copy database format '+KEL';Starting backup at 13-JUN-14using channel ORA_DISK_1channel ORA_DISK_1: starting datafile copyinput datafile fno=00001 name=/home/oracle/oradata/ipap/system01.dbfoutput filename=+KEL/ipap/datafile/system.257.850091431 tag=TAG20140613T003030 recid=17 stamp=850091498channel ORA_DISK_1: datafile copy complete, elapsed time: 00:01:15channel ORA_DISK_1: starting datafile copyinput datafile fno=00003 name=/home/oracle/oradata/ipap/sysaux01.dbfoutput filename=+KEL/ipap/datafile/sysaux.256.850091507 tag=TAG20140613T003030 recid=18 stamp=850091538channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:35channel ORA_DISK_1: starting datafile copyinput datafile fno=00002 name=/home/oracle/oradata/ipap/undotbs01.dbfoutput filename=+KEL/ipap/datafile/undotbs1.258.850091543 tag=TAG20140613T003030 recid=19 stamp=850091544channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03channel ORA_DISK_1: starting datafile copyinput datafile fno=00004 name=/home/oracle/oradata/ipap/users01.dbfoutput filename=+KEL/ipap/datafile/users.259.850091545 tag=TAG20140613T003030 recid=20 stamp=850091545channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01Finished backup at 13-JUN-14Starting Control File and SPFILE Autobackup at 13-JUN-14piece handle=/home/oracle/flash_recovery_area/IPAP/autobackup/2014_06_13/o1_mf_s_850091546_9sob8ck2_.bkp comment=NONEFinished Control File and SPFILE Autobackup at 13-JUN-14
创建一个文件夹,再次来进行备份发现还是不行的。。。只能直接备份在ASM磁盘组中,而不能指定文件夹:
RMAN> backup as copy database format '+kel/test';Starting backup at 13-JUN-14using channel ORA_DISK_1channel ORA_DISK_1: starting datafile copyinput datafile fno=00001 name=/home/oracle/oradata/ipap/system01.dbfRMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/13/2014 00:43:51ORA-19504: failed to create file "+KEL/test"ORA-17502: ksfdcre:4 Failed to create file +KEL/testORA-15005: name "test" is already used by an existing alias
0 0
- ORA-15005: name "orcl" is already used by an existing alias
- expdp时ORA-00955: name is already used by an existing object
- 编译无效对象ORA-00955: name is already used by an existing object
- Android App Not Install. An existing package by the same name with a conflicting signature is alread
- 132.The tnsnames.ora file has an entry for the service alias ORCL as follows: ORCL = ( DESCRIPTION =
- JDeveloper Issue: "The specified schema object name is not an existing object. Unselect Existing Ob
- objective-c的属性声明问题“ivar used by '@synthesize' declaration must be an existing iva”
- Alias "bootstrap.widgets.TbHeroUnit" is invalid. Make sure it points to an existing PHP file and the
- SpirngMvc常见错误:Bean name 'multipartResolver' is already used in this <beans> element
- Spring配置ioc.xml中报错Bean name 'book01' is already used in this <beans> element
- Caused by: java.lang.IllegalArgumentException: The handle attribute is must refer to an existing chi
- by uninstalling an existing version of the apk if it is present,
- Create 8.3 name for an existing directory
- requires that an attribute name is preceded by whitespace异常
- It is possible that this issue is resolved by uninstalling an existing version of the apk if it is
- It is possible that this issue is resolved by uninstalling an existing version of the apk if it is
- 错误it is already used by statement which invoked this stored functiontrigger的解决方法
- loadrunner启动web tour-Could not open port 1080-Port is already used by another server
- EJB详细解读
- Ajax异步交互
- 截取图片的部分
- PDO使用手册
- 人生的角色
- ORA-15005: name "orcl" is already used by an existing alias
- 世界杯背后的科技:这些年有啥“新面孔
- fio使用指南(最全的参数说明)
- mysql 中文乱码问题
- Hold住,WP8.1版Cortana升级仅冰山一角
- Runtime,Environment,Resources,Context
- 关于apache2中AllowOverride和.htaccess的关系
- C预处理
- 【容易打工网】有压力才能走得快