{"id":90372,"date":"2024-10-18T14:39:21","date_gmt":"2024-10-18T06:39:21","guid":{"rendered":"https:\/\/server.hk\/cnblog\/90372\/"},"modified":"2024-10-18T14:39:21","modified_gmt":"2024-10-18T06:39:21","slug":"ora-27365-job-has-been-notified-to-stop-but-failed-to-do-so-immediately-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\/90372\/","title":{"rendered":"ORA-27365: job has been notified to stop, but failed to do so immediately ORACLE\u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-27365-job-has-been-notified-to-stop-but-failed-to-do-so-immediately-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-ubCobufVOL\">ORA-27365: job has been notified to stop, but failed to do so immediately 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\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\u662fORA-27365\u3002\u9019\u500b\u932f\u8aa4\u901a\u5e38\u8207Oracle\u7684\u4f5c\u696d\u8abf\u5ea6\u7cfb\u7d71\u6709\u95dc\uff0c\u7279\u5225\u662f\u5728\u4f7f\u7528DBMS_SCHEDULER\u5305\u6642\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eORA-27365\u932f\u8aa4\u7684\u539f\u56e0\u3001\u5f71\u97ff\u53ca\u5176\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<h2 id=\"ora-27365%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-ubCobufVOL\">ORA-27365\u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-27365\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u662f\u7576\u4e00\u500b\u4f5c\u696d\u88ab\u901a\u77e5\u505c\u6b62\u6642\uff0c\u8a72\u4f5c\u696d\u672a\u80fd\u7acb\u5373\u505c\u6b62\u3002\u9019\u53ef\u80fd\u662f\u7531\u65bc\u4ee5\u4e0b\u5e7e\u500b\u56e0\u7d20\u9020\u6210\u7684\uff1a<\/p>\n<ul>\n<li><strong>\u4f5c\u696d\u57f7\u884c\u6642\u9593\u904e\u9577\uff1a<\/strong>\u5982\u679c\u4f5c\u696d\u6b63\u5728\u57f7\u884c\u7684\u904e\u7a0b\u4e2d\u9700\u8981\u8f03\u9577\u7684\u6642\u9593\u4f86\u5b8c\u6210\uff0c\u5247\u53ef\u80fd\u7121\u6cd5\u7acb\u5373\u97ff\u61c9\u505c\u6b62\u8acb\u6c42\u3002<\/li>\n<li><strong>\u8cc7\u6e90\u7af6\u722d\uff1a<\/strong>\u5728\u591a\u500b\u4f5c\u696d\u540c\u6642\u904b\u884c\u7684\u60c5\u6cc1\u4e0b\uff0c\u8cc7\u6e90\u7684\u7af6\u722d\u53ef\u80fd\u5c0e\u81f4\u67d0\u4e9b\u4f5c\u696d\u7121\u6cd5\u53ca\u6642\u505c\u6b62\u3002<\/li>\n<li><strong>\u7cfb\u7d71\u6027\u80fd\u554f\u984c\uff1a<\/strong>\u5982\u679c\u6578\u64da\u5eab\u7cfb\u7d71\u7684\u6027\u80fd\u4e0d\u4f73\uff0c\u5247\u53ef\u80fd\u6703\u5f71\u97ff\u4f5c\u696d\u7684\u57f7\u884c\u548c\u505c\u6b62\u3002<\/li>\n<li><strong>\u4f5c\u696d\u908f\u8f2f\u932f\u8aa4\uff1a<\/strong>\u4f5c\u696d\u672c\u8eab\u7684\u908f\u8f2f\u932f\u8aa4\u53ef\u80fd\u5c0e\u81f4\u5176\u7121\u6cd5\u6b63\u78ba\u97ff\u61c9\u505c\u6b62\u8acb\u6c42\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%a6%82%e4%bd%95%e6%aa%a2%e6%9f%a5%e5%92%8c%e8%a8%ba%e6%96%b7ora-27365%e9%8c%af%e8%aa%a4-ubCobufVOL\">\u5982\u4f55\u6aa2\u67e5\u548c\u8a3a\u65b7ORA-27365\u932f\u8aa4<\/h2>\n<p>\u5728\u9047\u5230ORA-27365\u932f\u8aa4\u6642\uff0c\u9996\u5148\u9700\u8981\u9032\u884c\u8a3a\u65b7\u4ee5\u78ba\u5b9a\u554f\u984c\u7684\u6839\u672c\u539f\u56e0\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u6aa2\u67e5\u6b65\u9a5f\uff1a<\/p>\n<ul>\n<li><strong>\u67e5\u770b\u4f5c\u696d\u72c0\u614b\uff1a<\/strong>\u4f7f\u7528\u4ee5\u4e0bSQL\u67e5\u8a62\u4f86\u6aa2\u67e5\u4f5c\u696d\u7684\u7576\u524d\u72c0\u614b\uff1a<\/li>\n<pre><code>SELECT job_name, state, run_duration FROM dba_scheduler_jobs WHERE job_name = 'YOUR_JOB_NAME';<\/code><\/pre>\n<li><strong>\u6aa2\u67e5\u4f5c\u696d\u65e5\u8a8c\uff1a<\/strong>\u67e5\u770b\u4f5c\u696d\u7684\u65e5\u8a8c\u6587\u4ef6\uff0c\u4ee5\u7372\u53d6\u6709\u95dc\u4f5c\u696d\u57f7\u884c\u7684\u8a73\u7d30\u4fe1\u606f\u3002<\/li>\n<li><strong>\u76e3\u63a7\u7cfb\u7d71\u6027\u80fd\uff1a<\/strong>\u4f7f\u7528Oracle\u7684\u6027\u80fd\u76e3\u63a7\u5de5\u5177\u4f86\u6aa2\u67e5\u7cfb\u7d71\u7684\u8cc7\u6e90\u4f7f\u7528\u60c5\u6cc1\u3002<\/li>\n<\/ul>\n<h2 id=\"%e8%a7%a3%e6%b1%baora-27365%e9%8c%af%e8%aa%a4%e7%9a%84%e6%96%b9%e6%b3%95-ubCobufVOL\">\u89e3\u6c7aORA-27365\u932f\u8aa4\u7684\u65b9\u6cd5<\/h2>\n<p>\u91dd\u5c0dORA-27365\u932f\u8aa4\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9b\u53ef\u80fd\u7684\u89e3\u6c7a\u65b9\u6848\uff1a<\/p>\n<ul>\n<li><strong>\u589e\u52a0\u4f5c\u696d\u7684\u8d85\u6642\u8a2d\u7f6e\uff1a<\/strong>\u5982\u679c\u4f5c\u696d\u9700\u8981\u8f03\u9577\u7684\u6642\u9593\u4f86\u5b8c\u6210\uff0c\u53ef\u4ee5\u8003\u616e\u589e\u52a0\u5176\u8d85\u6642\u8a2d\u7f6e\u3002\u9019\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0bSQL\u547d\u4ee4\u4f86\u5be6\u73fe\uff1a<\/li>\n<pre><code>BEGIN\n        DBMS_SCHEDULER.set_attribute('YOUR_JOB_NAME', 'max_run_duration', INTERVAL '1' HOUR);\n    END;<\/code><\/pre>\n<li><strong>\u512a\u5316\u4f5c\u696d\u908f\u8f2f\uff1a<\/strong>\u6aa2\u67e5\u4f5c\u696d\u7684\u908f\u8f2f\uff0c\u78ba\u4fdd\u5176\u80fd\u5920\u5728\u5408\u7406\u7684\u6642\u9593\u5167\u5b8c\u6210\u3002<\/li>\n<li><strong>\u6e1b\u5c11\u8cc7\u6e90\u7af6\u722d\uff1a<\/strong>\u5982\u679c\u53ef\u80fd\uff0c\u8abf\u6574\u4f5c\u696d\u7684\u57f7\u884c\u6642\u9593\uff0c\u4ee5\u6e1b\u5c11\u8207\u5176\u4ed6\u4f5c\u696d\u7684\u8cc7\u6e90\u7af6\u722d\u3002<\/li>\n<li><strong>\u91cd\u555f\u4f5c\u696d\uff1a<\/strong>\u5982\u679c\u4f5c\u696d\u7121\u6cd5\u505c\u6b62\uff0c\u53ef\u4ee5\u8003\u616e\u5f37\u5236\u7d42\u6b62\u8a72\u4f5c\u696d\uff0c\u7136\u5f8c\u91cd\u65b0\u555f\u52d5\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b5%90%e8%ab%96-ubCobufVOL\">\u7d50\u8ad6<\/h2>\n<p>ORA-27365\u932f\u8aa4\u662f\u4e00\u500b\u5e38\u898b\u7684Oracle\u6578\u64da\u5eab\u554f\u984c\uff0c\u901a\u5e38\u8207\u4f5c\u696d\u7684\u57f7\u884c\u548c\u505c\u6b62\u6709\u95dc\u3002\u901a\u904e\u6b63\u78ba\u7684\u8a3a\u65b7\u548c\u9069\u7576\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u8655\u7406\u9019\u4e00\u932f\u8aa4\uff0c\u78ba\u4fdd\u6578\u64da\u5eab\u7cfb\u7d71\u7684\u7a69\u5b9a\u904b\u884c\u3002\u5c0d\u65bc\u9700\u8981\u9ad8\u6548\u80fd\u548c\u7a69\u5b9a\u6027\u7684\u7528\u6236\uff0c\u9078\u64c7\u5408\u9069\u7684<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u6216<a href=\"https:\/\/server.hk\">\u96f2\u4f3a\u670d\u5668<\/a>\u89e3\u6c7a\u65b9\u6848\u5c07\u662f\u660e\u667a\u7684\u9078\u64c7\uff0c\u4ee5\u652f\u6301\u5176\u696d\u52d9\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to troubleshoot and resolve ORA-27365 errors in Oracle, addressing job stoppage issues and effective 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-90372","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90372","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=90372"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90372\/revisions"}],"predecessor-version":[{"id":90373,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/90372\/revisions\/90373"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=90372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=90372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=90372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}