{"id":36158,"date":"2023-07-22T11:18:36","date_gmt":"2023-07-22T03:18:36","guid":{"rendered":"http:\/\/www.idc.net\/help\/36158\/"},"modified":"2023-07-22T11:18:36","modified_gmt":"2023-07-22T03:18:36","slug":"ora-01994-grant-failed-password-file-missing-or-disabled-oracle-%e6%8a%a5%e9%94%99-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%a4%8d-%e8%bf%9c%e7%a8%8b%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/36158\/","title":{"rendered":"ORA-01994: GRANT failed: password file missing or disabled ORACLE \u62a5\u9519 \u6545\u969c\u4fee\u590d \u8fdc\u7a0b\u5904\u7406"},"content":{"rendered":"<h3>\u6587\u6863\u89e3\u91ca<\/h3>\n<p><span>ORA-01994:<\/span> GRANT failed: password file missing or disabled<\/p>\n<p><span>Cause:<\/span> The operation failed either because the INIT.ORA parameter REMOTE_LOGIN_PASSWORDFILE was set to NONE or else because the password file was missing.<\/p>\n<p><span>Action:<\/span> Create the password file using the orapwd tool and set the INIT.ORA parameter REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE.<\/p>\n<\/p>\n<p>ORA-01994\u9519\u8bef\u6307\u7684\u662fGRANT\u64cd\u4f5c\u5931\u8d25\uff0c\u539f\u56e0\u662f\u5bc6\u7801\u6587\u4ef6\u4e0d\u5b58\u5728\u6216\u8005\u672a\u542f\u7528\u3002<\/p>\n<h3>\u5b98\u65b9\u89e3\u91ca<\/h3>\n<p>ORA-01994: GRANT failed: password file missing or disabled<\/p>\n<p>Cause: A GRANT or REVOKE command failed because the password file was either missing or disabled.<\/p>\n<p>Action: Verify that a valid password file exists, and that the Remote Method Invocation (RMI) server is enabled.<\/p>\n<h3>\u5e38\u89c1\u6848\u4f8b<\/h3>\n<p>\u8fd9\u4e00\u9519\u8bef\u53ef\u80fd\u5728\u7528\u6237\u4ee5SYSDBA\u89d2\u8272\u767b\u9646\u6570\u636e\u5e93\u65f6\u88ab\u89e6\u53d1\uff0c\u8fd9\u53ef\u80fd\u662f\u7531\u4e8e\u4e0d\u517c\u5bb9\u7684\u6570\u636e\u5e93\u7248\u672c\u6216\u8005\u79fb\u690d\u7ec8\u7aef\u5f15\u8d77\u7684\u3002<\/p>\n<p>\u6b63\u5e38\u5904\u7406\u65b9\u6cd5\u53ca\u6b65\u9aa4:<\/p>\n<p>1. \u786e\u4fdd\u670d\u52a1\u5668\u4e0a\u7684RMI\u670d\u52a1\u5668\u8bbe\u7f6e\u4e3a\u6b63\u786e\u7684\u7aef\u53e3\uff1b<\/p>\n<p>2. \u786e\u4fdd\u5bc6\u7801\u6587\u4ef6\u5b58\u5728\uff0c\u6709\u6548\uff0c\u5e76\u6b63\u786e\u914d\u7f6e\uff1b<\/p>\n<h3>\u6b63\u5e38\u5904\u7406\u65b9\u6cd5\u53ca\u6b65\u9aa4<\/h3>\n<p>\uff08a\uff09sqlplus \u2018\/as sysdba\u2019<\/p>\n<p>\uff08b\uff09\u6839\u636e\u9700\u8981\uff0c\u4f7f\u7528alter system set remote_login_passwordfile\u548ccreate spfile from pfile\u5b9a\u4e49\u65b0\u7684\u5bc6\u7801\u6587\u4ef6\uff1b<\/p>\n<p>\uff08c\uff09\u5c06\u65b0\u7684\u5bc6\u7801\u6587\u4ef6\u590d\u5236\u5230Oracle\u7528\u6237\u5bb6\u76ee\u5f55\uff1b<\/p>\n<p>4. \u5982\u679c\u4ecd\u7136\u5b58\u5728\u95ee\u9898\uff0c\u53ef\u5c1d\u8bd5\u91cd\u65b0\u542f\u52a8RMI\u670d\u52a1\u5668\uff0c\u5220\u9664\u810f\u6570\u636e\uff0c\u5e76\u518d\u6b21\u5c1d\u8bd5\u8fdc\u7a0b\u8fde\u63a5\uff1b<\/p>\n<p>\u9999\u6e2f\u7f8e\u56fd\u4e91\u670d\u52a1\u5668\u9996\u9009\u540e\u6d6a\u4e91\uff0c2H2G\u9996\u670810\u5143\u5f00\u901a\u3002<br \/>\u540e\u6d6a\u4e91\uff08www.IDC.Net\uff09\u63d0\u4f9b\u7b80\u5355\u597d\u7528\uff0c\u4ef7\u683c\u539a\u9053\u7684\u9999\u6e2f\/\u7f8e\u56fd\u4e91\u670d\u52a1\u5668\u548c\u72ec\u7acb\u670d\u52a1\u5668\u3002IDC+ISP+ICP\u8d44\u8d28\u3002ARIN\u548cAPNIC\u4f1a\u5458\u3002\u6210\u719f\u6280\u672f\u56e2\u961f15\u5e74\u884c\u4e1a\u7ecf\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u6863\u89e3\u91ca ORA-01994: GRANT failed: password file missing or  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7038],"tags":[],"class_list":["post-36158","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/36158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=36158"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/36158\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=36158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=36158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=36158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}