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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 管理(001):ORAPWD 命令
- oracle orapwd使用說明Oracle
- MySQL優化之系統變數優化MySql優化變數
- 1.7.1. ORAPWD 命令的語法和描述
- Centos下Oracle11gR2安裝教程與自動化配置指令碼CentOSOracle指令碼
- ORACLE11GR2 RAC檔案系統變更成ASM EXTEND RAC及高可用測試OracleASM
- USB之裝置插入波形變化2
- MySQL8.0變化之密碼策略MySql密碼
- MySQL最佳化之系統變數最佳化MySql變數
- Oracle19c orapwd修改密碼之後連線資料庫報ORA-12154Oracle密碼資料庫
- GRASP之受保護的變化 - Kamil Grzybek
- 我眼中的管理之變化中的根本
- 1.7.2. 使用ORAPWD建立資料庫密碼檔案資料庫密碼
- Oracle11gR2 Smart Flash Cache測試說明Oracle
- JavaScript 工作原理之十-使用 MutationObserver 監測 DOM 變化JavaScriptServer
- ORACLE 12C 之叢集日誌位置變化Oracle
- Epic與蘋果之爭:悄悄變化的風向蘋果
- Shader:最佳化破解變體的 “影分身” 之術
- oracle11gR2 RAC更換網路卡實施方案Oracle
- MySQL 8 新特性之持久化全域性變數的修改MySql持久化變數
- 生態“群海”:數字化轉型的供需之變
- ORACLE11GR2 RAC解除安裝ASM例項步驟OracleASM
- MySQL 之變數MySql變數
- JDK 版本變化JDK
- android 14變化Android
- 變數含義,臨近變化變數
- 【密碼檔案】Oracle 18c orapwd 命令 OPW-00029: Password complexity failed密碼OracleAI
- Visual Studio 2015 MFC之Button顏色變化-斷點除錯(Debug)斷點除錯
- 用Python繪製一天之內的氣溫變化圖Python
- Kafka-之資料日誌儲存(格式變化與壓縮)Kafka
- JavaScript之變數物件JavaScript變數物件
- Linux之shell變數Linux變數
- C#之變數C#變數
- ReactNative字型大小不隨系統字型大小變化而變化React
- Pulsar 2.0 新版變化
- 狀態變化模式模式
- Java之StringBuffer可變字串(值可以改變)Java字串
- 數字化轉型:華為變革之冰山一角
- [原始碼解析] PyTorch 分散式之彈性訓練(7)---節點變化原始碼PyTorch分散式