{"id":81536,"date":"2024-10-16T16:40:32","date_gmt":"2024-10-16T08:40:32","guid":{"rendered":"https:\/\/server.hk\/cnblog\/81536\/"},"modified":"2024-10-16T16:40:32","modified_gmt":"2024-10-16T08:40:32","slug":"ora-00102-network-protocol-string-cannot-be-used-by-dispatchers-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%e7%90%86","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/81536\/","title":{"rendered":"ORA-00102: network protocol string cannot be used by dispatchers ORACLE\u5831\u932f\u6545\u969c\u4fee\u5fa9\u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-00102-network-protocol-string-cannot-be-used-by-dispatchers-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%e7%90%86-QWCOjXlPif\">ORA-00102: network protocol string cannot be used by dispatchers ORACLE\u5831\u932f\u6545\u969c\u4fee\u5fa9\u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u6642\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-00102\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207\u7db2\u7d61\u5354\u8b70\u7684\u914d\u7f6e\u6709\u95dc\uff0c\u7279\u5225\u662f\u5728\u4f7f\u7528\u5206\u6d3e\u5668\uff08dispatcher\uff09\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-00102\u7684\u539f\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"ora-00102%e7%9a%84%e5%8e%9f%e5%9b%a0-QWCOjXlPif\">ORA-00102\u7684\u539f\u56e0<\/h2>\n<p>ORA-00102\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662fOracle\u6578\u64da\u5eab\u7684\u7db2\u7d61\u5354\u8b70\u5b57\u7b26\u4e32\u4e0d\u6b63\u78ba\u6216\u4e0d\u517c\u5bb9\u3002\u9019\u901a\u5e38\u767c\u751f\u5728\u4ee5\u4e0b\u60c5\u6cc1\uff1a<\/p>\n<ul>\n<li><strong>\u914d\u7f6e\u932f\u8aa4\uff1a<\/strong>\u5728tnsnames.ora\u6216listener.ora\u6587\u4ef6\u4e2d\uff0c\u7db2\u7d61\u5354\u8b70\u5b57\u7b26\u4e32\u7684\u914d\u7f6e\u4e0d\u6b63\u78ba\u3002<\/li>\n<li><strong>\u4e0d\u652f\u6301\u7684\u5354\u8b70\uff1a<\/strong>\u4f7f\u7528\u7684\u7db2\u7d61\u5354\u8b70\u4e0d\u88abOracle\u7684\u5206\u6d3e\u5668\u652f\u6301\uff0c\u4f8b\u5982\u5617\u8a66\u4f7f\u7528TCP\/IP\u5354\u8b70\u800c\u5206\u6d3e\u5668\u50c5\u652f\u6301IPC\u3002<\/li>\n<li><strong>\u7248\u672c\u4e0d\u517c\u5bb9\uff1a<\/strong>Oracle\u6578\u64da\u5eab\u7684\u7248\u672c\u8207\u5ba2\u6236\u7aef\u6216\u5206\u6d3e\u5668\u7684\u7248\u672c\u4e0d\u517c\u5bb9\uff0c\u5c0e\u81f4\u5354\u8b70\u7121\u6cd5\u6b63\u78ba\u904b\u884c\u3002<\/li>\n<\/ul>\n<h2 id=\"%e9%8c%af%e8%aa%a4%e5%bd%b1%e9%9f%bf-QWCOjXlPif\">\u932f\u8aa4\u5f71\u97ff<\/h2>\n<p>\u7576\u51fa\u73feORA-00102\u932f\u8aa4\u6642\uff0c\u6578\u64da\u5eab\u7684\u9023\u63a5\u5c07\u7121\u6cd5\u5efa\u7acb\uff0c\u9019\u6703\u5f71\u97ff\u5230\u61c9\u7528\u7a0b\u5e8f\u7684\u6b63\u5e38\u904b\u884c\u3002\u7528\u6236\u5c07\u7121\u6cd5\u8a2a\u554f\u6578\u64da\u5eab\uff0c\u5f9e\u800c\u5c0e\u81f4\u696d\u52d9\u4e2d\u65b7\uff0c\u5f71\u97ff\u751f\u7522\u529b\u548c\u7528\u6236\u9ad4\u9a57\u3002<\/p>\n<h2 id=\"%e6%95%85%e9%9a%9c%e6%8e%92%e9%99%a4%e6%ad%a5%e9%a9%9f-QWCOjXlPif\">\u6545\u969c\u6392\u9664\u6b65\u9a5f<\/h2>\n<p>\u70ba\u4e86\u89e3\u6c7aORA-00102\u932f\u8aa4\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u6545\u969c\u6392\u9664\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6-QWCOjXlPif\">1. \u6aa2\u67e5\u914d\u7f6e\u6587\u4ef6<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5tnsnames.ora\u548clistener.ora\u6587\u4ef6\u4e2d\u7684\u914d\u7f6e\u3002\u78ba\u4fdd\u7db2\u7d61\u5354\u8b70\u5b57\u7b26\u4e32\u6b63\u78ba\u7121\u8aa4\u3002\u4ee5\u4e0b\u662f\u4e00\u500b\u793a\u4f8b\u914d\u7f6e\uff1a<\/p>\n<pre><code>\n# tnsnames.ora\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-%e7%a2%ba%e8%aa%8d%e5%8d%94%e8%ad%b0%e6%94%af%e6%8c%81-QWCOjXlPif\">2. \u78ba\u8a8d\u5354\u8b70\u652f\u6301<\/h3>\n<p>\u6aa2\u67e5Oracle\u6587\u6a94\uff0c\u78ba\u4fdd\u6240\u4f7f\u7528\u7684\u7db2\u7d61\u5354\u8b70\u88ab\u5206\u6d3e\u5668\u652f\u6301\u3002\u5982\u679c\u4e0d\u652f\u6301\uff0c\u5247\u9700\u8981\u66f4\u6539\u5354\u8b70\u6216\u914d\u7f6e\u3002<\/p>\n<h3 id=\"3-%e6%9b%b4%e6%96%b0oracle%e7%89%88%e6%9c%ac-QWCOjXlPif\">3. \u66f4\u65b0Oracle\u7248\u672c<\/h3>\n<p>\u5982\u679c\u767c\u73fe\u7248\u672c\u4e0d\u517c\u5bb9\uff0c\u8003\u616e\u66f4\u65b0Oracle\u6578\u64da\u5eab\u6216\u5ba2\u6236\u7aef\u5230\u6700\u65b0\u7248\u672c\uff0c\u4ee5\u78ba\u4fdd\u6240\u6709\u7d44\u4ef6\u4e4b\u9593\u7684\u517c\u5bb9\u6027\u3002<\/p>\n<h3 id=\"4-%e9%87%8d%e5%95%9f%e6%9c%8d%e5%8b%99-QWCOjXlPif\">4. \u91cd\u555f\u670d\u52d9<\/h3>\n<p>\u5728\u9032\u884c\u4efb\u4f55\u66f4\u6539\u5f8c\uff0c\u91cd\u555fOracle\u6578\u64da\u5eab\u670d\u52d9\u548c\u76f8\u95dc\u7684\u7db2\u7d61\u670d\u52d9\uff0c\u4ee5\u78ba\u4fdd\u6240\u6709\u914d\u7f6e\u751f\u6548\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-QWCOjXlPif\">\u7d50\u8ad6<\/h2>\n<p>ORA-00102\u932f\u8aa4\u53ef\u80fd\u6703\u5c0d\u696d\u52d9\u904b\u4f5c\u9020\u6210\u56b4\u91cd\u5f71\u97ff\uff0c\u4f46\u901a\u904e\u4ed4\u7d30\u6aa2\u67e5\u914d\u7f6e\u6587\u4ef6\u3001\u78ba\u8a8d\u5354\u8b70\u652f\u6301\u3001\u66f4\u65b0\u7248\u672c\u4ee5\u53ca\u91cd\u555f\u670d\u52d9\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u5c0d\u65bc\u9700\u8981\u7a69\u5b9a\u548c\u9ad8\u6548\u6578\u64da\u5eab\u670d\u52d9\u7684\u4f01\u696d\u4f86\u8aaa\uff0c\u9078\u64c7\u5408\u9069\u7684\u670d\u52d9\u5668\u548c\u7db2\u7d61\u914d\u7f6e\u81f3\u95dc\u91cd\u8981\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc<code><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/code>\u548c<code><a href=\"https:\/\/server.hk\">\u96f2\u670d\u52d9\u5668<\/a><\/code>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix ORA-00102: network protocol string cannot be used by dispatchers in Oracle. Troubleshoot and resolve remote processing errors effectively.<\/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-81536","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/81536","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=81536"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/81536\/revisions"}],"predecessor-version":[{"id":81537,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/81536\/revisions\/81537"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=81536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=81536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=81536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}