{"id":90808,"date":"2024-10-18T15:46:18","date_gmt":"2024-10-18T07:46:18","guid":{"rendered":"https:\/\/server.hk\/cnblog\/90808\/"},"modified":"2024-10-18T15:46:18","modified_gmt":"2024-10-18T07:46:18","slug":"ora-28080-the-policy-was-already-disabled-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\/90808\/","title":{"rendered":"ORA-28080: The policy was already disabled. ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-28080-the-policy-was-already-disabled-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-GAGacZQtVa\">ORA-28080: The policy was already disabled. ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528Oracle\u6578\u64da\u5eab\u7684\u904e\u7a0b\u4e2d\uff0c\u7ba1\u7406\u54e1\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u4fbf\u662fORA-28080\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207\u7528\u6236\u7684\u5bc6\u78bc\u7b56\u7565\u6709\u95dc\uff0c\u7279\u5225\u662f\u5728\u5bc6\u78bc\u904e\u671f\u6216\u88ab\u7981\u7528\u7684\u60c5\u6cc1\u4e0b\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-28080\u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002<\/p>\n<h2 id=\"ora-28080%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-GAGacZQtVa\">ORA-28080\u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-28080\u932f\u8aa4\u7684\u5177\u9ad4\u4fe1\u606f\u70ba\u300cThe policy was already disabled\u300d\uff0c\u9019\u610f\u5473\u8457\u7528\u6236\u5617\u8a66\u57f7\u884c\u7684\u64cd\u4f5c\u6d89\u53ca\u5230\u4e00\u500b\u5df2\u7d93\u88ab\u7981\u7528\u7684\u5bc6\u78bc\u7b56\u7565\u3002\u9019\u7a2e\u60c5\u6cc1\u901a\u5e38\u767c\u751f\u5728\u4ee5\u4e0b\u5e7e\u7a2e\u60c5\u6cc1\u4e0b\uff1a<\/p>\n<ul>\n<li>\u7528\u6236\u7684\u5bc6\u78bc\u7b56\u7565\u5df2\u88ab\u7ba1\u7406\u54e1\u7981\u7528\u3002<\/li>\n<li>\u7528\u6236\u7684\u8cec\u6236\u5df2\u88ab\u9396\u5b9a\u6216\u7981\u7528\u3002<\/li>\n<li>\u6578\u64da\u5eab\u7684\u5b89\u5168\u8a2d\u7f6e\u767c\u751f\u4e86\u8b8a\u66f4\uff0c\u5c0e\u81f4\u539f\u6709\u7684\u5bc6\u78bc\u7b56\u7565\u4e0d\u518d\u9069\u7528\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e6%aa%a2%e6%9f%a5%e5%af%86%e7%a2%bc%e7%ad%96%e7%95%a5-GAGacZQtVa\">\u5982\u4f55\u6aa2\u67e5\u5bc6\u78bc\u7b56\u7565<\/h2>\n<p>\u8981\u89e3\u6c7aORA-28080\u932f\u8aa4\uff0c\u9996\u5148\u9700\u8981\u6aa2\u67e5\u7576\u524d\u7684\u5bc6\u78bc\u7b56\u7565\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0bSQL\u67e5\u8a62\u4f86\u6aa2\u67e5\u7528\u6236\u7684\u5bc6\u78bc\u7b56\u7565\u72c0\u614b\uff1a<\/p>\n<pre><code>SELECT * FROM dba_profiles WHERE profile = 'DEFAULT';<\/code><\/pre>\n<p>\u9019\u500b\u67e5\u8a62\u5c07\u986f\u793a\u7576\u524d\u9ed8\u8a8d\u914d\u7f6e\u6587\u4ef6\u7684\u6240\u6709\u5c6c\u6027\uff0c\u5305\u62ec\u5bc6\u78bc\u7684\u6709\u6548\u671f\u3001\u6700\u5c0f\u9577\u5ea6\u7b49\u3002\u5982\u679c\u767c\u73fe\u5bc6\u78bc\u7b56\u7565\u5df2\u88ab\u7981\u7528\uff0c\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u547d\u4ee4\u91cd\u65b0\u555f\u7528\uff1a<\/p>\n<pre><code>ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;<\/code><\/pre>\n<h2 id=\"%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9%e6%ad%a5%e9%a9%9f-GAGacZQtVa\">\u6545\u969c\u4fee\u5fa9\u6b65\u9a5f<\/h2>\n<p>\u5982\u679c\u60a8\u9047\u5230ORA-28080\u932f\u8aa4\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6545\u969c\u4fee\u5fa9\u7684\u6b65\u9a5f\uff1a<\/p>\n<ol>\n<li><strong>\u6aa2\u67e5\u7528\u6236\u72c0\u614b\uff1a<\/strong>\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8a62\u6aa2\u67e5\u7528\u6236\u7684\u72c0\u614b\uff1a<\/li>\n<pre><code>SELECT username, account_status FROM dba_users WHERE username = 'YOUR_USERNAME';<\/code><\/pre>\n<li><strong>\u89e3\u9396\u7528\u6236\u8cec\u6236\uff1a<\/strong>\u5982\u679c\u8cec\u6236\u88ab\u9396\u5b9a\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u89e3\u9396\uff1a<\/li>\n<pre><code>ALTER USER YOUR_USERNAME ACCOUNT UNLOCK;<\/code><\/pre>\n<li><strong>\u91cd\u65b0\u555f\u7528\u5bc6\u78bc\u7b56\u7565\uff1a<\/strong>\u5982\u524d\u6240\u8ff0\uff0c\u6aa2\u67e5\u4e26\u91cd\u65b0\u555f\u7528\u5bc6\u78bc\u7b56\u7565\u3002<\/li>\n<li><strong>\u6e2c\u8a66\u767b\u9304\uff1a<\/strong>\u5728\u5b8c\u6210\u4e0a\u8ff0\u6b65\u9a5f\u5f8c\uff0c\u5617\u8a66\u91cd\u65b0\u767b\u9304\u4ee5\u78ba\u8a8d\u554f\u984c\u662f\u5426\u5df2\u89e3\u6c7a\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-GAGacZQtVa\">\u9060\u7a0b\u8655\u7406\u7684\u8003\u91cf<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u7279\u5225\u662f\u7576\u6578\u64da\u5eab\u4f4d\u65bc\u9060\u7a0b\u4f3a\u670d\u5668\u4e0a\u6642\uff0c\u7ba1\u7406\u54e1\u53ef\u80fd\u7121\u6cd5\u76f4\u63a5\u8a2a\u554f\u6578\u64da\u5eab\u3002\u9019\u6642\uff0c\u53ef\u4ee5\u8003\u616e\u4f7f\u7528\u9060\u7a0b\u7ba1\u7406\u5de5\u5177\u4f86\u9032\u884c\u6545\u969c\u6392\u9664\u3002\u78ba\u4fdd\u60a8\u64c1\u6709\u8db3\u5920\u7684\u6b0a\u9650\u4f86\u57f7\u884c\u5fc5\u8981\u7684\u64cd\u4f5c\uff0c\u4e26\u4e14\u5728\u9032\u884c\u4efb\u4f55\u66f4\u6539\u4e4b\u524d\uff0c\u6700\u597d\u5148\u5099\u4efd\u6578\u64da\u5eab\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-GAGacZQtVa\">\u7d50\u8ad6<\/h2>\n<p>ORA-28080\u932f\u8aa4\u901a\u5e38\u8207\u5bc6\u78bc\u7b56\u7565\u7684\u7981\u7528\u6709\u95dc\uff0c\u901a\u904e\u6aa2\u67e5\u7528\u6236\u72c0\u614b\u548c\u5bc6\u78bc\u7b56\u7565\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002\u4e86\u89e3\u5982\u4f55\u7ba1\u7406Oracle\u6578\u64da\u5eab\u7684\u5b89\u5168\u8a2d\u7f6e\u5c0d\u65bc\u7dad\u8b77\u7cfb\u7d71\u7684\u7a69\u5b9a\u6027\u81f3\u95dc\u91cd\u8981\u3002<\/p>\n<p>\u5982\u679c\u60a8\u9700\u8981\u66f4\u591a\u6709\u95dc<em><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/em>\u548c<em><a href=\"https:\/\/server.hk\">\u4f3a\u670d\u5668<\/a><\/em>\u7684\u8cc7\u8a0a\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4ee5\u7372\u53d6\u66f4\u591a\u8a73\u7d30\u8cc7\u6599\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to resolve ORA-28080: &#8220;The policy was already disabled&#8221; in Oracle. Discover troubleshooting tips and remote handling solutions.<\/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-90808","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90808","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=90808"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90808\/revisions"}],"predecessor-version":[{"id":90809,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90808\/revisions\/90809"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=90808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=90808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=90808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}