Oracle11gr2之orapwd變化
1,Oracle10gr2,如果密碼相同,則密碼檔案相同。
SQL> select * from v$version;
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
[oracle@bnet95 ~]$ cd $ORACLE_HOME/dbs
[oracle@bnet95 dbs]$ orapwd file=a password=oracle
[oracle@bnet95 dbs]$ orapwd file=b password=oracle
[oracle@bnet95 dbs]$ diff a b
[oracle@bnet95 dbs]$
[oracle@bnet95 dbs]$ strings a
]\[Z
ORACLE Remote Password file
INTERNAL
AB27B53EDC5FEF41
8A8F025737A9097A
[oracle@bnet95 dbs]$ orapwd file=a password=oracle
[oracle@bnet95 dbs]$ orapwd file=b password=oracle
[oracle@bnet95 dbs]$ diff a b
[oracle@bnet95 dbs]$
[oracle@bnet95 dbs]$ strings a
]\[Z
ORACLE Remote Password file
INTERNAL
AB27B53EDC5FEF41
8A8F025737A9097A
2,Oracle11gr2,即使密碼相同,則密碼檔案也不同。
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
[oracle@h11g dbs]$ orapwd file=a password=oracle
[oracle@h11g dbs]$ orapwd file=b password=oracle
[oracle@h11g dbs]$ diff a b
Binary files a and b differ
[oracle@h11g dbs]$ strings a
]\[Z
ORACLE Remote Password file
INTERNAL
AB27B53EDC5FEF41
8A8F025737A9097A
[oracle@h11g dbs]$ strings b
]\[Z
ORACLE Remote Password file
INTERNAL
AB27B53EDC5FEF41
8A8F025737A9097A
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
[oracle@h11g dbs]$ orapwd file=a password=oracle
[oracle@h11g dbs]$ orapwd file=b password=oracle
[oracle@h11g dbs]$ diff a b
Binary files a and b differ
[oracle@h11g dbs]$ strings a
]\[Z
ORACLE Remote Password file
INTERNAL
AB27B53EDC5FEF41
8A8F025737A9097A
[oracle@h11g dbs]$ strings b
]\[Z
ORACLE Remote Password file
INTERNAL
AB27B53EDC5FEF41
8A8F025737A9097A
3,應用:
在搭建同主機dataguard時,備庫使用orapwd建立的passwordfile,主庫無法傳送日誌,報如下錯誤。使用複製主庫密碼檔案方式,問題解決。
在搭建同主機dataguard時,備庫使用orapwd建立的passwordfile,主庫無法傳送日誌,報如下錯誤。使用複製主庫密碼檔案方式,問題解決。
SQL>select error from v$archive_dest_status where error is not null;
ERROR
-----------------------------------------------------------------
-----------------------------------------------------------------
ORA-16191: Primary log shipping client not logged on standby
[oracle@h11g dbs]$ oerr ora 16191
16191, 0000, "Primary log shipping client not logged on standby"
// *Cause: An attempt to ship redo to standby without logging on
// to standby or with invalid user credentials.
// *Action: Check that primary and standby are using password files and that
// both primary and standby have the same SYS password.
// Restart primary and/or standby after ensuring that
// password file is accessible and REMOTE_LOGIN_PASSWORDFILE
// initialization parameter is set to SHARED or EXCLUSIVE.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/18922393/viewspace-766834/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle工具——ORAPWDOracle
- orapwd的學習
- 管理(001):ORAPWD 命令
- oracle orapwd使用說明Oracle
- Oracle 建立口令檔案 orapwdOracle
- MySQL優化之系統變數優化MySql優化變數
- Oracle11gr2的PLSQL優化NULL語句OracleSQL優化Null
- MySQL最佳化之系統變數最佳化MySql變數
- MySQL8.0變化之密碼策略MySql密碼
- Oracle11gR2後direct path read等待事件的改變Oracle事件
- orapwd建立密碼及驗證方法密碼
- 11g Oracle ORAPWD的改進Oracle
- 怎樣使用orapwd新建口令檔案
- iOS之移動中變化的cell(cell逐漸變大效果)iOS
- 1.7.1. ORAPWD 命令的語法和描述
- Epic與蘋果之爭:悄悄變化的風向蘋果
- 隨著變化而變化(Observer) (轉)Server
- 探索Oracle11gR2 之 DataGuard_03 三種保護模式Oracle模式
- JavaScript 工作原理之十-使用 MutationObserver 監測 DOM 變化JavaScriptServer
- Shader:優化破解變體的 “影分身” 之術優化
- ORACLE 12C 之叢集日誌位置變化Oracle
- QlikView Script – 進階篇1 Script呼叫Macro之變化ViewMac
- (zt)Oracle中password file orapwd的作用及說明Oracle
- orapwd 工具建立密碼檔案遵守的命名方法密碼
- Oracle的ORAPWD工具用來建立密碼檔案Oracle密碼
- MySQL 8 新特性之持久化全域性變數的修改MySql持久化變數
- .net framework新特性之隱式型別化的變數Framework型別變數
- java基礎的學習之引數的變化使用Java
- Oracle11gR2 Active DataGuardOracle
- Oracle11gR2 Dataguard搭建Oracle
- Centos下Oracle11gR2安裝教程與自動化配置指令碼CentOSOracle指令碼
- 1.7.2. 使用ORAPWD建立資料庫密碼檔案資料庫密碼
- SAP S/4 HANA新變化-CO技術變化
- Oracle19c orapwd修改密碼之後連線資料庫報ORA-12154Oracle密碼資料庫
- 【數字影象處理】五.MFC影象點運算之灰度線性變化、灰度非線性變化、閾值化和均衡化處理詳解
- JDK 版本變化JDK
- Oracle 10g Release2新功能之變化通知(轉)Oracle 10g
- MySQL 之變數MySql變數