pdb受限解決思路
報錯資訊
PDB in restricted mode ,getting following error while trying to connect : ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege SQL> select CON_ID,NAME,OPEN_MODE,RESTRICTED,OPEN_TIME from v$pdbs;
CON_ID NAME OPEN_MODE RESTRICTED OPEN_TIME <<<<<<<<<<< RESTRICTED 3 PDB1 READ WRITE YES 31.01.19 10:22:46,761000000 GMT Pending Errors in pdb_plug_in_violations SQL> select name, cause, type, message, status from pdb_plug_in_violations where type = 'ERROR' and status !='RESOLVED' order
PDB1 Sync Failure ERROR "Sync PDB failed with ORA-65177 during 'alter user "xxx" ...' " PENDING <<<<<<<<< |
原因:PDB PRODUCES SYNC FAILURE
解決方法:
To solve the issue ,delete the offending statement ( alter user "xxx" ) from PDB_SYNC$ for both CDB and PDB
On CDB root ,make a backup of PDB_SYNC$ table and delete de offending rows ===================================================== sqlplus / as sysdba
SQL> col NAME format a30 SQL> col SQLSTMT format a100 SQL> Select CTIME,SQLSTMT,NAME,FLAGS,OPCODE,REPLAY# from PDB_SYNC$;
SQL> create table BKPPDB_SYNC$ as select * from PDB_SYNC$;
SQL> delete from PDB_SYNC$ where SQLSTMT like ('%alter user "xxx"%');
SQL> commit;
On PDB make a backup of PDB_SYNC$ table and delete de offending rows,stop / start the PDB =================================================== SQL> alter session set container=PDB;
SQL> col NAME format a30 SQL> col SQLSTMT format a100 SQL> Select CTIME,SQLSTMT,NAME,FLAGS,OPCODE,REPLAY# from PDB_SYNC$;
SQL> create table BKPPDB_SYNC$ as select * from PDB_SYNC$;
SQL> delete from PDB_SYNC$ where SQLSTMT like ('%alter user "xxx"%');
SQL> commit;
SQL> alter session set container=CDB$ROOT;
SQL> alter pluggable database PDB close;
SQL> alter pluggable database PDB open; |
文件連線: OCI PDB ORA-01035: ORACLE only available to users with RESTRICTED SESSION due to Sync Failure ERROR "Sync PDB failed with ORA-65177 during 'alter user' in pdb_plug_in_violations (Doc ID 2503982.1)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23825935/viewspace-2917308/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE 12C pdb受限解決思路Oracle
- github訪問受限解決辦法Github
- 爬蟲受限的三種解決方案爬蟲
- 爬蟲IP受限的三個解決方法爬蟲
- win10 wifi受限怎麼解決_window10無線網受限怎麼辦Win10WiFi
- minikube配置代理:解決方案以及解決思路
- 解決方案製作思路
- OGG-01705解決思路
- ORA-4031解決思路
- java 遇到NoSuchMethodError通用解決思路JavaError
- Oracle ORA-4031解決思路Oracle
- 解決 "Script Error" 的另類思路Error
- 巢狀ScrollView問題解決思路巢狀View
- win10無線網路受限怎麼解決 win10連線wifi成功但受限制怎樣解除Win10WiFi
- 淺談js的this指向與解決思路JS
- TongWeb下亂碼問題解決思路Web
- HTTP Status 404 的詳細解決思路HTTP
- redis中大key問題的解決思路Redis
- 解決吞吐效能問題時的思路
- PbootCMS上傳圖片變模糊、上傳圖片尺寸受限的解決方案boot
- Ajax跨越問題原因分析與解決思路
- Flutter和iOS手勢衝突解決思路FlutteriOS
- Bigkey問題的解決思路與方式探索
- 資料庫層面問題解決思路資料庫
- 【問題解決】remote: parse error: Invalid numeric literal at line 1, column 20,解決思路REMError
- 如何使用手機代理軟體來解決網路訪問受限的問題?
- 解決Pixel、Lineage等原始系統中的WIFI網路連線受限問題WiFi
- win10網路受限無法連線到internet怎麼辦 win10網路受限無法連線到internet解決方法Win10
- 【PDB】 為Oracle pdb新增服務(pdb add service)Oracle
- nginx代理響應報文體不全解決思路Nginx
- ubuntu下能ping通ssh不通的解決思路Ubuntu
- JavaScript 中精度問題及解決思路彙總JavaScript
- 【故障解決】12c中的APEX,ORA-65346: The PDB version is lower and components
- win10wifi連線受限如何解決_win10系統wifi連線受限怎麼辦Win10WiFi
- 記錄一次重灌電腦黑屏問題解決辦法與解決思路
- 部署Prometheus Operator完整流程及踩坑解決思路Prometheus
- Flutter Future 回撥地獄的一種解決思路Flutter
- Redis擊穿、穿透、雪崩產生原因以及解決思路Redis穿透