您好,登錄后才能下訂單哦!
在dataguard搭建之后,主庫報錯:
Tue Jul 31 15:57:11 2018 Error 12154 received logging on to the standby PING[ARC5]: Heartbeat failed to connect to standby 'dghq'. Error is 12154.
tnsping dghq是ok的。
檢查lns進程不存在
SQL> select process, status, thread#,sequence#, block#, blocks from v$managed_standby; PROCESS STATUS THREAD#SEQUENCE# BLOCK# BLOCKS ------------------ ------------------------ ---------- ---------- ---------- ---------- ARCH CONNECTED 00 0 0 ARCH CLOSING 1 154096 666 ARCH CONNECTED 00 0 0 ARCH CLOSING 1 17 1 400 ARCH CLOSING 1 17 1 400 ARCH CLOSING 1 14 1 24896 ARCH CONNECTED 00 0 0 ARCH CONNECTED 00 0 0 ARCH CONNECTED 00 0 0 ARCH CONNECTED 00 0 0 最后我修改了/etc/hosts后問題解決了--前兩行內容注釋掉,最后把備庫的ip和別名也寫到文件里,重啟os。 [oracle@oraclerac1 ~]$ more /etc/hosts #127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 #::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.10.180 oraclerac1 192.168.10.181 oraclerac2
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。