🥦Fix Oracle End-of-File on Communication Channel

ในกรณีที่เราทำการ Start Database บน Oracle Database แล้วไม่สามารถทำการ Start Database ได้ เนื่องจาก Archive Log เต็ม ทำให้ไม่สามารถทำการสำรองข้อมูล Archive Log ได้ ส่งผลให้ไม่สามารถทำการ Start Database และ Shutdown Database ได้ แต่สามารถทำการสั่ง Shutdown Abort ได้

SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-01089: immediate shutdown in progress - no operations are permitted
SQL> startup
ORA-03113: end-of-file on communication channel
Process ID: 31834
Session ID: 191 Serial number: 3

Configuration

  • ทำการตรวจสอบ Diagnostic ด้วย ADR

$
adrci
ADRCI: 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?