标签云
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 2131 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)
- 操作系统 (102)
- 数据库 (1,683)
- DB2 (22)
- MySQL (73)
- Oracle (1,545)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (24)
- ORA-xxxxx (159)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (15)
- ORACLE 21C (3)
- Oracle 23ai (7)
- Oracle ASM (68)
- Oracle Bug (8)
- Oracle RAC (53)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (28)
- Oracle备份恢复 (565)
- Oracle安装升级 (92)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (79)
- PostgreSQL (18)
- PostgreSQL恢复 (6)
- SQL Server (27)
- SQL Server恢复 (8)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (37)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (20)
-
最近发表
- ORA-15411: Failure groups in disk group DATA have different number of disks.
- 断电引起的ORA-08102: 未找到索引关键字, 对象号 39故障处理
- ORA-00227: corrupt block detected in control file
- 手工删除19c rac
- 解决oracle数据文件路径有回车故障
- .wstop扩展名勒索数据库恢复
- Oracle Recovery Tools工具一键解决ORA-00376 ORA-01110故障(文件offline)
- OGG-02771 Input trail file format RELEASE 19.1 is different from previous trail file form at RELEASE 11.2.
- OGG-02246 Source redo compatibility level 19.0.0 requires trail FORMAT 12.2 or higher
- GoldenGate 19安装和打patch
- dd破坏asm磁盘头恢复
- 删除asmlib磁盘导致磁盘组故障恢复
- Kylin Linux 安装19c
- ORA-600 krse_arc_complete.4
- Oracle 19c 202410补丁(RUs+OJVM)
- ntfs MFT损坏(ntfs文件系统故障)导致oracle异常恢复
- .mkp扩展名oracle数据文件加密恢复
- 清空redo,导致ORA-27048: skgfifi: file header information is invalid
- A_H_README_TO_RECOVER勒索恢复
- 通过alert日志分析客户自行对一个数据库恢复的来龙去脉和点评
标签归档:_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>