بتاريخ: 24 يونيو 200718 سنة comment_103296 بسم الله الرحمن الرحيمالسلام عليكم ورحمة الله وبركاتهلدي سيرفير linux3 + oracle 10gعندما قمت بعمل shutdown immediateاستغرق زمن طويل قمت بعمل shutdown abortثم startupتمت فتح الdatabaseثم shutdown immediateأيضاً لم يستجيبراجعت ال alert_$ORACLE_SID.logوجدته به error ويشير لملف ال trace المرفق بالموضوعفما هو حل هد`ه المشكلة ؟؟أخوكمالملف ال trace branch06_ora_2834.txt تقديم بلاغ
بتاريخ: 24 يونيو 200718 سنة comment_103310 SHUTDOWN IMMEDIATE hangs or very slow Loss of functionality----------------------basic functionality as shutdown immediate doesnot workSequence of events-------------------after shutdown immediate sqlplus> shutdown immediate Where did it happen-------------------after shutdown immediateSignificance of loss---------------------basic functionality as shutdown immediate doesnot workSpecific error----------------Alert messages 'SHUTDOWN: waiting for active calls to complete.'What is working-----------------Database worksExpected result---------------find reasonable explanation why basic functionalitydoesnot work or is this a bugCauseIs db control's repository running on the database target, against whichshutdown immediate was attempted? If YES, then it's the wrong way of doingit. You should stop db control first to get rid of all connections between dbcontrol and repository database and then shutdown the database with 'shutdownimmediate'.current database session:SQL> select SID, USERNAME, PROGRAM from v$session;SID USERNAME PROGRAM---------- ------------------------------ --------------------------------------243 SYSTEM SQL Developer246 SYSMAN OMS247 oracle@lgiora09 (q001)248 oracle@lgiora09 (q000)251 DBSNMP emagent@lgiora09 (TNS V1-V3)252 SYSMAN OMS253 SYSMAN OMS254 DBSNMP emagent@lgiora09 (TNS V1-V3)255 SYSTEM java.exe256 SYSMAN OMS.clearly OMS and OEM are connected ( GRID CONTROL or DBCONSOLE or ORACLEENTERPRISE MANAGER) - (SYSMAN and DBSNMP)These sessions should be de-activated ( that is to log off any OEM OMS,SYSMAN and DBSNMP ) before shutdown immediate is attemptedSolutionTo implement the solution,1. clearly OMS and OEM are connected ( GRID CONTROL or DBCONSOLE or ORACLEENTERPRISE MANAGER) - (SYSMAN and DBSNMP)These sessions should be de-activated ( that is to log off any OEM OMS,SYSMAN and DBSNMP ) before shutdown immediate is attemptedIt is not a bug. Dbconsole, Oracle Enterprise Manager and Grid Control and agents keep doing internal processing- also a few PLSQL notification procedures running on the database by database control like BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END; For shutdown immediate, if there are active call then wait for the all the active calls to finish so dbconsole or Oracle Enterprise Manager or Grid Control should be disconnected before sqlplus> shutdown immediate is donealso few PLSQL notification procedures running on the database by database control like BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, : 3); END; As per internal documentation of the shutdown immediate, if there are active call then it would wait for the all the active calls to finish. Ref:OracleMetalink تقديم بلاغ
بتاريخ: 24 يونيو 200718 سنة كاتب الموضوع comment_103328 أخي الفاضلk_ocpجزاك الله خيراً و لكن أنا عملت shutdown abortثم startupثم shutdown immediateمما يعني أنه لا يوجد connection علي ال database تقديم بلاغ
بتاريخ: 24 يونيو 200718 سنة comment_103336 أخوي ابن الجوزيالسلام عليكمممكن تسوي الخطوات التاليه:shutdown abortثمبعدين سوي إعادة تشغيل للسيرفرثم startup database ثم shutdown immediateوقلي اش النتيجه تقديم بلاغ
بتاريخ: 26 يونيو 200718 سنة كاتب الموضوع comment_103462 أخي الفاضلk_ocpلقد جربت هذه الطريقة عندما واجهتني المشكلة و لكن لم تستجيب . تقديم بلاغ
بتاريخ: 26 يونيو 200718 سنة comment_103497 Shutdown_immediate_hangs.zipأخوي ابن الجوزيالسلام عليكمشوف الملفات اللي رفعتها وقلي اش النتيجه تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.