rman連線AUXILIARY報錯ORA-12528
在使用RMAN建立STANDBY資料庫的過程中,連線AUXILIARY的時候報錯。
詳細錯誤資訊如下:
[oracle@yangtk ~]$ rman target / auxiliary sys/test@172.25.4.70/ora11g
Recovery Manager: Release 11.1.0.6.0 - Production on Wed Nov 7 01:45:35 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ORA11G (DBID=4026820313)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
查詢了一下METALINK,發現這個問題從9i到11g,任何一個版本都可能會出現。造成這個問題的原因是,例項雖然啟動,但是沒有註冊到監聽。例項是透過PMON程式註冊到監聽上的,而PMON程式需要在MOUNT狀態下才會啟動。因此造成了上面的錯誤。
Oracle給出了兩種解決方案,一種方法是對AUXILIARY資料庫直接使用/,對TARGET資料庫透過網路訪問。
[oracle@yangtk2 ~]$ rman target sys/test@172.25.4.127/ORA11G_P.ytk-thinkpad auxiliary /
Recovery Manager: Release 11.1.0.6.0 - Production on Thu Nov 29 13:58:38 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ORA11G (DBID=4026820313)
connected to auxiliary database: ORA11G (not mounted)
RMAN>
第二種方法為AUXILIARY資料庫設定靜態監聽,在$ORACLE_HOME/network/admin目錄下的listener.ora中新增下面的內容:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = ora11g)
(ORACLE_HOME = /data/oracle/product/11.1)
)
)
重啟監聽:
[oracle@yangtk2 admin]$ lsnrctl stop
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 29-NOV-2007 14:01:55
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.25.4.70)(PORT=1521)))
The command completed successfully
[oracle@yangtk2 admin]$ lsnrctl start
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 29-NOV-2007 14:01:59
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /data/oracle/product/11.1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.6.0 - Production
System parameter file is /data/oracle/product/11.1/network/admin/listener.ora
Log messages written to /data/oracle/diag/tnslsnr/yangtk2/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.4.70)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.25.4.70)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 29-NOV-2007 14:01:59
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /data/oracle/product/11.1/network/admin/listener.ora
Listener Log File /data/oracle/diag/tnslsnr/yangtk2/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.25.4.70)(PORT=1521)))
Services Summary...
Service "ora11g" has 1 instance(s).
Instance "ora11g", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
在TARGET伺服器上再次嘗試登陸:
[oracle@yangtk ~]$ rman target / auxiliary sys/test@172.25.4.70/ora11g
Recovery Manager: Release 11.1.0.6.0 - Production on Wed Nov 7 02:21:55 2007
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ORA11G (DBID=4026820313)
connected to auxiliary database: ORA11G (not mounted)
關於這個問題的詳細描述,可以參考metalink文件:Note:419440.1。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4227/viewspace-69529/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【轉帖】rman連線AUXILIARY報錯ORA-12528UX
- 連線ORACLE報錯:ORA-12528Oracle
- auxiliary database: ORA-12528錯誤UXDatabase
- auxiliary ORA-12528UX
- 資料庫例項到nomount 使用連線串無法連線到資料庫 報ORA-12528錯誤資料庫
- 連線oracle報錯Oracle
- Arcgis連線HGDB報錯
- DBeaver連線MySQ報錯
- 連線zk 報錯連線不上hbase jdbcJDBC
- 【RMAN】RMAN-05001: auxiliary filename conflicts with the target databaseUXDatabase
- RMAN 6217 not connected to auxiliary database with a net service nameUXDatabase
- navicate oracle 連線報錯問題Oracle
- 透過Amoeba連線mysql報錯MySql
- 連線RMAN時報錯ora-01008
- RMAN遠端連線目標資料庫遭遇RMAN-06429錯誤資料庫
- OGG Director連線報錯Access denied
- RMAN連線與oracle連線模式的關係Oracle模式
- jive連線mssql2000報錯SQL
- 用rman建立dataguard備用資料庫連線報錯!(eygle版主幫忙看一下)資料庫
- java通過jdbc連線oracle報錯No suitable driverJavaJDBCOracleUI
- MySQL 8.0版本連線報錯:Could not create coMySql
- 用putty連線AWS,報錯“No supported authentication methods available"AI
- minio連線失敗報錯ValueError: path in endpoint is not allowedError
- Oracle 19c中連線RMAN客戶端的連線方法Oracle客戶端
- VScode遠端連線伺服器連線不上,各種神奇的報錯VSCode伺服器
- Python 連線 Minio 報錯:[SSL: WRONG_VERSION_NUMBER]Python
- 外網無法連線Kafka叢集(報錯:NoBrokersAvailable)KafkaAI
- 公司內網使用git clone報錯ssh連線超時內網Git
- ssh連線Linux收到The remote system refused the connection報錯LinuxREM
- 連線資料庫報錯ORA-12514資料庫
- 連線資料庫報錯 ORA-12514資料庫
- 請教。在ejb中用DataSource連線資料庫,報錯!資料庫
- Standby上執行RMAN報錯RMAN-10006錯誤處理
- 專案上線, 連線出錯
- 如何除錯SSH連線除錯
- perl連線Oracle錯誤Oracle
- PD連線oracle時報錯Oracle
- Oracle RMAN 連線資料庫認證方法Oracle資料庫