{"id":89394,"date":"2024-10-18T11:33:19","date_gmt":"2024-10-18T03:33:19","guid":{"rendered":"https:\/\/server.hk\/cnblog\/89394\/"},"modified":"2024-10-18T11:33:19","modified_gmt":"2024-10-18T03:33:19","slug":"ora-25504-%e7%b3%bb%e7%b5%b1%e5%b7%b2%e7%b6%93%e8%99%95%e6%96%bc%e5%ae%89%e9%9d%9c%e7%8b%80%e6%85%8b-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\/89394\/","title":{"rendered":"ORA-25504: \u7cfb\u7d71\u5df2\u7d93\u8655\u65bc\u5b89\u975c\u72c0\u614b ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-25504-%e7%b3%bb%e7%b5%b1%e5%b7%b2%e7%b6%93%e8%99%95%e6%96%bc%e5%ae%89%e9%9d%9c%e7%8b%80%e6%85%8b-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-HBXUJSOeZG\">ORA-25504: \u7cfb\u7d71\u5df2\u7d93\u8655\u65bc\u5b89\u975c\u72c0\u614b 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-25504<\/code>\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8868\u793a\u7cfb\u7d71\u5df2\u7d93\u8655\u65bc\u5b89\u975c\u72c0\u614b\uff0c\u7121\u6cd5\u57f7\u884c\u67d0\u4e9b\u64cd\u4f5c\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e\u6b64\u932f\u8aa4\u7684\u6210\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u4fee\u5fa9\u65b9\u6cd5\uff0c\u5e6b\u52a9\u4f7f\u7528\u8005\u66f4\u6709\u6548\u5730\u9032\u884c\u6545\u969c\u6392\u9664\u3002<\/p>\n<h2 id=\"ora-25504-%e9%8c%af%e8%aa%a4%e7%9a%84%e6%88%90%e5%9b%a0-HBXUJSOeZG\">ORA-25504 \u932f\u8aa4\u7684\u6210\u56e0<\/h2>\n<p><code>ORA-25504<\/code> \u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u4ee5\u4e0b\u60c5\u6cc1\uff1a<\/p>\n<ul>\n<li>\u6578\u64da\u5eab\u8655\u65bc\u95dc\u9589\u72c0\u614b\u6216\u672a\u555f\u52d5\u3002<\/li>\n<li>\u6578\u64da\u5eab\u6b63\u5728\u9032\u884c\u7dad\u8b77\u6216\u5347\u7d1a\u3002<\/li>\n<li>\u7528\u6236\u5617\u8a66\u57f7\u884c\u67d0\u4e9b\u64cd\u4f5c\uff0c\u4f46\u8a72\u64cd\u4f5c\u9700\u8981\u6578\u64da\u5eab\u8655\u65bc\u6d3b\u52d5\u72c0\u614b\u3002<\/li>\n<\/ul>\n<p>\u9019\u4e9b\u60c5\u6cc1\u90fd\u53ef\u80fd\u5c0e\u81f4 Oracle \u6578\u64da\u5eab\u7121\u6cd5\u97ff\u61c9\u7528\u6236\u7684\u8acb\u6c42\uff0c\u5f9e\u800c\u5f15\u767c <code>ORA-25504<\/code> \u932f\u8aa4\u3002<\/p>\n<h2 id=\"%e5%a6%82%e4%bd%95%e6%aa%a2%e6%9f%a5%e6%95%b8%e6%93%9a%e5%ba%ab%e7%8b%80%e6%85%8b-HBXUJSOeZG\">\u5982\u4f55\u6aa2\u67e5\u6578\u64da\u5eab\u72c0\u614b<\/h2>\n<p>\u5728\u8655\u7406 <code>ORA-25504<\/code> \u932f\u8aa4\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u6aa2\u67e5\u6578\u64da\u5eab\u7684\u7576\u524d\u72c0\u614b\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b SQL \u67e5\u8a62\u4f86\u6aa2\u67e5\u6578\u64da\u5eab\u7684\u72c0\u614b\uff1a<\/p>\n<pre><code>SELECT status FROM v$instance;<\/code><\/pre>\n<p>\u5982\u679c\u67e5\u8a62\u7d50\u679c\u986f\u793a\u6578\u64da\u5eab\u7684\u72c0\u614b\u70ba <code>STARTED<\/code> \u6216 <code>MOUNTED<\/code>\uff0c\u5247\u8868\u793a\u6578\u64da\u5eab\u5c1a\u672a\u5b8c\u5168\u555f\u52d5\u3002\u6b64\u6642\uff0c\u60a8\u9700\u8981\u57f7\u884c\u4ee5\u4e0b\u547d\u4ee4\u4f86\u555f\u52d5\u6578\u64da\u5eab\uff1a<\/p>\n<pre><code>ALTER DATABASE OPEN;<\/code><\/pre>\n<h2 id=\"%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9%e6%ad%a5%e9%a9%9f-HBXUJSOeZG\">\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f<\/h2>\n<p>\u5982\u679c\u60a8\u9047\u5230 <code>ORA-25504<\/code> \u932f\u8aa4\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u6545\u969c\u4fee\u5fa9\uff1a<\/p>\n<ol>\n<li><strong>\u6aa2\u67e5\u6578\u64da\u5eab\u72c0\u614b\uff1a<\/strong>\u4f7f\u7528\u4e0a\u8ff0 SQL \u67e5\u8a62\u78ba\u8a8d\u6578\u64da\u5eab\u662f\u5426\u8655\u65bc\u6d3b\u52d5\u72c0\u614b\u3002<\/li>\n<li><strong>\u555f\u52d5\u6578\u64da\u5eab\uff1a<\/strong>\u5982\u679c\u6578\u64da\u5eab\u672a\u555f\u52d5\uff0c\u8acb\u4f7f\u7528 <code>ALTER DATABASE OPEN;<\/code> \u547d\u4ee4\u555f\u52d5\u6578\u64da\u5eab\u3002<\/li>\n<li><strong>\u6aa2\u67e5\u65e5\u8a8c\u6587\u4ef6\uff1a<\/strong>\u67e5\u770b Oracle \u65e5\u8a8c\u6587\u4ef6\uff0c\u5c0b\u627e\u4efb\u4f55\u53ef\u80fd\u5c0e\u81f4\u6578\u64da\u5eab\u7121\u6cd5\u555f\u52d5\u7684\u932f\u8aa4\u4fe1\u606f\u3002<\/li>\n<li><strong>\u57f7\u884c\u6578\u64da\u5eab\u6062\u5fa9\uff1a<\/strong>\u5982\u679c\u6578\u64da\u5eab\u56e0\u6545\u969c\u800c\u7121\u6cd5\u555f\u52d5\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u57f7\u884c\u6062\u5fa9\u64cd\u4f5c\u3002<\/li>\n<\/ol>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86%e7%9a%84%e8%80%83%e9%87%8f-HBXUJSOeZG\">\u9060\u7a0b\u8655\u7406\u7684\u8003\u91cf<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u9060\u7a0b\u8655\u7406 <code>ORA-25504<\/code> \u932f\u8aa4\u3002\u9019\u901a\u5e38\u6d89\u53ca\u5230\u4f7f\u7528\u9060\u7a0b\u684c\u9762\u6216 SSH \u9023\u63a5\u5230\u6578\u64da\u5eab\u4f3a\u670d\u5668\u3002\u78ba\u4fdd\u60a8\u64c1\u6709\u8db3\u5920\u7684\u6b0a\u9650\u4f86\u57f7\u884c\u5fc5\u8981\u7684\u547d\u4ee4\u548c\u64cd\u4f5c\u3002<\/p>\n<p>\u5728\u9060\u7a0b\u8655\u7406\u6642\uff0c\u5efa\u8b70\u9075\u5faa\u4ee5\u4e0b\u6700\u4f73\u5be6\u8e10\uff1a<\/p>\n<ul>\n<li>\u78ba\u4fdd\u7db2\u7d61\u9023\u63a5\u7a69\u5b9a\uff0c\u907f\u514d\u56e0\u9023\u63a5\u554f\u984c\u5c0e\u81f4\u64cd\u4f5c\u5931\u6557\u3002<\/li>\n<li>\u5728\u57f7\u884c\u4efb\u4f55\u64cd\u4f5c\u4e4b\u524d\uff0c\u5099\u4efd\u91cd\u8981\u6578\u64da\uff0c\u4ee5\u9632\u6b62\u6578\u64da\u4e1f\u5931\u3002<\/li>\n<li>\u4f7f\u7528\u5b89\u5168\u7684\u9023\u63a5\u65b9\u5f0f\uff0c\u5982 SSH\uff0c\u4f86\u4fdd\u8b77\u6578\u64da\u7684\u5b89\u5168\u6027\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-HBXUJSOeZG\">\u7e3d\u7d50<\/h2>\n<p>\u9047\u5230 <code>ORA-25504<\/code> \u932f\u8aa4\u6642\uff0c\u9996\u5148\u8981\u6aa2\u67e5\u6578\u64da\u5eab\u7684\u72c0\u614b\uff0c\u7136\u5f8c\u6839\u64da\u5177\u9ad4\u60c5\u6cc1\u9032\u884c\u76f8\u61c9\u7684\u4fee\u5fa9\u64cd\u4f5c\u3002\u7121\u8ad6\u662f\u672c\u5730\u9084\u662f\u9060\u7a0b\u8655\u7406\uff0c\u9075\u5faa\u6b63\u78ba\u7684\u6b65\u9a5f\u548c\u6700\u4f73\u5be6\u8e10\u90fd\u80fd\u6709\u6548\u89e3\u6c7a\u554f\u984c\u3002\u5982\u679c\u60a8\u9700\u8981\u7a69\u5b9a\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u670d\u52d9\u4f86\u904b\u884c\u60a8\u7684 Oracle \u6578\u64da\u5eab\uff0c\u8acb\u8003\u616e\u6211\u5011\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u4ee5\u78ba\u4fdd\u60a8\u7684\u696d\u52d9\u904b\u884c\u9806\u5229\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-25504 \u932f\u8aa4\uff0c\u7cfb\u7d71\u5df2\u8655\u65bc\u5b89\u975c\u72c0\u614b\u7684\u6545\u969c\u4fee\u5fa9\u8207\u9060\u7a0b\u8655\u7406\u6307\u5357\uff0c\u52a9\u60a8\u5feb\u901f\u6062\u5fa9 Oracle \u6578\u64da\u5eab\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-89394","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/89394","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=89394"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/89394\/revisions"}],"predecessor-version":[{"id":89395,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/89394\/revisions\/89395"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=89394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=89394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=89394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}