Oracle linux 7.5安裝oracle 12c dg一直提示ORA-01017
這幾天在生產環境安裝12c dg很不順利,參照以前6.X裝12c dg,引數什麼的一樣,可一直提示ORA-01017,listener.ora/tnsnames.ora/設定沒啥問題。
如下為後續在自己備庫測試環境搭建引數:
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = racdg)
(ORACLE_HOME = /u01/app/12.2.0/grid)
(SID_NAME = racdg)
)
(SID_DESC =
(GLOBAL_DBNAME = racdg)
(ORACLE_HOME = /u01/app/12.2.0/grid)
(SID_NAME = rac)
)
(SID_DESC =
(GLOBAL_DBNAME = rac)
(ORACLE_HOME = /u01/app/12.2.0/grid)
(SID_NAME = rac)
)
)
tnsnames.ora
RAC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.168)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rac)
(UR=A)
)
)
RACdg =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.188)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = racdg)
(UR=A)
)
)
initracdg.ora 引數
*.audit_file_dest='/u01/app/oracle/admin/rac/adump'
*.audit_trail='db'
*.db_recovery_file_dest='+DATA'
*.db_recovery_file_dest_size=1024m
*.db_unique_name='racdg'
*.db_name='rac'
*.control_files='+DATA/racdg/CONTROLFILE/control01.ctl','+DATA/racdg/CONTROLFILE/control02.ctl'
*.diagnostic_dest='/oracle/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=racXDB)'
*.fal_server='rac'
family:dw_helper.instance_mode='read-only'
*.job_queue_processes=0
#*.local_listener='-oraagent-dummy-'
*.log_archive_config='DG_CONFIG=(racdg,rac)'
*.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=racdg'
*.log_archive_dest_2='SERVICE=rac LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=rac'
#*.log_archive_dest_state_1='ENABLE'
#*.log_archive_dest_state_2='ENABLE'
*.log_archive_format='%t_%s_%r.dbf'
*.open_cursors=300
*.processes=1000
*.remote_login_passwordfile='exclusive'
*.standby_file_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.service_names='racdg'
*.log_file_name_convert='+DATA/rac/','+DATA/racdg/ONLINELOG/','+DATA/rac/ONLINELOG','+DATA/racdg/ONLINELOG'
*.db_file_name_convert='+DATA/rac/','+DATA/racdg/DATAFILE/','+DATA/rac/DATAFILE/','+DATA/racdg/DATAFILE'
*.local_listener='-oraagent-dummy-' 這個引數我不遮蔽,一直會提示 ORA-01017: invalid username/password
我遮蔽了這個引數後,再次重啟資料庫,問題解決。 實在有些納悶,這個引數不是管控動態註冊的嗎?而且以前其他版本這個引數我都沒有去遮蔽都沒問題。不知道有沒有其他朋友碰到類似問題,還請解答下。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26936454/viewspace-2644855/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Linux 7.5下載和安裝OracleLinux
- Oracle 12C安裝Oracle
- oracle 12c release 2 安裝Oracle
- Linux安裝oracleLinuxOracle
- Linux系統oracle 12c VMware Tools 的安裝教程LinuxOracle
- Oracle 11.2.0.1.0在Centos7.5安裝的坑OracleCentOS
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- Oracle 12c資料庫安裝Oracle資料庫
- ORACLE 11.2.0.4 DG(Broker) for linux 部署OracleLinux
- Oracle Linux 6.5 安裝Oracle 10gR2LinuxOracle 10g
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- 【DG】Oracle11g異構平臺之Linux To Windows DataGuard安裝配置--duplicateOracleLinuxWindows
- Oracle Linux 7.1中安裝MariadbOracleLinux
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.3. Oracle net配置OracleLinux
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- Oracle Linux 6.7 靜預設安裝Oracle 11gOracleLinux
- 【UP_ORACLE】如何給Oracle DG打補丁(二)備庫安裝補丁步驟Oracle
- 【UP_ORACLE】如何給Oracle DG打補丁(三)主庫安裝補丁步驟Oracle
- Oracle 12c DG管理-分離SYS特權使用者Oracle
- Oracle:DG 的 switchoverOracle
- oracle dg報錯Oracle
- 在Oracle Linux 7.1上安裝DockerOracleLinuxDocker
- Oracle 12C TDE問題引發DG不同步案例分析Oracle
- Oracle 12c DG備庫啟動報錯standby database requires recoveryOracleDatabaseUI
- 「Oracle」Oracle 資料庫安裝Oracle資料庫
- Oracle 12C Centos7.4桌面版本安裝OracleCentOS
- linux簡易 Oracle客戶端安裝LinuxOracle客戶端
- Oracle安裝相關Linux引數(轉)OracleLinux
- Linux下Oracle 11.2.0.1 RAC安裝筆記LinuxOracle筆記
- LINUX ORACLE OGG12C安裝(一)LinuxOracle
- LINUX ORACLE OGG12C安裝(二)LinuxOracle
- Oracle Linux 7.1 靜默安裝Weblogic 12.2.1.3OracleLinuxWeb
- oracle linux 7 安裝圖形化介面OracleLinux
- Oracle RAC+DG搭建Oracle
- Oracle DG 日常點檢Oracle
- Oracle DG管理Broker配置Oracle
- oracle之 安裝oracle指定jdk 或者如何解決提示框顯示不全OracleJDK
- oracle安裝配置Oracle