🥦Fix Oracle End-of-File on Communication Channel
Cause : สาเหตุเนื่องมาจาก Archive Log เต็ม ทำให้ไม่สามารถทำการ Start Database และ Shutdown Database ได้ สามารถตรวจสอบ Error ที่พบได้จาก Automatic Diagnostic Repository ( ADR ) ซึ่งมีวิธีแก้ 2 วิธี คือ 1. ทำการขยายพื้นที่ Size ของ Archive Log หรือ 2. ปิดการทำงาน Archive Log หากไม่จำเป็นต้องใช้งาน
SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-01089: immediate shutdown in progress - no operations are permittedSQL> startup
ORA-03113: end-of-file on communication channel
Process ID: 31834
Session ID: 191 Serial number: 3Configuration
ทำการตรวจสอบ Diagnostic ด้วย ADR
adrciADRCI: Release 11.2.0.2.0 - Production on Wed Sep 25 08:48:30 2019
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ADR base = "/u01/app/oracle"ทำการแสดง Home Directory กรณีที่ ADR Base ไม่ได้ทำการกำหนดไว้
ทำการระบุ Home Directory
ทำการแสดง Alert Log
ทำการ Connect Database ด้วย SQL*Plus
ทำการ Shutdown Database
ทำการ Start Database ในโหมด Mount
Solution 1
ทำการตรวจสอบ Fast Recovery Area
ทำการแก้ไข Parameter ของ Fast Recovery Area
ทำการตรวจสอบ Fast Recovery Area อีกครั้งหนึ่ง
Solution 2
ทำการตรวจสอบ Archive Log Mode จะเห็นว่า Open Archive Mode อยู่
ทำการ Close Archive Mode
ทำการตรวจสอบ Archive Log Mode อีกครั้งหนึ่ง
ทำการ Start Database ในโหมด Open
อ่านเพิ่มเติม : https://bit.ly/2l4sNYW, https://bit.ly/2lDl04z
Last updated
Was this helpful?