{"id":92054,"date":"2024-10-19T02:24:17","date_gmt":"2024-10-18T18:24:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/92054\/"},"modified":"2024-10-19T02:24:17","modified_gmt":"2024-10-18T18:24:17","slug":"ora-38504-%e6%ad%a4%e6%93%8d%e4%bd%9c%e7%ac%a6%e4%b8%8d%e5%85%81%e8%a8%b1%e8%88%87%e9%85%8d%e7%bd%ae%e7%9a%84%e5%b1%ac%e6%80%a7%e9%9b%86%e4%b8%80%e8%b5%b7%e4%bd%bf%e7%94%a8-oracle-%e5%a0%b1%e9%8c%af","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/92054\/","title":{"rendered":"ORA-38504: \u6b64\u64cd\u4f5c\u7b26\u4e0d\u5141\u8a31\u8207\u914d\u7f6e\u7684\u5c6c\u6027\u96c6\u4e00\u8d77\u4f7f\u7528 ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-38504-%e6%ad%a4%e6%93%8d%e4%bd%9c%e7%ac%a6%e4%b8%8d%e5%85%81%e8%a8%b1%e8%88%87%e9%85%8d%e7%bd%ae%e7%9a%84%e5%b1%ac%e6%80%a7%e9%9b%86%e4%b8%80%e8%b5%b7%e4%bd%bf%e7%94%a8-oracle-%e5%a0%b1%e9%8c%af-WmLxBfinwR\">ORA-38504: \u6b64\u64cd\u4f5c\u7b26\u4e0d\u5141\u8a31\u8207\u914d\u7f6e\u7684\u5c6c\u6027\u96c6\u4e00\u8d77\u4f7f\u7528 ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528 Oracle \u6578\u64da\u5eab\u6642\uff0c\u958b\u767c\u8005\u548c\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u4fbf\u662f <code>ORA-38504<\/code>\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u5617\u8a66\u4f7f\u7528\u4e0d\u517c\u5bb9\u7684\u64cd\u4f5c\u7b26\u6216\u5c6c\u6027\u96c6\u6642\uff0c\u7279\u5225\u662f\u5728\u9032\u884c\u9060\u7a0b\u8655\u7406\u6216\u914d\u7f6e\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e <code>ORA-38504<\/code> \u7684\u6210\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"%e9%8c%af%e8%aa%a4%e4%bb%a3%e7%a2%bc%e8%a7%a3%e6%9e%90-WmLxBfinwR\">\u932f\u8aa4\u4ee3\u78bc\u89e3\u6790<\/h2>\n<p><code>ORA-38504<\/code> \u932f\u8aa4\u7684\u5b8c\u6574\u4fe1\u606f\u70ba\u300c\u6b64\u64cd\u4f5c\u7b26\u4e0d\u5141\u8a31\u8207\u914d\u7f6e\u7684\u5c6c\u6027\u96c6\u4e00\u8d77\u4f7f\u7528\u300d\u3002\u9019\u610f\u5473\u8457\u5728\u57f7\u884c\u67d0\u4e9b\u64cd\u4f5c\u6642\uff0c\u6240\u9078\u64c7\u7684\u64cd\u4f5c\u7b26\u8207\u7576\u524d\u7684\u914d\u7f6e\u5c6c\u6027\u4e0d\u76f8\u5bb9\u3002\u9019\u7a2e\u60c5\u6cc1\u901a\u5e38\u767c\u751f\u5728\u4f7f\u7528 Oracle \u7684\u9060\u7a0b\u8655\u7406\u529f\u80fd\u6642\uff0c\u7279\u5225\u662f\u5728\u914d\u7f6e\u6578\u64da\u5eab\u93c8\u63a5\u6216\u57f7\u884c\u5206\u4f48\u5f0f\u67e5\u8a62\u6642\u3002<\/p>\n<h2 id=\"%e5%b8%b8%e8%a6%8b%e5%a0%b4%e6%99%af-WmLxBfinwR\">\u5e38\u898b\u5834\u666f<\/h2>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u53ef\u80fd\u5c0e\u81f4 <code>ORA-38504<\/code> \u932f\u8aa4\u7684\u5e38\u898b\u5834\u666f\uff1a<\/p>\n<ul>\n<li><strong>\u4e0d\u517c\u5bb9\u7684\u6578\u64da\u985e\u578b\uff1a<\/strong>\u7576\u64cd\u4f5c\u7b26\u7684\u6578\u64da\u985e\u578b\u8207\u914d\u7f6e\u7684\u5c6c\u6027\u4e0d\u5339\u914d\u6642\uff0c\u53ef\u80fd\u6703\u5f15\u767c\u6b64\u932f\u8aa4\u3002<\/li>\n<li><strong>\u932f\u8aa4\u7684\u6578\u64da\u5eab\u93c8\u63a5\u914d\u7f6e\uff1a<\/strong>\u5728\u8a2d\u7f6e\u6578\u64da\u5eab\u93c8\u63a5\u6642\uff0c\u5982\u679c\u93c8\u63a5\u7684\u5c6c\u6027\u8207\u9060\u7a0b\u6578\u64da\u5eab\u7684\u914d\u7f6e\u4e0d\u4e00\u81f4\uff0c\u5247\u53ef\u80fd\u6703\u51fa\u73fe\u6b64\u932f\u8aa4\u3002<\/li>\n<li><strong>\u4f7f\u7528\u4e0d\u652f\u6301\u7684\u64cd\u4f5c\u7b26\uff1a<\/strong>\u67d0\u4e9b\u64cd\u4f5c\u7b26\u5728\u7279\u5b9a\u7684\u914d\u7f6e\u4e0b\u662f\u4e0d\u88ab\u652f\u6301\u7684\uff0c\u9019\u6703\u5c0e\u81f4\u932f\u8aa4\u7684\u767c\u751f\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%95%85%e9%9a%9c%e6%8e%92%e9%99%a4%e6%ad%a5%e9%a9%9f-WmLxBfinwR\">\u6545\u969c\u6392\u9664\u6b65\u9a5f<\/h2>\n<p>\u7576\u9047\u5230 <code>ORA-38504<\/code> \u932f\u8aa4\u6642\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%e6%95%b8%e6%93%9a%e9%a1%9e%e5%9e%8b-WmLxBfinwR\">1. \u6aa2\u67e5\u6578\u64da\u985e\u578b<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7b26\u548c\u6578\u64da\u985e\u578b\u662f\u5426\u517c\u5bb9\u3002\u78ba\u4fdd\u6240\u6709\u53c3\u6578\u7684\u6578\u64da\u985e\u578b\u90fd\u6b63\u78ba\uff0c\u4e26\u4e14\u8207\u914d\u7f6e\u7684\u5c6c\u6027\u76f8\u7b26\u3002<\/p>\n<h3 id=\"2-%e9%a9%97%e8%ad%89%e6%95%b8%e6%93%9a%e5%ba%ab%e9%8f%88%e6%8e%a5-WmLxBfinwR\">2. \u9a57\u8b49\u6578\u64da\u5eab\u93c8\u63a5<\/h3>\n<p>\u6aa2\u67e5\u6578\u64da\u5eab\u93c8\u63a5\u7684\u914d\u7f6e\uff0c\u78ba\u4fdd\u6240\u6709\u5c6c\u6027\u90fd\u6b63\u78ba\u8a2d\u7f6e\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b SQL \u67e5\u8a62\u4f86\u6aa2\u67e5\u93c8\u63a5\u7684\u5c6c\u6027\uff1a<\/p>\n<pre><code>SELECT * FROM dba_db_links;<\/code><\/pre>\n<h3 id=\"3-%e6%b8%ac%e8%a9%a6%e6%93%8d%e4%bd%9c%e7%ac%a6-WmLxBfinwR\">3. \u6e2c\u8a66\u64cd\u4f5c\u7b26<\/h3>\n<p>\u5617\u8a66\u4f7f\u7528\u4e0d\u540c\u7684\u64cd\u4f5c\u7b26\u4f86\u78ba\u5b9a\u662f\u5426\u662f\u7279\u5b9a\u64cd\u4f5c\u7b26\u5c0e\u81f4\u7684\u554f\u984c\u3002\u5982\u679c\u53ef\u80fd\uff0c\u4f7f\u7528 Oracle \u63d0\u4f9b\u7684\u6587\u6a94\u4f86\u78ba\u8a8d\u64cd\u4f5c\u7b26\u7684\u517c\u5bb9\u6027\u3002<\/p>\n<h3 id=\"4-%e6%9f%a5%e9%96%b1-oracle-%e6%96%87%e6%aa%94-WmLxBfinwR\">4. \u67e5\u95b1 Oracle \u6587\u6a94<\/h3>\n<p>\u67e5\u95b1 Oracle \u7684\u5b98\u65b9\u6587\u6a94\uff0c\u4e86\u89e3 <code>ORA-38504<\/code> \u932f\u8aa4\u7684\u8a73\u7d30\u4fe1\u606f\u548c\u5efa\u8b70\u7684\u89e3\u6c7a\u65b9\u6848\u3002\u9019\u4e9b\u6587\u6a94\u901a\u5e38\u6703\u63d0\u4f9b\u6709\u7528\u7684\u793a\u4f8b\u548c\u6700\u4f73\u5be6\u8e10\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-WmLxBfinwR\">\u7d50\u8ad6<\/h2>\n<p>\u5728\u4f7f\u7528 Oracle \u6578\u64da\u5eab\u6642\uff0c<code>ORA-38504<\/code> \u932f\u8aa4\u53ef\u80fd\u6703\u5f71\u97ff\u6578\u64da\u5eab\u7684\u6b63\u5e38\u904b\u884c\u3002\u901a\u904e\u4ed4\u7d30\u6aa2\u67e5\u6578\u64da\u985e\u578b\u3001\u6578\u64da\u5eab\u93c8\u63a5\u914d\u7f6e\u4ee5\u53ca\u64cd\u4f5c\u7b26\u7684\u517c\u5bb9\u6027\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u5c0d\u65bc\u9700\u8981\u9032\u884c\u9060\u7a0b\u8655\u7406\u7684\u7528\u6236\uff0c\u4e86\u89e3\u9019\u4e9b\u932f\u8aa4\u7684\u6210\u56e0\u548c\u89e3\u6c7a\u65b9\u6848\u662f\u81f3\u95dc\u91cd\u8981\u7684\u3002<\/p>\n<p>\u5982\u9700\u9032\u4e00\u6b65\u4e86\u89e3\u6709\u95dc <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u548c\u5176\u4ed6\u6578\u64da\u5eab\u89e3\u6c7a\u65b9\u6848\u7684\u4fe1\u606f\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-38504 \u932f\u8aa4\uff0c\u4e86\u89e3\u6b64\u64cd\u4f5c\u7b26\u8207\u914d\u7f6e\u5c6c\u6027\u96c6\u4e0d\u517c\u5bb9\u7684\u539f\u56e0\uff0c\u4e26\u7372\u53d6\u9060\u7a0b\u8655\u7406\u7684\u6545\u969c\u4fee\u5fa9\u5efa\u8b70\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-92054","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92054","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=92054"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92054\/revisions"}],"predecessor-version":[{"id":92055,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92054\/revisions\/92055"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=92054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=92054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=92054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}