{"id":872,"date":"2013-05-21T01:19:00","date_gmt":"2013-05-20T17:19:00","guid":{"rendered":"http:\/\/www.yallonking.com\/?p=872"},"modified":"2013-05-21T01:19:00","modified_gmt":"2013-05-20T17:19:00","slug":"%e5%86%8d%e6%ac%a1%e5%92%8coracle-bug%e7%9b%b8%e9%81%87-ora-16163","status":"publish","type":"post","link":"http:\/\/www.yallonking.com\/?p=872","title":{"rendered":"\u518d\u6b21\u548coracle bug\u76f8\u9047 ORA-16163"},"content":{"rendered":"<p>\u665a\u4e0a\u52a0\u73ed\u641e\u4e00\u4e2a\u5355\u673a\u7684\u5907\u673a\u505a\u7269\u7406DG\uff0c\u7531\u4e8e\u4e4b\u524d\u505a\u8fc7\u4e00\u6b21\u76f8\u540c\u5e73\u53f0\u76f8\u540c\u7248\u672c\u7684rac\u4e0b\u7684dg\uff0c\u8fd9\u6b21\u5f00\u59cb\u90fd\u8fd8\u6bd4\u8f83\u987a\u5229\uff0c\u4f46\u662f\u5728\u6700\u540e\u6253\u5f00mrp\u8fdb\u7a0b\u540e\uff0c\u5f52\u6863\u8fc7\u4e0d\u5230\u5907\u5e93\u53bb\uff0c\u968f\u5373\u67e5\u770b\u4e3b\u5e93\u65e5\u5fd7\u6587\u4ef6\uff0c\u5982\u4e0b\uff1a<\/p>\n<pre class=\"wp-code-highlight prettyprint\">\r\nMon May 20 23:36:15 2013\r\nCreating archive destination LOG_ARCHIVE_DEST_2: &#039;cakmcdb_stdby&#039;\r\nLNS0 started with pid=14\r\nMon May 20 23:37:18 2013\r\nLGWR: Error 16163 creating archivelog file &#039;cakmcdb_stdby&#039;\r\nMon May 20 23:37:18 2013\r\nErrors in file \/opt\/oracle\/admin\/cakmcdb\/bdump\/cakmcdb_lgwr_26431.trc:\r\nORA-16163: LGWR network server host attach error\r\nLGWR: Completed archiving  log 2 thread 1 sequence 1380\r\nThread 1 advanced to log sequence 1380\r\n  Current log# 2 seq# 1380 mem# 0: \/opt\/oracle\/oradata\/cakmcdb\/redo02.log\r\nMon May 20 23:37:18 2013\r\nARC0: Evaluating archive   log 1 thread 1 sequence 1379\r\nARC0: Beginning to archive log 1 thread 1 sequence 1379\r\nCreating archive destination LOG_ARCHIVE_DEST_1: &#039;\/oradata\/arch\/1_1379.dbf&#039;\r\nARC0: Completed archiving  log 1 thread 1 sequence 1379\r\n<\/pre>\n<p>\u540e\u6765\u67e5\u770bmetalink<br \/>\nOra-16163: Lgwr Network Server Host Attach Error [ID 377332.1]<\/p>\n<p><code>Applies to:<br \/>\nOracle Server - Enterprise Edition - Version: 10.2.0.2 and later   [Release: 10.2 and later ]<br \/>\nInformation in this document applies to any platform.<br \/>\nSymptoms<br \/>\nThe physical standby was working fine and was in constant sync with the primary. After<br \/>\nenabling the Fast-Start Failover using Grid Control, we started getting these errors below.<\/p>\n<p>ORA-16163: LGWR network server host attach error<br \/>\nCause<br \/>\nBug 5220576 AFTER CHANGING PROTECTION MODE LGWR: ERROR 16163 CREATING ARCHIVELOG<\/p>\n<p>During EM grid control FSFO enable, net_timeout is set to 1 if the standby needs to be shutdown.<br \/>\nIt is set back to the original value immediately after the FSFO enable completes. The bug is that<br \/>\nthe original value is not restored if the FSFO enable operation fails, leaving net_timeout=1 and<br \/>\nthe corresponding ORA-16163 error.<br \/>\nSolution<br \/>\nThis bug is fixed in the 10.2.0.3 patchset.<\/p>\n<p>The workaround is to use DGMGRL to set net_timeout back to the original value.<\/p>\n<p>DGMGRL> edit database '<Standby Database>' set property 'NetTimeout' = 180;<\/code><\/p>\n<p>\u6211\u5f88\u7eb3\u95f7\uff0c\u540c\u6837\u7684\u6570\u636e\u5e93\u7248\u672c\uff0c\u5c31\u662f\u4e00\u4e2a\u662frac\u4e00\u4e2a\u662f\u5355\u8282\u70b9\uff0c\u4e00\u4e2a\u662fsunos 5.10  \u4e00\u4e2a\u662f5.8 \u600e\u4e48\u5c31\u4f1a\u89e6\u53d1bug\u5462\uff0c\u518d\u8bf4\u4e86\u6211\u4e5f\u6ca1\u6709\u7528broker\u7ba1\u7406dg\u5440\uff0c\u518d\u8005\u4e5f\u628anet_timeout=180\u4e86\u8fd8\u662f\u4e0d\u884c\u5440...<br \/>\n\u90c1\u95f7....\u770b\u6765\u4ee5\u540e\u81ea\u5df1\u5c31\u5c11\u78b09i\u7684\u5e93\u4e86....<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u665a\u4e0a\u52a0\u73ed\u641e\u4e00\u4e2a\u5355\u673a\u7684\u5907\u673a\u505a\u7269\u7406DG\uff0c\u7531\u4e8e\u4e4b\u524d\u505a\u8fc7\u4e00\u6b21\u76f8\u540c\u5e73\u53f0\u76f8\u540c\u7248\u672c\u7684rac\u4e0b\u7684dg\uff0c\u8fd9\u6b21\u5f00\u59cb\u90fd\u8fd8\u6bd4\u8f83\u987a\u5229\uff0c\u4f46 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35,36],"tags":[198],"_links":{"self":[{"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/posts\/872"}],"collection":[{"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=872"}],"version-history":[{"count":1,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":873,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/posts\/872\/revisions\/873"}],"wp:attachment":[{"href":"http:\/\/www.yallonking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}