{"id":85528,"date":"2024-10-17T14:59:16","date_gmt":"2024-10-17T06:59:16","guid":{"rendered":"https:\/\/server.hk\/cnblog\/85528\/"},"modified":"2024-10-17T14:59:16","modified_gmt":"2024-10-17T06:59:16","slug":"ora-13380-%e7%b6%b2%e7%b5%a1%e6%9c%aa%e6%89%be%e5%88%b0%e3%80%82oracle-%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%e7%90%86","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/85528\/","title":{"rendered":"ORA-13380: \u7db2\u7d61\u672a\u627e\u5230\u3002ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-13380-%e7%b6%b2%e7%b5%a1%e6%9c%aa%e6%89%be%e5%88%b0%e3%80%82oracle-%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%e7%90%86-gomldbwpeu\">ORA-13380: \u7db2\u7d61\u672a\u627e\u5230\u3002ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\uff0c\u958b\u767c\u8005\u548c\u7cfb\u7d71\u7ba1\u7406\u54e1\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u4fbf\u662fORA-13380\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207\u7db2\u7d61\u9023\u63a5\u554f\u984c\u6709\u95dc\uff0c\u7279\u5225\u662f\u5728\u9032\u884c\u9060\u7a0b\u6578\u64da\u5eab\u64cd\u4f5c\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-13380\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002<\/p>\n<h2 id=\"ora-13380%e7%9a%84%e5%8e%9f%e5%9b%a0-gomldbwpeu\">ORA-13380\u7684\u539f\u56e0<\/h2>\n<p>ORA-13380\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662fOracle\u6578\u64da\u5eab\u7121\u6cd5\u627e\u5230\u6307\u5b9a\u7684\u7db2\u7d61\u8def\u5f91\u3002\u9019\u53ef\u80fd\u662f\u7531\u65bc\u4ee5\u4e0b\u5e7e\u500b\u56e0\u7d20\u9020\u6210\u7684\uff1a<\/p>\n<ul>\n<li><strong>\u7db2\u7d61\u914d\u7f6e\u932f\u8aa4\uff1a<\/strong>\u5982\u679c\u6578\u64da\u5eab\u7684\u7db2\u7d61\u914d\u7f6e\u4e0d\u6b63\u78ba\uff0c\u5247\u53ef\u80fd\u5c0e\u81f4\u7121\u6cd5\u9023\u63a5\u5230\u6578\u64da\u5eab\u3002<\/li>\n<li><strong>\u9632\u706b\u7246\u8a2d\u7f6e\uff1a<\/strong>\u9632\u706b\u7246\u53ef\u80fd\u6703\u963b\u6b62\u6578\u64da\u5eab\u7684\u9023\u63a5\u8acb\u6c42\uff0c\u5f9e\u800c\u5c0e\u81f4\u6b64\u932f\u8aa4\u3002<\/li>\n<li><strong>\u6578\u64da\u5eab\u670d\u52d9\u672a\u555f\u52d5\uff1a<\/strong>\u5982\u679cOracle\u6578\u64da\u5eab\u670d\u52d9\u672a\u555f\u52d5\uff0c\u5247\u7121\u6cd5\u9032\u884c\u4efb\u4f55\u9023\u63a5\u3002<\/li>\n<li><strong>\u4e3b\u6a5f\u540d\u89e3\u6790\u554f\u984c\uff1a<\/strong>\u5982\u679c\u4f7f\u7528\u7684\u4e3b\u6a5f\u540d\u7121\u6cd5\u89e3\u6790\u70ba\u6b63\u78ba\u7684IP\u5730\u5740\uff0c\u5247\u6703\u51fa\u73fe\u9023\u63a5\u554f\u984c\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e6%aa%a2%e6%9f%a5%e5%92%8c%e4%bf%ae%e5%be%a9ora-13380%e9%8c%af%e8%aa%a4-gomldbwpeu\">\u5982\u4f55\u6aa2\u67e5\u548c\u4fee\u5fa9ORA-13380\u932f\u8aa4<\/h2>\n<p>\u7576\u9047\u5230ORA-13380\u932f\u8aa4\u6642\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u6545\u969c\u6392\u9664\u548c\u4fee\u5fa9\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e7%b6%b2%e7%b5%a1%e9%85%8d%e7%bd%ae-gomldbwpeu\">1. \u6aa2\u67e5\u7db2\u7d61\u914d\u7f6e<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5Oracle\u7684\u7db2\u7d61\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u5e38\u662ftnsnames.ora\u3002\u78ba\u4fdd\u914d\u7f6e\u6b63\u78ba\uff0c\u4e26\u4e14\u6240\u6709\u7684\u4e3b\u6a5f\u540d\u548c\u7aef\u53e3\u865f\u90fd\u6b63\u78ba\u7121\u8aa4\u3002<\/p>\n<pre><code> \n# \u793a\u4f8btnsnames.ora\u914d\u7f6e\nORCL =\n  (DESCRIPTION =\n    (ADDRESS = (PROTOCOL = TCP)(HOST = your_host)(PORT = 1521))\n    (CONNECT_DATA =\n      (SERVER = DEDICATED)\n      (SERVICE_NAME = your_service_name)\n    )\n  )\n<\/code><\/pre>\n<h3 id=\"2-%e6%b8%ac%e8%a9%a6%e7%b6%b2%e7%b5%a1%e9%80%a3%e6%8e%a5-gomldbwpeu\">2. \u6e2c\u8a66\u7db2\u7d61\u9023\u63a5<\/h3>\n<p>\u4f7f\u7528ping\u547d\u4ee4\u6e2c\u8a66\u8207\u6578\u64da\u5eab\u4e3b\u6a5f\u7684\u9023\u63a5\uff1a<\/p>\n<pre><code> \nping your_host\n<\/code><\/pre>\n<p>\u5982\u679cping\u4e0d\u901a\uff0c\u5247\u9700\u8981\u6aa2\u67e5\u7db2\u7d61\u9023\u63a5\u548c\u9632\u706b\u7246\u8a2d\u7f6e\u3002<\/p>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e9%98%b2%e7%81%ab%e7%89%86%e8%a8%ad%e7%bd%ae-gomldbwpeu\">3. \u6aa2\u67e5\u9632\u706b\u7246\u8a2d\u7f6e<\/h3>\n<p>\u78ba\u4fdd\u9632\u706b\u7246\u5141\u8a31Oracle\u6578\u64da\u5eab\u7684\u7aef\u53e3\uff08\u9ed8\u8a8d\u70ba1521\uff09\u901a\u904e\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6aa2\u67e5\u9632\u706b\u7246\u8a2d\u7f6e\uff1a<\/p>\n<pre><code> \n# \u5728Linux\u4e0a\u6aa2\u67e5\u9632\u706b\u7246\u72c0\u614b\nsudo iptables -L\n<\/code><\/pre>\n<h3 id=\"4-%e7%a2%ba%e8%aa%8d%e6%95%b8%e6%93%9a%e5%ba%ab%e6%9c%8d%e5%8b%99%e7%8b%80%e6%85%8b-gomldbwpeu\">4. \u78ba\u8a8d\u6578\u64da\u5eab\u670d\u52d9\u72c0\u614b<\/h3>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6aa2\u67e5Oracle\u6578\u64da\u5eab\u670d\u52d9\u662f\u5426\u6b63\u5728\u904b\u884c\uff1a<\/p>\n<pre><code> \nsqlplus \/ as sysdba\nSELECT status FROM v$instance;\n<\/code><\/pre>\n<p>\u5982\u679c\u670d\u52d9\u672a\u555f\u52d5\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u555f\u52d5\u6578\u64da\u5eab\uff1a<\/p>\n<pre><code> \nSTARTUP;\n<\/code><\/pre>\n<h3 id=\"5-%e6%aa%a2%e6%9f%a5%e4%b8%bb%e6%a9%9f%e5%90%8d%e8%a7%a3%e6%9e%90-gomldbwpeu\">5. \u6aa2\u67e5\u4e3b\u6a5f\u540d\u89e3\u6790<\/h3>\n<p>\u5982\u679c\u4f7f\u7528\u4e3b\u6a5f\u540d\u9023\u63a5\u6578\u64da\u5eab\uff0c\u8acb\u78ba\u4fdd\u8a72\u4e3b\u6a5f\u540d\u80fd\u5920\u6b63\u78ba\u89e3\u6790\u70baIP\u5730\u5740\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u9032\u884c\u6aa2\u67e5\uff1a<\/p>\n<pre><code> \nnslookup your_host\n<\/code><\/pre>\n<h2 id=\"%e7%b8%bd%e7%b5%90-gomldbwpeu\">\u7e3d\u7d50<\/h2>\n<p>ORA-13380\u932f\u8aa4\u901a\u5e38\u8207\u7db2\u7d61\u9023\u63a5\u554f\u984c\u6709\u95dc\uff0c\u901a\u904e\u6aa2\u67e5\u7db2\u7d61\u914d\u7f6e\u3001\u9632\u706b\u7246\u8a2d\u7f6e\u3001\u6578\u64da\u5eab\u670d\u52d9\u72c0\u614b\u4ee5\u53ca\u4e3b\u6a5f\u540d\u89e3\u6790\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u9032\u884c\u6545\u969c\u6392\u9664\u548c\u4fee\u5fa9\u3002\u5c0d\u65bc\u9700\u8981\u7a69\u5b9a\u548c\u9ad8\u6548\u7684\u6578\u64da\u5eab\u904b\u884c\u74b0\u5883\u7684\u7528\u6236\uff0c\u9078\u64c7\u5408\u9069\u7684 <a href=\"https:\/\/server.hk\">VPS<\/a> \u6216 <a href=\"https:\/\/server.hk\">\u9999\u6e2f\u4f3a\u670d\u5668<\/a> \u662f\u81f3\u95dc\u91cd\u8981\u7684\u3002\u4e86\u89e3\u9019\u4e9b\u57fa\u672c\u7684\u6545\u969c\u6392\u9664\u6b65\u9a5f\uff0c\u53ef\u4ee5\u5e6b\u52a9\u7528\u6236\u66f4\u5feb\u5730\u89e3\u6c7a\u554f\u984c\uff0c\u78ba\u4fdd\u696d\u52d9\u7684\u9023\u7e8c\u6027\u548c\u6578\u64da\u7684\u5b89\u5168\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-13380 \u932f\u8aa4\uff1a\u7db2\u7d61\u672a\u627e\u5230\u3002\u63d0\u4f9b Oracle \u6545\u969c\u4fee\u5fa9\u548c\u9060\u7a0b\u8655\u7406\u7684\u5c08\u696d\u6307\u5c0e\uff0c\u52a9\u60a8\u5feb\u901f\u6062\u5fa9\u7cfb\u7d71\u904b\u884c\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-85528","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/85528","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=85528"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/85528\/revisions"}],"predecessor-version":[{"id":85529,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/85528\/revisions\/85529"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=85528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=85528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=85528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}