{"id":92386,"date":"2024-10-19T05:10:19","date_gmt":"2024-10-18T21:10:19","guid":{"rendered":"https:\/\/server.hk\/cnblog\/92386\/"},"modified":"2024-10-19T05:10:19","modified_gmt":"2024-10-18T21:10:19","slug":"ora-39727-compatible-%e5%bf%85%e9%a0%88%e8%a8%ad%e7%bd%ae%e7%82%ba-10-0-0-0-0-%e6%88%96%e6%9b%b4%e9%ab%98-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-%e9%81%a0%e7%a8%8b%e8%99%95","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/92386\/","title":{"rendered":"ORA-39727: COMPATIBLE \u5fc5\u9808\u8a2d\u7f6e\u70ba 10.0.0.0.0 \u6216\u66f4\u9ad8 ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-39727-compatible-%e5%bf%85%e9%a0%88%e8%a8%ad%e7%bd%ae%e7%82%ba-10-0-0-0-0-%e6%88%96%e6%9b%b4%e9%ab%98-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-%e9%81%a0%e7%a8%8b%e8%99%95-KqrrqHqwXy\">ORA-39727: COMPATIBLE \u5fc5\u9808\u8a2d\u7f6e\u70ba 10.0.0.0.0 \u6216\u66f4\u9ad8 ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528 Oracle \u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\uff0c\u4f7f\u7528\u8005\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u4fbf\u662f <code>ORA-39727<\/code>\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u6578\u64da\u5eab\u7684\u517c\u5bb9\u6027\u8a2d\u7f6e\u4e0d\u6b63\u78ba\u7684\u60c5\u6cc1\u4e0b\uff0c\u7279\u5225\u662f\u5728\u5347\u7d1a\u6216\u9077\u79fb\u6578\u64da\u5eab\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e\u9019\u500b\u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002<\/p>\n<h2 id=\"%e9%8c%af%e8%aa%a4%e5%8e%9f%e5%9b%a0-KqrrqHqwXy\">\u932f\u8aa4\u539f\u56e0<\/h2>\n<p><code>ORA-39727<\/code> \u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662f Oracle \u6578\u64da\u5eab\u7684 <code>COMPATIBLE<\/code> \u53c3\u6578\u672a\u8a2d\u7f6e\u70ba 10.0.0.0.0 \u6216\u66f4\u9ad8\u7248\u672c\u3002\u9019\u500b\u53c3\u6578\u6c7a\u5b9a\u4e86\u6578\u64da\u5eab\u7684\u517c\u5bb9\u6027\uff0c\u5f71\u97ff\u5230\u6578\u64da\u5eab\u7684\u529f\u80fd\u548c\u6027\u80fd\u3002\u7576\u6578\u64da\u5eab\u7248\u672c\u5347\u7d1a\u6642\uff0c<code>COMPATIBLE<\/code> \u53c3\u6578\u5fc5\u9808\u76f8\u61c9\u5730\u66f4\u65b0\uff0c\u4ee5\u78ba\u4fdd\u65b0\u529f\u80fd\u7684\u6b63\u5e38\u904b\u884c\u3002<\/p>\n<h2 id=\"%e5%bd%b1%e9%9f%bf-KqrrqHqwXy\">\u5f71\u97ff<\/h2>\n<p>\u5982\u679c <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u4e0d\u7576\uff0c\u53ef\u80fd\u6703\u5c0e\u81f4\u4ee5\u4e0b\u554f\u984c\uff1a<\/p>\n<ul>\n<li>\u7121\u6cd5\u4f7f\u7528\u65b0\u7248\u672c\u7684\u529f\u80fd\u548c\u7279\u6027\u3002<\/li>\n<li>\u6578\u64da\u5eab\u6027\u80fd\u4e0b\u964d\uff0c\u5f71\u97ff\u61c9\u7528\u7a0b\u5e8f\u7684\u904b\u884c\u6548\u7387\u3002<\/li>\n<li>\u5728\u9032\u884c\u6578\u64da\u5eab\u5347\u7d1a\u6216\u9077\u79fb\u6642\uff0c\u53ef\u80fd\u6703\u51fa\u73fe\u5176\u4ed6\u932f\u8aa4\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9%e6%ad%a5%e9%a9%9f-KqrrqHqwXy\">\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f<\/h2>\n<p>\u8981\u4fee\u5fa9 <code>ORA-39727<\/code> \u932f\u8aa4\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u64cd\u4f5c\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e7%95%b6%e5%89%8d%e7%9a%84-compatible-%e8%a8%ad%e7%bd%ae-KqrrqHqwXy\">1. \u6aa2\u67e5\u7576\u524d\u7684 COMPATIBLE \u8a2d\u7f6e<\/h3>\n<pre><code>SHOW PARAMETER compatible;<\/code><\/pre>\n<p>\u9019\u689d\u547d\u4ee4\u5c07\u986f\u793a\u7576\u524d\u7684 <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u3002\u78ba\u4fdd\u5176\u503c\u70ba 10.0.0.0.0 \u6216\u66f4\u9ad8\u3002<\/p>\n<h3 id=\"2-%e4%bf%ae%e6%94%b9-compatible-%e5%8f%83%e6%95%b8-KqrrqHqwXy\">2. \u4fee\u6539 COMPATIBLE \u53c3\u6578<\/h3>\n<p>\u5982\u679c <code>COMPATIBLE<\/code> \u53c3\u6578\u7684\u503c\u4e0d\u6b63\u78ba\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u9032\u884c\u4fee\u6539\uff1a<\/p>\n<pre><code>ALTER SYSTEM SET compatible='10.0.0.0.0' SCOPE=SPFILE;<\/code><\/pre>\n<p>\u9019\u689d\u547d\u4ee4\u5c07 <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u70ba 10.0.0.0.0\uff0c\u4e26\u5c07\u5176\u4fdd\u5b58\u5230\u521d\u59cb\u5316\u53c3\u6578\u6587\u4ef6\u4e2d\u3002<\/p>\n<h3 id=\"3-%e9%87%8d%e5%95%9f%e6%95%b8%e6%93%9a%e5%ba%ab-KqrrqHqwXy\">3. \u91cd\u555f\u6578\u64da\u5eab<\/h3>\n<p>\u4fee\u6539 <code>COMPATIBLE<\/code> \u53c3\u6578\u5f8c\uff0c\u9700\u8981\u91cd\u555f\u6578\u64da\u5eab\u4ee5\u4f7f\u66f4\u6539\u751f\u6548\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u9032\u884c\u91cd\u555f\uff1a<\/p>\n<pre><code>SHUTDOWN IMMEDIATE;<\/code><\/pre>\n<pre><code>STARTUP;<\/code><\/pre>\n<h3 id=\"4-%e9%a9%97%e8%ad%89%e6%9b%b4%e6%94%b9-KqrrqHqwXy\">4. \u9a57\u8b49\u66f4\u6539<\/h3>\n<p>\u91cd\u555f\u5f8c\uff0c\u518d\u6b21\u6aa2\u67e5 <code>COMPATIBLE<\/code> \u53c3\u6578\u7684\u8a2d\u7f6e\uff0c\u78ba\u4fdd\u5176\u5df2\u6b63\u78ba\u66f4\u65b0\uff1a<\/p>\n<pre><code>SHOW PARAMETER compatible;<\/code><\/pre>\n<h2 id=\"%e7%b5%90%e8%ab%96-KqrrqHqwXy\">\u7d50\u8ad6<\/h2>\n<p>\u5728 Oracle \u6578\u64da\u5eab\u7684\u7ba1\u7406\u4e2d\uff0c<code>ORA-39727<\/code> \u932f\u8aa4\u662f\u4e00\u500b\u5e38\u898b\u7684\u554f\u984c\uff0c\u4e3b\u8981\u7531\u65bc <code>COMPATIBLE<\/code> \u53c3\u6578\u8a2d\u7f6e\u4e0d\u7576\u5f15\u8d77\u3002\u901a\u904e\u6aa2\u67e5\u548c\u4fee\u6539\u8a72\u53c3\u6578\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\uff0c\u78ba\u4fdd\u6578\u64da\u5eab\u7684\u6b63\u5e38\u904b\u884c\u548c\u6027\u80fd\u3002<\/p>\n<p>\u5982\u9700\u9032\u4e00\u6b65\u4e86\u89e3\u6709\u95dc\u6578\u64da\u5eab\u7ba1\u7406\u548c\u6545\u969c\u6392\u9664\u7684\u8cc7\u8a0a\uff0c\u60a8\u53ef\u4ee5\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\uff0c\u7372\u53d6\u66f4\u591a\u8cc7\u6e90\u548c\u652f\u6301\u3002\u7121\u8ad6\u662f <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u9084\u662f\u5176\u4ed6\u670d\u52d9\uff0c\u6211\u5011\u90fd\u81f4\u529b\u65bc\u63d0\u4f9b\u6700\u4f73\u7684\u89e3\u6c7a\u65b9\u6848\u4ee5\u6eff\u8db3\u60a8\u7684\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-39727 \u932f\u8aa4\uff0c\u78ba\u4fdd COMPATIBLE \u8a2d\u7f6e\u70ba 10.0.0.0.0 \u6216\u66f4\u9ad8\uff0c\u63d0\u4f9b\u6709\u6548\u7684\u6545\u969c\u4fee\u5fa9\u548c\u9060\u7a0b\u8655\u7406\u65b9\u6848\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-92386","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=92386"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92386\/revisions"}],"predecessor-version":[{"id":92387,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92386\/revisions\/92387"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=92386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=92386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=92386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}