ASM problem : ORA-15001: diskgroup "DGROUP1"
=============================================================mos中的详细解释: ? ODA: After Apply ODA 12.2.1.2.0 Patch,Unable to Create TableSpace Due to [ORA-15001: diskgroup "DATA" does not exist or is not mounted | ORA-15040: diskgroup is incomplete] (Doc ID 2375553.1) ?
========================================================================================================================= ?问题举例 1:原地址? ?https://community.oracle.com/thread/3993000ASM problem : ORA-15001: diskgroup "DGROUP1" does not exist or is not mounted? 问题: I am new to ASM and I am trying to move my non-ASM database to an ASM database. ? Here is the situation : - 1 ASM database version 12.1.0.2.0 - 1 non-ASM database version 11.2.0.1.0 - ASM database is up and running and the diskgroup is mounted - non-ASM database is also up and running - Cluster Synchronization Services seems ok,I issued the following command : $ crsctl check css $ CRS-4529: Cluster Synchronization Services is online ? So far,to move my database to an ASM-database I performed the following steps : ? 1. Changed the location of my non-ASM control_file parameter to my created ASM disks SQL> alter system set control_files=‘+DGROUP1‘ scope=spfile; ? 2. Set the parameter DB_CREATE_FILE_DEST to my ASM disk SQL> alter system set db_create_file_dest=‘+DGROUP1‘ scope=spfile; ? 3. Shutdown and startup nomount my non-ASM database SQL> shutdown immediate SQL> startup nomount ? 4. Restored control file from the existing one rman target / restore controlfile from ‘/oracle/dbfile/ORCL/ORCL/control01.ctl‘; ? This is where I am stuck as I have the following error : ? RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 11/21/2016 16:02:52 ORA-19504: failed to create file "+DGROUP1" ORA-17502: ksfdcre:4 Failed to create file +DGROUP1 ORA-15001: diskgroup "DGROUP1" does not exist or is not mounted ORA-15055: unable to connect to ASM instance ORA-12547: TNS:lost contact ORA-19600: input file is control file? (/oracle/dbfile/ORCL/ORCL/control01.ctl) ORA-19601: output file is control file? (+DGROUP1) ? Does anyone as an idea on how to fix this issue ? ? Thanks very much, ?========================================================================================================= 答案: : Yep,where is the error: ? TNS-00517: Lost contact ??? nt secondary err code: 32 ??? nt OS err code: 0 ERROR: Failed to connect with connect string:?(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/grid/app/oracle/product/11.2.0/grid2/bin/oracle)(ARGV0=oracle+ASM_asmb_orcl)(ENVS=‘ORACLE_HOME=/grid/app/oracle/product/11.2.0/grid2,ORACLE_SID=+ASM‘)(ARGS=‘(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))‘))(enable=setuser)) ? The error has to do with permissions in your directory. Follow the steps in this article to fix the issue. https://daviewning.wordpress.com/2015/04/10/ora-15055-unable-to-connect-to-asm-instance-and-ora-12547-tnslost-contact/ ? You have to change the permission on $GRID_HOME/bin/ chmod 6751 oracle ? And $ORACLE_HOME/bin/ chmod 6751 oracle ? Then try again. ======================================================================================================
?
问题举例二(转载飞总)参考: rac和dg的目录不一样,都采用asm管理磁盘
通过udev 设置: KERNEL=="sd*",BUS=="scsi",PROGRAM=="/sbin/scsi_id -g -u -d /dev/$parent",RESULT=="36000c29196640f0bb64cbb6a20333009",NAME="asmdata01",OWNER="grid",GROUP="asmadmin",MODE="0660"? ?KERNEL=="sd*",RESULT=="36000c29912bdf56b54e0da578f17b8ff",NAME="asmdata02",RESULT=="36000c29603fa50e5f0a5a0537fac7962",NAME="asmfra01",RESULT=="36000c2939990b39898c449f35ac1ef9c",NAME="asmfra02",??GROUP="asmadmin",MODE="0660"故障原因:由于oracle用户无法访问asm disk 权限,导致restore失败,遇到类似情况,可以尝试dbca创建数据库测试,应该不会发现asm磁盘组解决方法:二选一1. 磁盘组所组修改为asmdba2. oracle用户加上所属组asmadmin (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |