問題:
成都創新互聯專業為企業提供大英網站建設、大英做網站、大英網站設計、大英網站制作等企業網站建設、網頁設計與制作、大英企業網站模板建站服務,10年大英做網站經驗,不只是建網站,更提供有價值的思路和整體網絡服務。數據庫啟動報錯:ORA-00119、ORA-00132等
環境:
DB:Oracle 11.2.0.4.0
OS:Redhat 6.5
問題現象:
啟動數據庫報錯:
[grid@rac01 ~]$ srvctl start database -d cjcdb
PRCR-1079 : Failed to start resource ora.cjcdb.db CRS-5017: The resource action "ora.cjcdb.db start" encountered the following error: ORA-00119: invalid specification for system parameter REMOTE_LISTENER ORA-00132: syntax error or unresolved network name 'rac-scan.cjc.com:1521' . For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/rac02/agent/crsd/oraagent_oracle/oraagent_oracle.log". CRS-5017: The resource action "ora.cjcdb.db start" encountered the following error: ORA-00119: invalid specification for system parameter REMOTE_LISTENER ORA-00132: syntax error or unresolved network name 'rac-scan.cjc.com:1521' . For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/rac01/agent/crsd/oraagent_oracle/oraagent_oracle.log". CRS-2674: Start of 'ora.cjcdb.db' on 'rac02' failed CRS-2674: Start of 'ora.cjcdb.db' on 'rac01' failed CRS-2632: There are no more servers to try to place resource 'ora.cjcdb.db' on that would satisfy its placement policy
其中remote_listener參數值為:rac-scan.cjc.com:1521
懷疑DNS解析SCAN失敗
登錄到rac01執行nslookup rac-scan.cjc.com
[root@rac01 bin]# nslookup rac-scan.cjc.com ;; connection timed out; trying next origin ;; connection timed out; no servers could be reached
查看resolv.conf配置信息被清空了,實際上每次服務器重啟網卡resolv.conf配置都會被自動清空
[root@rac01 bin]# cat /etc/resolv.conf # Generated by NetworkManager nameserver 8.8.8.8
檢查網卡配置文件里沒有指定90的DNS,手動添加90DNS。
[root@rac02 bin]# cd /etc/sysconfig/network-scripts/ [root@rac02 network-scripts]# vim ifcfg-eth0 DNS1="192.168.31.90"
重新添加resolv.conf配置信息
[root@rac01 bin]# vim /etc/resolv.conf # Generated by NetworkManager nameserver 8.8.8.8 domain cjc.com nameserver 192.168.31.90 options rotate options timeout:2 options attempts:5
可以正常解析了
[root@rac01 bin]# nslookup rac-scan.cjc.com Server:192.168.31.90 Address:192.168.31.90#53 Name:rac-scan.cjc.com Address: 192.168.31.60 Name:rac-scan.cjc.com Address: 192.168.31.70 Name:rac-scan.cjc.com Address: 192.168.31.50
啟動數據
[root@rac01 bin]# ./srvctl start instance -d cjcdb -i cjcdb1 [root@rac01 bin]# ./srvctl start instance -d cjcdb -i cjcdb2
檢查實例狀態
[root@rac01 bin]# ./srvctl status database -d cjcdb Instance cjcdb1 is running on node rac01 Instance cjcdb2 is running on node rac02
歡迎關注我的微信公眾號"IT小Chen",共同學習,共同成長!!
本文標題:OracleRAC啟動失敗(DNS故障)-創新互聯
鏈接地址:http://vcdvsql.cn/article16/dshedg.html
成都網站建設公司_創新互聯,為您提供營銷型網站建設、商城網站、面包屑導航、網站營銷、企業網站制作、Google
聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯