單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(8)

cow977發表於2011-07-11

單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(1)http://space.itpub.net/81227/viewspace-701181

單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(2)http://space.itpub.net/81227/viewspace-701198

單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(3)http://space.itpub.net/81227/viewspace-701231

單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(4)http://space.itpub.net/81227/viewspace-701293

單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(5)http://space.itpub.net/81227/viewspace-702254

單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(6)http://space.itpub.net/81227/viewspace-702263

單機Linux平臺Oracle 10g DataGuard Physical Standby 搭建例項(7)http://space.itpub.net/81227/viewspace-702264

 

安裝過程中遇到的問題:ORA-12547: TNS:lost contact

 

$ export ORACLE_SID=stby

$ sqlplus /nolog

SQL> Conn / as sysdba

ERROR:

ORA-12547: TNS:lost contact

原因為standby庫還未啟動,在Listener中還未註冊,解決辦法是採用靜態註冊,在listen.ora檔案中加入以下程式碼:

SID_LIST_LISTENER =

  (SID_LIST =

……

    (SID_DESC =

      (GLOBAL_DBNAME = orcl)

      (ORACLE_HOME = …/oracle/product/10.2.0/db_1)

      (SID_NAME = stby)

    )

 

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81227/viewspace-702270/,如需轉載,請註明出處,否則將追究法律責任。

相關文章