【故障解決】12c中的APEX,ORA-65346: The PDB version is lower and components
Oracle APEX 在 12.1.0.2.0 中預設安裝,而在 12.2.0.1.0 未預設安裝,如果不進行 APEX 解除安裝,在 12.2.0.1.0 中 plug 12.1.0.2.0 版本的 pdb 將報如下 ORA-65346 錯誤:
ERROR at line 1: ORA-65346: The PDB version is lower and components (APEX) are missing in CDB. - APEX mismatch: PDB has installed common APEX. CDB has not installed APEX.
解決:編輯xml 檔案 /tmp/ pdbsample.xml , 刪除以下行:
<APEX>4.2.5.00.08:1</APEX>
或者解除安裝APEX :
select COMP_ID, STATUS from DBA_REGISTRY where COMP_ID='APEX'; SQL>@?/apex/apxremov_nocdb.sql
11g 需要跑 apxremov.sql , 12.1.0.2 需要跑指令碼 apxremov_con.sql ,其它版本需要跑 apxremov_nocdb.sql 或 apxremov_cdb.sql 進行解除安裝 APEX 元件。
19c中解除安裝APEX元件
#移除PDB中的APEX元件,在PDB中執行,在19c中會報錯,我們可以將18c中的相應指令碼複製到19c中的相應位置後再執行@?/apex/apxremov_nocdb.sql即可。
ORA-01435: User does not Exist, Removing APEX (Doc ID 2641217.1) |
In this Document
|
Symptoms |
|
Changes |
|
Cause |
|
Solution |
APPLIES TO:
Oracle Application Express (APEX) - Version 3.2.1 and later
Information in this document applies to any platform.
SYMPTOMS
On : APEX 3.2.1 version, Administration
When attempting to remove APEX using script apxremov.sql found under the ORACLE_HOME of a 19c DB
the following error occurs.
STEPS
-----------------------
1. Take an RMAN backup from 11g (Database) DB and restore it in a 19c DB
2. Try to remove APEX using apxremov.sql script
CHANGES
CAUSE
Using the wrong version of the script (for the version of APEX to be remove).
Per example: the script belong to APEX 5.0 and you want to remove APEX 3.2.
SOLUTION
You need to use the apxremov.sql script that belongs to the APEX version installed on the DB (i.e for APEX 3.2 you can find the correct script under the $ORACLE_HOME/apex but from 11g database) as the apex version changes with each DB version.
If your 19c DB is on another server, we suggest:
1. Zip all of the apex directory from the 11g server.
2. Unzip under /tmp on target machine.
3. Then change directories (cd) to the new apex directory and connected as SYS run the script from here.
升級APEX 元件
從 18c 開始, Oracle 不會自動更新 APEX 元件,需要手動更新。
下載 APEX : http://www.oracle.com/technetwork/developer-tools/apex/all-archives-099381.html
要寫切換到解壓的 apex 所在的目錄下再以 sysdba 身份登入資料庫,執行指令碼升級
[oracle@cndba apex]$ pwd
/software/apex
sqlplus / as sysdba
SQL > @apexins.sql SYSAUX SYSAUX TEMP /i/
檢查 APEX 版本
COL COMP_NAME FORMAT A40
COL STATUS FORMAT A12
SELECT COMP_NAME, STATUS, VERSION
FROM DBA_REGISTRY
WHERE COMP_NAME='Oracle Application Express';
COMP_NAME STATUS VERSION
---------------------------------------- ------------ --------------------
Oracle Application Express VALID 5.1.4.00.08
About Me
........................................................................................................................ ● 本文作者:小麥苗,部分內容整理自網路,若有侵權請聯絡小麥苗刪除 ● 本文在itpub( http://blog.itpub.net/26736162)、部落格園( http://www.cnblogs.com/lhrbest)和個人weixin公眾號( xiaomaimiaolhr)上有同步更新 ● 本文itpub地址: http://blog.itpub.net/26736162 ● 本文部落格園地址: http://www.cnblogs.com/lhrbest ● 本文pdf版、個人簡介及小麥苗雲盤地址: http://blog.itpub.net/26736162/viewspace-1624453/ ● 資料庫筆試面試題庫及解答: http://blog.itpub.net/26736162/viewspace-2134706/ ● DBA寶典今日頭條號地址: ........................................................................................................................ ● QQ群號: 230161599(滿) 、618766405 ● weixin群:可加我weixin,我拉大家進群,非誠勿擾 ● 聯絡我請加QQ好友 ( 646634621 ),註明新增緣由 ● 於 2018-11-01 06:00 ~ 2018-11-31 24:00 在魔都完成 ● 最新修改時間:2018-11-01 06:00 ~ 2018-11-31 24:00 ● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解 ● 版權所有,歡迎分享本文,轉載請保留出處 ........................................................................................................................ ● 小麥苗的微店: ● 小麥苗出版的資料庫類叢書: http://blog.itpub.net/26736162/viewspace-2142121/ ● 小麥苗OCP、OCM、高可用網路班: http://blog.itpub.net/26736162/viewspace-2148098/ ● 小麥苗騰訊課堂主頁: https://lhr.ke.qq.com/ ........................................................................................................................ 使用 weixin客戶端掃描下面的二維碼來關注小麥苗的weixin公眾號( xiaomaimiaolhr)及QQ群(DBA寶典)、新增小麥苗weixin, 學習最實用的資料庫技術。
........................................................................................................................ |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2222308/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE 12C pdb受限解決思路Oracle
- Oracle 12c PDB中碰到的DG問題Oracle
- Oracle 12C -- 使用seed PDB建立新的pdbOracle
- [APEX] 解決chrome中開發apex應用時的持續彈窗認證問題Chrome
- 【故障解決】ORA-17630: Mismatch in the remote file protocol version client 2REMProtocolclient
- Oracle 12c 多租戶在 CDB 中 Plug A PDB,Unplugging A PDBOracle
- pdb受限解決思路
- 12c pdb基本操作
- Oracle 12c Relocate PDBOracle
- Oracle 12C 中CDB和PDB的引數檔案管理Oracle
- Oracle 12c系列(二)|PDB的建立Oracle
- 當12C PDB遇上JDBCJDBC
- Oracle 12c PDB淺析Oracle
- oracle 12c PDB隨CDB啟動和連結PDB的方式Oracle
- oracle 12c中CDB和PDB的備份還原實驗Oracle
- Oracle 12C RMAN transport tablespace from PDB of RAC CDB to remote PDBOracleREM
- Oracle 12c PDB遷移(一)Oracle
- Oracle 12c系列(六)|Relocate a PDBOracle
- Oracle 12c系列(五)|PDB RefreshOracle
- oracle 12c rman備份pdbOracle
- Oracle 12c PDB淺析(二)Oracle
- Hadoop中Namenode單點故障的解決方案Hadoop
- Xamarin中Unsupported major.minor version 52.0問題解決
- 解決The given version [xx] is not supported, only version 1 to 10 is supported in this buildUI
- NFS故障解決NFS
- 使用12c PDB整合環境的總結
- 12c中新增PDB後GoldenGate的配置Go
- 解決 'PLAN_TABLE' is old version
- Oracle 12c 多租戶 手工建立 pdb 與 手工刪除 pdbOracle
- 【idea建立專案之JDK版本問題】 version of Java 17 is not supported by the project SDK ‘1.8‘. Either choose a lower versionIdeaJDKJavaProject
- ORACLE 12C新特性——CDB與PDBOracle
- oracle 12c使用dblink克隆pdbOracle
- 12c RAC 和 CDB/PDB 學習
- Oracle 12c多租戶特性詳解:PDB 的建立、克隆與維護Oracle
- Oracle 12c多租戶特性詳解:PDB 的出與入 InAndOutOracleNaN
- Oracle 12c多租戶特性詳解:PDB 的備份與恢復Oracle
- WARNING:Could not lower the asynch I/O limit 錯誤解決MIT
- Oracle 12c PDB的資料備份恢復Oracle