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

最新文章

  1. salesforce 零基础学习(三十一)关于LookUp字段点击Save时的Validation
  2. 1019在winddow上面安装MYSQL服务
  3. Unity碰撞器触发关系测试
  4. 安装 python psutil 包
  5. AC日记——手写堆ac合并果子(傻子)
  6. C++对象内存模型1(堆栈模型)
  7. 银联接口(注意项&备忘)
  8. flexbox 兼容安卓4.3
  9. DUILIB创建不规则窗体,自定义控件(很不错的几十篇文章)
  10. Sencha Touch 的基础知识
  11. 分享一个通用的分页SQL
  12. linux--关于shell的介绍
  13. app.get is not a function解决方案
  14. Gym 101606 - A/B/C/D/E/F/G/H/I/J/K/L - (Undone)
  15. (原)faster rcnn的tensorflow代码的理解
  16. python开发day03
  17. 第12月第1天 MASConstraintMaker crash
  18. Mybatis源码分析之SqlSessionFactory(一)
  19. Coding和Git的环境搭建
  20. [BZOJ5306][HAOI2018]染色(容斥+FFT)

热门文章

  1. 求连通块的面积 - BFS、DFS实现
  2. cesium 圆圈警戒扫描(附源码下载)
  3. 【iOS】Swipe与Pan区别分析
  4. Windows添加自定义开机用户登录启动程序
  5. 12.2新特性 使用DBCA duplicate创建物理备用数据库 (Doc ID 2283697.1)
  6. Java_可变参数类型
  7. MATLAB小函数:将列向量转化为0-1矩阵
  8. 设置fiddler抓取安卓手机的包
  9. Linux中ps -elf和ps aux的区别
  10. 阿里云 centOS系统 配置 node + ngnix