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)

APPLIES TO:

Oracle Database Appliance Software - Version 12.1.2.10 to 12.1.2.12 [Release 12.1]
Oracle Database - Enterprise Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]
Information in this document applies to any platform.

SYMPTOMS

After ODA upgrade to 12.2.1.2.0 release, tableSpaces cannot be created from 12.1 database in the ASM diskgroups due to the next errors:

ODA升级到12.2.1.2.0版本后,由于以下错误,无法从ASM磁盘组中的12.1数据库创建表空间

*****************
STATUS : OPEN
DB_UNIQUE_NAME : CLOUDDB
OPEN_MODE : READ WRITE
LOG_MODE : ARCHIVELOG
DATABASE_ROLE : PRIMARY
FLASHBACK_ON : YES
FORCE_LOGGING : YES
VERSION : 12.1.0.2.0
CDB Enabled : NO
*************************************
oracle@asmclouddb:/home/oracle/ [CLOUDDB] sqh SQL*Plus: Release 12.1.0.2.0 Production on Mon Mar 12 17:33:23 2018 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics
and Real Application Testing options SQL> create tablespace testrecodg datafile '+RECO' size 1000M;
create tablespace testrecodg datafile '+RECO' size 1000M
*
ERROR at line 1:
ORA-01119: error in creating database file '+RECO'
ORA-17502: ksfdcre:4 Failed to create file +RECO
ORA-15001: diskgroup "RECO" does not exist or is not mounted
ORA-15040: diskgroup is incomplete SQL> create tablespace testredodg datafile '+REDO' size 1000M;
create tablespace testredodg datafile '+REDO' size 1000M
*
ERROR at line 1:
ORA-01119: error in creating database file '+REDO'
ORA-17502: ksfdcre:4 Failed to create file +REDO
ORA-15001: diskgroup "REDO" does not exist or is not mounted
ORA-15040: diskgroup is incomplete SQL> create tablespace testredodg datafile '+DATA' size 1000M;
create tablespace testredodg datafile '+DATA' size 1000M
*
ERROR at line 1:
ORA-01119: error in creating database file '+DATA'
ORA-17502: ksfdcre:4 Failed to create file +DATA
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15040: diskgroup is incomplete SQL> create tablespace testredodg datafile '+FLASH' size 1000M;
create tablespace testredodg datafile '+FLASH' size 1000M
*
ERROR at line 1:
ORA-01119: error in creating database file '+FLASH'
ORA-17502: ksfdcre:4 Failed to create file +FLASH
ORA-15001: diskgroup "FLASH" does not exist or is not mounted
ORA-15040: diskgroup is incomplete SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics
and Real Application Testing options
oracle@asmclouddb:/home/oracle/ [CLOUDDB]

CAUSE

The OS group in the oracle RDBMS Oracle Home binary is not correct, it should be asmadmin instead of oinstall:

oracle RDBMS Oracle Home二进制文件中的OS组不正确,它应该是asmadmin而不是oinstall

[root@ ~]# ls -l /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
-rwsr-s--x 1 oracle oinstall 328120913 Feb 24 02:47 /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle

SOLUTION

a) Please execute the next steps as grid OS user:  请以grid OS用户身份执行以下步骤

$> setasmgidwrap o=/u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle

$> chgrp asmadmin /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle

$> ls -l /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle

b) Then confirm the TableSpaces can be created:  然后确认可以创建TableSpaces

SQL*Plus: Release 12.1.0.2.0 Production on Fri Mar 16 10:04:45 2018

Copyright (c) 1982, 2014, Oracle. All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Advanced Analytics
and Real Application Testing options SQL> create tablespace test1 datafile '+RECO' size 1000M; Tablespace created. SQL> create tablespace test2 datafile '+DATA' size 100M; Tablespace created. SQL> create tablespace test3 datafile '+REDO' size 100M; Tablespace created. SQL> create tablespace test4 datafile '+FLASH' size 100M; Tablespace created.

REFERENCES

NOTE:470211.1 - How To Gather & Backup ASM/ACFS Metadata In A Formatted Manner version 10.1, 10.2, 11.1, 11.2, 12.1 and 12.2?
NOTE:888888.1 - Oracle Database Appliance - 18.1, 12.X, and 2.X Supported ODA Versions & Known Issues

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. Data Guard Physical Standby - RAC Primary to RAC Standby 使用第二个网络 (Doc ID 1349977.1)

    Data Guard Physical Standby - RAC Primary to RAC Standby using a second network (Doc ID 1349977.1) A ...

  2. Step by Step Process of Migrating non-CDBs and PDBs Using ASM for File Storage (Doc ID 1576755.1)

    Step by Step Process of Migrating non-CDBs and PDBs Using ASM for File Storage (Doc ID 1576755.1) AP ...

  3. 如何计算Data Guard环境中Redo所需的网络带宽传输 (Doc ID 736755.1)

    How To Calculate The Required Network Bandwidth Transfer Of Redo In Data Guard Environments (Doc ID ...

  4. How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12 (Doc ID 362496.1)

    Modified: 29-Mar-2014 Type: HOWTO In this DocumentGoal   Solution   1. Based upon an output file gen ...

  5. Configuring Oracle E-Business Suite Integrated SOA Gateway Release 12.1.2 and Release 12.1.3 in a Multinode Environment (Doc ID 1081100.1)

    Configuring Oracle E-Business Suite Integrated SOA Gateway Release 12.1.2 and Release 12.1.3 in a Mu ...

  6. SLES 12: Database Startup Error with ORA-27300 ORA-27301 ORA-27303 While Starting using Srvctl (Doc ID 2340986.1)

    SLES 12: Database Startup Error with ORA-27300 ORA-27301 ORA-27303 While Starting using Srvctl (Doc ...

  7. wsse:InvalidSecurity Error When Testing FND_PROFILE Web Service in Oracle Applications R 12.1.2 from SOAP UI (Doc ID 1314946.1)

    wsse:InvalidSecurity Error When Testing FND_PROFILE Web Service in Oracle Applications R 12.1.2 from ...

  8. Using Load-Balancers with Oracle E-Business Suite Release 12 (Doc ID 380489.1)

      Using Load-Balancers with Oracle E-Business Suite Release 12 (Doc ID 380489.1) Modified: 12-Jun-20 ...

  9. FAQ: Oracle Flex ASM 12c / 12.1 (Doc ID 1573137.1)

    FAQ: Oracle Flex ASM 12c / 12.1 (Doc ID 1573137.1) APPLIES TO: Oracle Database - Enterprise Edition ...

随机推荐

  1. LinuxProbe小结

    1.修改主机名: /etc/hostname 2.配置 yum 软件仓库: (1)进入到 /etc/yum.repos.d/目录下,创建一个linuxprobe.repo的新文件(文件名称任意,结尾必 ...

  2. Redux学习及应用

    Redux学习及应用 一:Redux的来源? Redux 是 JavaScript 状态容器,提供可预测化的状态管理.Redux是由 Flux 演变而来,但受 Elm 的启发,避开了 Flux 的复杂 ...

  3. 从零开始的vue学习笔记(三)

    事件处理 v-on 指令监听 DOM 事件,并在触发时运行一些 JavaScript 代码,示例: <div id="example-2"> <!-- `gree ...

  4. 简洁优雅的Python教你如何在工作中“偷懒”

    前言 本文的文字及图片来源于网络,仅供学习.交流使用,不具有任何商业用途,版权归原作者所有,如有问题请及时联系我们以作处理. 作者: A字头 PS:如有需要Python学习资料的小伙伴可以加点击下方链 ...

  5. 使用hexo、github Pages搭建博客

    1. 安装node 如果本机已经有node,为避免安装出现问题,建议先升级到最新版.参考:https://juejin.im/post/5b9739d1e51d450e9f66ee3b 2. 安装he ...

  6. angular cli 使用echarts

    1.安装库 npm install typings echarts --global npm install ngx-echarts --save npm install @types/echarts ...

  7. Docker容器镜像打成tar包

    简述需求: 在现在容器上保存镜像进行打包,在另一台服务上使用 首先查看下现有要打tar包的容器 docker ps -a 接下来用commit参数进行保存镜像, -a 提交人的姓名  -m “提交内容 ...

  8. CVE-2019-0708漏洞复现

    前言: 该漏洞前段时间已经热闹了好一阵子了,HW期间更是使用此漏洞来进行钓鱼等一系列活动,可为大家也是对此漏洞的关心程度,接下里就简单的演示下利用此漏洞进行DOS攻击.当然还有RCE的操作,这只演示下 ...

  9. Oracle dataguard切换实施步骤

    主备库的切换主要在两种情况下切换,Switchover和Failover,这两种切换都需要手工执行完成,不建议自动执行.主库端 192.168.411.20备库端 192.168.411.221 一是 ...

  10. nginx 配置实例-反向代理

    反向代理实例一 虚拟机IP:192.168.116.129实现效果:使用 nginx 反向代理,访问 www.123.com 直接跳转到 虚拟机的192.168.116.129:8080  实验代码  ...