标签云
asm 恢复 asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 kfed MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-01110 ORA-01555 ORA-01578 ORA-08103 ORA-600 2662 ORA-600 2663 ORA-600 3020 ORA-600 4000 ORA-600 4137 ORA-600 4193 ORA-600 4194 ORA-600 16703 ORA-600 kcbzib_kcrsds_1 ORA-600 KCLCHKBLK_4 ORA-15042 ORA-15196 ORACLE 12C oracle dul ORACLE PATCH Oracle Recovery Tools oracle加密恢复 oracle勒索 oracle勒索恢复 oracle异常恢复 ORACLE恢复 Oracle 恢复 ORACLE数据库恢复 oracle 比特币 OSD-04016 YOUR FILES ARE ENCRYPTED 勒索恢复 比特币加密文章分类
- Others (2)
- 中间件 (2)
- WebLogic (2)
- 操作系统 (100)
- 数据库 (1,597)
- DB2 (22)
- MySQL (70)
- Oracle (1,463)
- Data Guard (49)
- EXADATA (7)
- GoldenGate (21)
- ORA-xxxxx (158)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (13)
- ORACLE 21C (3)
- Oracle ASM (65)
- Oracle Bug (7)
- Oracle RAC (47)
- Oracle 安全 (6)
- Oracle 开发 (27)
- Oracle 监听 (27)
- Oracle备份恢复 (530)
- Oracle安装升级 (84)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (75)
- PostgreSQL (17)
- PostgreSQL恢复 (5)
- SQL Server (27)
- SQL Server恢复 (8)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (36)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (19)
-
最近发表
- Oracle 19c/21c最新patch信息-202404
- PostgreSQL恢复系列:pg_filedump批量处理
- PostgreSQL部分主要字典信息
- PostgreSQL恢复系列:pg_filedump恢复字典构造
- PostgreSQL 16 源码安装
- ORA-00742 ORA-00312 恢复
- 数据库open成功后报ORA-00353 ORA-00354错误引起的一系列问题(本质ntfs文件系统异常)
- ORA-600 ktsiseginfo1故障
- ORA-00600: internal error code, arguments: [16703], [1403], [4] 原因
- 最近遇到几起ORA-600 16703故障(tab$被清空),请引起重视
- ORA-600 2662快速恢复之Patch scn工具
- TNS-12518: TNS:listener could not hand off client connection
- ora.storage无法启动报ORA-12514故障处理
- 断电引起文件scn异常数据库恢复
- ORA-16188: LOG_ARCHIVE_CONFIG settings inconsistent with previously started instance
- .[hudsonL@cock.li].mkp勒索加密数据库完美恢复
- 模拟带库实现rman远程备份
- 又一例:ORA-600 kclchkblk_4和2662故障
- Oracle误删除数据文件恢复
- Oracle 19C 备库DML重定向—DML Redirection
标签归档:_exadata_feature_on
ORA-12754: Feature ‘startup’ is disabled due to missing capability ‘Runtime Environment’
ORACLE 18C启动报ORA-12754
从http://edelivery.oracle.com网上可以下载oracle 18c for exadata,在普通的linux平台可以正常安装,但是无法正常启动实例(dbca无法创建库),报错信息为:ORA-12754: Feature ‘startup’ is disabled due to missing capability ‘Runtime Environment’.
由于普通的linux而非真实oracle一体机,而该版本中做了限制,因此无法启动数据库.根据oracle的作风,对于引进的新特性,oracle一般都提供隐含参数或者event控制,通过分析确定有_exadata_feature_on参数进行控制.
修改脚本创建库参数
由于我们无法在dbca图形化的界面中增加新参数,因此可以通过生成创建库脚本,然后通过修改参数文件,增加_exadata_feature_on=true
[oracle@xifenfei scripts]$ ls -ltr *.ora -rw-r----- 1 oracle oinstall 2252 Feb 28 09:22 init.ora -rw-r----- 1 oracle oinstall 2264 Feb 28 09:28 initxffdbTempOMF.ora -rw-r----- 1 oracle oinstall 2386 Feb 28 09:29 initxffdbTemp.ora
然后重新执行xffdb.sh脚本创建库
[oracle@xifenfei scripts]$ sh xffdb.sh You should Add this entry in the /etc/oratab: xffdb:/u02/soft:Y SQL*Plus: Release 18.0.0.0.0 Production on Wed Feb 28 09:29:48 2018 Version 18.1.0.0.0 Copyright (c) 1982, 2017, Oracle. All rights reserved. Enter new password for SYS: Enter new password for SYSTEM: Enter password for SYS: Connected to an idle instance. SQL> spool /u02/app/oracle/admin/xffdb/scripts/CloneRmanRestore.log append SQL> startup mount pfile="/u02/app/oracle/admin/xffdb/scripts/initxffdbTempOMF.ora"; ORACLE instance started. Total System Global Area 2432694552 bytes Fixed Size 8898840 bytes Variable Size 654311424 bytes Database Buffers 1761607680 bytes Redo Buffers 7876608 bytes Database mounted. SQL> execute dbms_backup_restore.resetCfileSection(dbms_backup_restore.RTYP_DFILE_COPY); PL/SQL procedure successfully completed. SQL> execute dbms_backup_restore.resetCfileSection(13); PL/SQL procedure successfully completed. SQL> host /u02/soft/bin/rman @/u02/app/oracle/admin/xffdb/scripts/rmanRestoreDatafiles.sql &&sysPassword; Recovery Manager: Release 18.0.0.0.0 - Production on Wed Feb 28 09:30:08 2018 Version 18.1.0.0.0 Copyright (c) 1982, 2018, Oracle and/or its affiliates. All rights reserved. RMAN> connect target * 2> 3> CATALOG START WITH '/u02/soft/assistants/dbca/templates//Seed_Database.dfb' NOPROMPT ; 4> 5> RUN { 6> 7> set newname for datafile 1 to '/u02/app/oracle/oradata/XFFDB/system01.dbf' ; 8> 9> set newname for datafile 3 to '/u02/app/oracle/oradata/XFFDB/sysaux01.dbf' ; 10> 11> set newname for datafile 4 to '/u02/app/oracle/oradata/XFFDB/undotbs01.dbf' ; 12> 13> set newname for datafile 7 to '/u02/app/oracle/oradata/XFFDB/users01.dbf' ; 14> 15> restore datafile 1; 16> 17> restore datafile 3; 18> 19> restore datafile 4; 20> 21> restore datafile 7; } 22> connected to target database: SEEDDATA (DBID=1214140, not open) …………………… SQL> set echo on SQL> spool /u02/app/oracle/admin/xffdb/scripts/postPDBCreation.log append SQL> select TABLESPACE_NAME from cdb_tablespaces a,dba_pdbs b where a.con_id=b.con_id and UPPER(b.pdb_name)=UPPER('pdb'); TABLESPACE_NAME ------------------------------ SYSTEM SYSAUX UNDOTBS1 TEMP USERS SQL> connect "SYS"/"&&sysPassword" as SYSDBA Connected. SQL> alter session set container=pdb; Session altered. SQL> set echo on SQL> spool /u02/app/oracle/admin/xffdb/scripts/postPDBCreation.log append SQL> Select count(*) from dba_registry where comp_id = 'DV' and status='VALID'; COUNT(*) ---------- 1 SQL> alter session set container=CDB$ROOT; Session altered. SQL> exit; Disconnected from Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production Version 18.1.0.0.0 [oracle@xifenfei scripts]$
登录oracle 18c
[oracle@xifenfei scripts]$ sqlplus / as sysdba SQL*Plus: Release 18.0.0.0.0 Production on Wed Feb 28 09:40:08 2018 Version 18.1.0.0.0 Copyright (c) 1982, 2017, Oracle. All rights reserved. Connected to: Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production Version 18.1.0.0.0 SQL> set lines 150 SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- BANNER_FULL ------------------------------------------------------------------------------------------------------ BANNER_LEGACY CON_ID -------------------------------------------------------------------------------- ---------- Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production Version 18.1.0.0.0 Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production 0 SQL> col name for a52 SQL> col value for a24 SQL> col description for a50 SQL> set linesize 150 SQL> select a.ksppinm name,b.ksppstvl value,a.ksppdesc description 2 from x$ksppi a,x$ksppcv b 3 where a.inst_id = USERENV ('Instance') 4 and b.inst_id = USERENV ('Instance') 5 and a.indx = b.indx 6 and upper(a.ksppinm) LIKE upper('%¶m%') 7 order by name 8 / Enter value for param: _exadata_feature_on old 6: and upper(a.ksppinm) LIKE upper('%¶m%') new 6: and upper(a.ksppinm) LIKE upper('%_exadata_feature_on%') NAME VALUE DESCRIPTION ---------------------------------------------------- ------------------------ ------------------------- _exadata_feature_on TRUE Exadata Feature On SQL> show parameter name; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ cdb_cluster_name string cell_offloadgroup_name string db_file_name_convert string db_name string xffdb db_unique_name string xffdb global_names boolean FALSE instance_name string xffdb lock_name_space string log_file_name_convert string pdb_file_name_convert string processor_group_name string NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ service_names string xffdb SQL>