{"id":90376,"date":"2024-10-18T14:41:17","date_gmt":"2024-10-18T06:41:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/90376\/"},"modified":"2024-10-18T14:41:17","modified_gmt":"2024-10-18T06:41:17","slug":"ora-27367-program-string-string-associated-with-this-job-is-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\/90376\/","title":{"rendered":"ORA-27367: program \u201cstring.string\u201d associated with this job is disabled ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-27367-%e7%a8%8b%e5%ba%8f-string-string-%e5%85%b3%e8%81%94%e7%9a%84%e4%bd%9c%e4%b8%9a%e5%b7%b2%e8%a2%ab%e7%a6%81%e7%94%a8-oracle%e5%a0%b1%e9%8c%af%e6%95%85%e9%9a%9c%e4%bf%ae-yIrZOPpYZh\">ORA-27367: \u7a0b\u5e8f \u201cstring.string\u201d \u5173\u8054\u7684\u4f5c\u4e1a\u5df2\u88ab\u7981\u7528 &#8211; 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\u7cfb\u7d71\u7ba1\u7406\u54e1\u53ef\u80fd\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\uff0c\u5176\u4e2d\u4e4b\u4e00\u4fbf\u662f ORA-27367\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8868\u793a\u8207\u67d0\u500b\u4f5c\u696d\u76f8\u95dc\u7684\u7a0b\u5e8f\u5df2\u88ab\u7981\u7528\uff0c\u9019\u53ef\u80fd\u6703\u5c0e\u81f4\u8a08\u5283\u4efb\u52d9\u7121\u6cd5\u6b63\u5e38\u57f7\u884c\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e ORA-27367 \u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002<\/p>\n<h2 id=\"ora-27367-%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-yIrZOPpYZh\">ORA-27367 \u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-27367 \u932f\u8aa4\u901a\u5e38\u51fa\u73fe\u5728\u4ee5\u4e0b\u60c5\u6cc1\uff1a<\/p>\n<ul>\n<li>\u4f5c\u696d\u7684\u7a0b\u5e8f\u88ab\u624b\u52d5\u7981\u7528\u3002<\/li>\n<li>\u4f5c\u696d\u7684\u7a0b\u5e8f\u56e0\u70ba\u67d0\u4e9b\u539f\u56e0\uff08\u5982\u6b0a\u9650\u554f\u984c\uff09\u7121\u6cd5\u57f7\u884c\u3002<\/li>\n<li>\u4f5c\u696d\u7684\u7a0b\u5e8f\u5df2\u88ab\u522a\u9664\u6216\u4e0d\u5b58\u5728\u3002<\/li>\n<li>\u6578\u64da\u5eab\u7684\u914d\u7f6e\u554f\u984c\uff0c\u5c0e\u81f4\u4f5c\u696d\u7121\u6cd5\u6b63\u5e38\u904b\u884c\u3002<\/li>\n<\/ul>\n<p>\u9019\u4e9b\u539f\u56e0\u53ef\u80fd\u6703\u5c0e\u81f4\u8a08\u5283\u4efb\u52d9\u7121\u6cd5\u57f7\u884c\uff0c\u5f9e\u800c\u5f71\u97ff\u5230\u6574\u9ad4\u7cfb\u7d71\u7684\u904b\u884c\u6548\u7387\u3002<\/p>\n<h2 id=\"%e5%a6%82%e4%bd%95%e6%aa%a2%e6%9f%a5%e4%bd%9c%e6%a5%ad%e7%8b%80%e6%85%8b-yIrZOPpYZh\">\u5982\u4f55\u6aa2\u67e5\u4f5c\u696d\u72c0\u614b<\/h2>\n<p>\u5728\u4fee\u5fa9 ORA-27367 \u932f\u8aa4\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u6aa2\u67e5\u4f5c\u696d\u7684\u72c0\u614b\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b SQL \u67e5\u8a62\u4f86\u6aa2\u67e5\u4f5c\u696d\u7684\u72c0\u614b\uff1a<\/p>\n<pre><code>SELECT job_name, enabled\nFROM dba_jobs\nWHERE job_name = 'YOUR_JOB_NAME';<\/code><\/pre>\n<p>\u5728\u9019\u88e1\uff0c\u5c07 &#8216;YOUR_JOB_NAME&#8217; \u66ff\u63db\u70ba\u5be6\u969b\u7684\u4f5c\u696d\u540d\u7a31\u3002\u5982\u679c\u67e5\u8a62\u7d50\u679c\u986f\u793a\u4f5c\u696d\u5df2\u88ab\u7981\u7528\uff0c\u5247\u9700\u8981\u9032\u884c\u76f8\u61c9\u7684\u8655\u7406\u3002<\/p>\n<h2 id=\"%e4%bf%ae%e5%be%a9-ora-27367-%e9%8c%af%e8%aa%a4%e7%9a%84%e6%96%b9%e6%b3%95-yIrZOPpYZh\">\u4fee\u5fa9 ORA-27367 \u932f\u8aa4\u7684\u65b9\u6cd5<\/h2>\n<p>\u4fee\u5fa9 ORA-27367 \u932f\u8aa4\u7684\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<h3 id=\"1-%e5%95%9f%e7%94%a8%e4%bd%9c%e6%a5%ad-yIrZOPpYZh\">1. \u555f\u7528\u4f5c\u696d<\/h3>\n<p>\u5982\u679c\u4f5c\u696d\u88ab\u7981\u7528\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b SQL \u8a9e\u53e5\u4f86\u555f\u7528\u4f5c\u696d\uff1a<\/p>\n<pre><code>EXEC DBMS_JOB.ENABLE(job =&gt; YOUR_JOB_ID);<\/code><\/pre>\n<p>\u5728\u9019\u88e1\uff0c\u5c07 &#8216;YOUR_JOB_ID&#8217; \u66ff\u63db\u70ba\u5be6\u969b\u7684\u4f5c\u696d ID\u3002<\/p>\n<h3 id=\"2-%e6%aa%a2%e6%9f%a5%e7%a8%8b%e5%ba%8f%e7%9a%84%e5%ad%98%e5%9c%a8%e6%80%a7-yIrZOPpYZh\">2. \u6aa2\u67e5\u7a0b\u5e8f\u7684\u5b58\u5728\u6027<\/h3>\n<p>\u78ba\u4fdd\u8207\u4f5c\u696d\u76f8\u95dc\u7684\u7a0b\u5e8f\u4ecd\u7136\u5b58\u5728\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8a62\u4f86\u6aa2\u67e5\uff1a<\/p>\n<pre><code>SELECT object_name, object_type\nFROM user_objects\nWHERE object_name = 'YOUR_PROGRAM_NAME';<\/code><\/pre>\n<p>\u5982\u679c\u7a0b\u5e8f\u4e0d\u5b58\u5728\uff0c\u5247\u9700\u8981\u91cd\u65b0\u5275\u5efa\u8a72\u7a0b\u5e8f\u3002<\/p>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e6%ac%8a%e9%99%90-yIrZOPpYZh\">3. \u6aa2\u67e5\u6b0a\u9650<\/h3>\n<p>\u78ba\u4fdd\u57f7\u884c\u4f5c\u696d\u7684\u7528\u6236\u64c1\u6709\u8db3\u5920\u7684\u6b0a\u9650\u4f86\u57f7\u884c\u8a72\u7a0b\u5e8f\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u67e5\u8a62\u4f86\u6aa2\u67e5\u7528\u6236\u7684\u6b0a\u9650\uff1a<\/p>\n<pre><code>SELECT * \nFROM user_sys_privs \nWHERE privilege = 'EXECUTE';<\/code><\/pre>\n<p>\u5982\u679c\u7f3a\u5c11\u5fc5\u8981\u7684\u6b0a\u9650\uff0c\u5247\u9700\u8981\u6388\u4e88\u76f8\u61c9\u7684\u6b0a\u9650\u3002<\/p>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86%e7%9a%84%e8%80%83%e9%87%8f-yIrZOPpYZh\">\u9060\u7a0b\u8655\u7406\u7684\u8003\u91cf<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u9032\u884c\u9060\u7a0b\u8655\u7406\u4f86\u89e3\u6c7a ORA-27367 \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\uff0c\u4e26\u57f7\u884c\u4e0a\u8ff0\u6aa2\u67e5\u548c\u4fee\u5fa9\u6b65\u9a5f\u3002\u5728\u9032\u884c\u9060\u7a0b\u8655\u7406\u6642\uff0c\u8acb\u78ba\u4fdd\u9075\u5faa\u5b89\u5168\u6700\u4f73\u5be6\u8e10\uff0c\u4ee5\u4fdd\u8b77\u6578\u64da\u7684\u5b89\u5168\u6027\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-yIrZOPpYZh\">\u7e3d\u7d50<\/h2>\n<p>ORA-27367 \u932f\u8aa4\u53ef\u80fd\u6703\u5c0d Oracle \u6578\u64da\u5eab\u7684\u904b\u884c\u9020\u6210\u5f71\u97ff\uff0c\u4f46\u901a\u904e\u6aa2\u67e5\u4f5c\u696d\u72c0\u614b\u3001\u555f\u7528\u4f5c\u696d\u3001\u78ba\u8a8d\u7a0b\u5e8f\u5b58\u5728\u6027\u53ca\u6aa2\u67e5\u6b0a\u9650\u7b49\u6b65\u9a5f\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u9032\u884c\u6545\u969c\u4fee\u5fa9\u3002\u5c0d\u65bc\u9700\u8981\u9ad8\u6548\u80fd\u548c\u7a69\u5b9a\u6027\u7684\u61c9\u7528\uff0c\u9078\u64c7\u5408\u9069\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u670d\u52d9\u4e5f\u662f\u81f3\u95dc\u91cd\u8981\u7684\uff0c\u9019\u6a23\u53ef\u4ee5\u78ba\u4fdd\u6578\u64da\u5eab\u7684\u7a69\u5b9a\u904b\u884c\u548c\u5feb\u901f\u97ff\u61c9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to resolve ORA-27367: program \u201cstring.string\u201d associated with this job is disabled in Oracle. Troubleshooting and remote handling tips included.<\/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-90376","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90376","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=90376"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90376\/revisions"}],"predecessor-version":[{"id":90377,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90376\/revisions\/90377"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=90376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=90376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=90376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}