惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
Hugging Face - Blog
Hugging Face - Blog
M
MIT News - Artificial intelligence
T
Tailwind CSS Blog
Webroot Blog
Webroot Blog
S
Secure Thoughts
N
News and Events Feed by Topic
月光博客
月光博客
TaoSecurity Blog
TaoSecurity Blog
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
N
News | PayPal Newsroom
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
小众软件
小众软件
Recent Commits to openclaw:main
Recent Commits to openclaw:main
P
Privacy & Cybersecurity Law Blog
GbyAI
GbyAI
K
Kaspersky official blog
WordPress大学
WordPress大学
P
Proofpoint News Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 叶小钗
W
WeLiveSecurity
Jina AI
Jina AI
The Cloudflare Blog
Project Zero
Project Zero
Simon Willison's Weblog
Simon Willison's Weblog
V
Vulnerabilities – Threatpost
L
LangChain Blog
Forbes - Security
Forbes - Security
PCI Perspectives
PCI Perspectives
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
Recorded Future
Recorded Future
博客园 - 【当耐特】
H
Heimdal Security Blog
A
About on SuperTechFans
Cisco Talos Blog
Cisco Talos Blog
T
Threat Research - Cisco Blogs
云风的 BLOG
云风的 BLOG
Spread Privacy
Spread Privacy
L
LINUX DO - 最新话题
L
Lohrmann on Cybersecurity
Last Week in AI
Last Week in AI
Google DeepMind News
Google DeepMind News
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
I
Intezer
Martin Fowler
Martin Fowler
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
ORA-00215 오류 원인과 해결 방법 완벽 가이드
umzzil nng · 2026-05-26 · via DEV Community

umzzil nng

ORA-00215란?

ORA-00215 에러는 Oracle 데이터베이스가 시작(STARTUP) 또는 마운트(MOUNT) 과정에서 유효한 컨트롤 파일(Control File)을 단 하나도 찾지 못했을 때 발생하는 치명적인 에러입니다. 컨트롤 파일은 데이터베이스의 물리적 구조 정보(데이터 파일 위치, 리두 로그 파일 위치, SCN 정보 등)를 담고 있는 핵심 바이너리 파일로, 이 파일 없이는 Oracle 인스턴스가 데이터베이스를 마운트하거나 오픈할 수 없습니다. 주로 초기화 파라미터 파일(SPFILE 또는 PFILE)의 CONTROL_FILES 파라미터 설정이 잘못되었거나, 실제 파일이 존재하지 않을 때 이 에러가 트리거됩니다.


주요 발생 원인

1. CONTROL_FILES 파라미터 경로 오기재 또는 파일 누락

가장 빈번한 원인으로, init.ora 또는 SPFILE 내의 CONTROL_FILES 파라미터에 지정된 경로가 실제 파일 시스템상의 경로와 일치하지 않을 때 발생합니다. 스토리지 마이그레이션, 서버 이전, 또는 단순한 오타로 인해 경로가 틀리게 설정된 경우가 대표적이며, Oracle은 지정된 경로에서 파일을 찾지 못하면 즉시 이 에러를 반환합니다.

2. 컨트롤 파일 물리적 삭제 또는 손상

운영 중 실수로 컨트롤 파일이 OS 레벨에서 삭제되거나, 디스크 장애·파일 시스템 오류로 인해 파일이 물리적으로 손상(corrupt)된 경우입니다. Oracle은 기본적으로 다중화(Multiplexing)된 컨트롤 파일을 권장하는데, 다중화가 되어 있지 않은 단일 구성 환경에서 이런 사고가 발생하면 복구가 매우 까다로워집니다. 파일이 0바이트로 비워지거나 부분적으로 덮어씌워진 경우도 동일한 에러를 유발합니다.

3. 데이터베이스 재생성(RECREATE) 또는 복제(CLONE) 후 파라미터 미수정

운영 데이터베이스를 복제하여 개발 또는 테스트 환경을 구성할 때, 원본 SPFILE을 그대로 복사하면 CONTROL_FILES 파라미터가 원본 경로를 그대로 가리키게 됩니다. 새로운 환경의 디렉토리 구조가 다르거나 컨트롤 파일이 아직 생성되지 않은 상태에서 인스턴스를 기동하면 ORA-00215가 발생합니다. 특히 RMAN을 활용한 Duplicate 작업 후 수동으로 파라미터를 조정하다 실수가 발생하는 경우가 많습니다.


해결 방법

원인 1 해결: CONTROL_FILES 파라미터 경로 확인 및 수정

먼저 현재 파라미터 파일이 어떤 경로를 참조하고 있는지 확인합니다. SPFILE 기반이라면 STARTUP NOMOUNT 이전 단계에서 PFILE로 덤프하거나, OS에서 strings 명령으로 내용을 확인합니다.

-- PFILE을 통해 NOMOUNT 상태로 기동 후 파라미터 확인
STARTUP NOMOUNT PFILE='/u01/app/oracle/admin/ORCL/pfile/init.ora';

-- 현재 인식된 CONTROL_FILES 파라미터 값 확인
SHOW PARAMETER CONTROL_FILES;

-- 또는 V$PARAMETER 뷰에서 확인
SELECT NAME, VALUE
FROM   V$PARAMETER
WHERE  NAME = 'control_files';

Enter fullscreen mode Exit fullscreen mode

파라미터 경로가 잘못된 경우, PFILE을 직접 편집하거나 SPFILE을 수정합니다.

-- PFILE 직접 수정 후 재기동 (vi 편집기 등으로 수정)
-- init.ora 예시 내용:
-- control_files = ('/u01/app/oracle/oradata/ORCL/control01.ctl',
--                  '/u02/app/oracle/oradata/ORCL/control02.ctl')

-- SPFILE 수정 시 (NOMOUNT 상태에서 가능)
ALTER SYSTEM SET CONTROL_FILES=
  '/u01/app/oracle/oradata/ORCL/control01.ctl',
  '/u02/app/oracle/oradata/ORCL/control02.ctl'
SCOPE=SPFILE;

-- 이후 재기동
SHUTDOWN ABORT;
STARTUP;

Enter fullscreen mode Exit fullscreen mode


원인 2 해결: 컨트롤 파일 복구

다중화된 컨트롤 파일 중 일부만 손상된 경우, 정상적인 컨트롤 파일을 손상된 위치로 복사합니다.

# OS 레벨에서 정상 컨트롤 파일 복사 (DB가 정지된 상태)
cp /u01/app/oracle/oradata/ORCL/control01.ctl \
   /u02/app/oracle/oradata/ORCL/control02.ctl

Enter fullscreen mode Exit fullscreen mode

-- 복사 후 데이터베이스 재기동
STARTUP;

-- 기동 후 컨트롤 파일 상태 확인
SELECT NAME, STATUS FROM V$CONTROLFILE;

Enter fullscreen mode Exit fullscreen mode

모든 컨트롤 파일이 소실된 경우 RMAN 백업을 활용하여 복구합니다.

-- RMAN을 통한 컨트롤 파일 복구
RMAN TARGET /

-- 자동 백업된 컨트롤 파일 복구
RESTORE CONTROLFILE FROM AUTOBACKUP;

-- 복구 후 MOUNT 상태로 전환
ALTER DATABASE MOUNT;

-- 데이터베이스 불완전 복구 수행 (필요 시)
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;

-- RESETLOGS로 오픈
ALTER DATABASE OPEN RESETLOGS;

Enter fullscreen mode Exit fullscreen mode

컨트롤 파일 백업조차 없는 최악의 시나리오에서는 CREATE CONTROLFILE 명령으로 재생성해야 합니다.

-- 컨트롤 파일 재생성 (데이터 파일 및 리두 로그 파일 목록 사전 파악 필요)
-- alert log 또는 기존 trace 파일에서 목록 확인 후 실행
STARTUP NOMOUNT;

CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
LOGFILE
  GROUP 1 '/u01/app/oracle/oradata/ORCL/redo01.log' SIZE 50M,
  GROUP 2 '/u01/app/oracle/oradata/ORCL/redo02.log' SIZE 50M,
  GROUP 3 '/u01/app/oracle/oradata/ORCL/redo03.log' SIZE 50M
DATAFILE
  '/u01/app/oracle/oradata/ORCL/system01.dbf',
  '/u01/app/oracle/oradata/ORCL/sysaux01.dbf',
  '/u01/app/oracle/oradata/ORCL/undotbs01.dbf',
  '/u01/app/oracle/oradata/ORCL/users01.dbf'
CHARACTER SET AL32UTF8;

-- 이후 복구 및 오픈
RECOVER DATABASE;
ALTER DATABASE OPEN;

Enter fullscreen mode Exit fullscreen mode

⚠️ 주의: CREATE CONTROLFILE 실행 전 반드시 기존 데이터 파일과 리두 로그 파일의 정확한 경로와 목록을 파악해야 합니다. 잘못된 정보로 생성 시 추가적인 데이터 손실이 발생할 수 있습니다.


원인 3 해결: 복제 환경 파라미터 정정

-- NOMOUNT 상태에서 SPFILE을 PFILE로 덤프
CREATE PFILE='/tmp/init_new.ora' FROM SPFILE;

-- OS에서 init_new.ora 편집 후 CONTROL_FILES 경로 수정
-- 수정된 PFILE로 기동
STARTUP NOMOUNT PFILE='/tmp/init_new.ora';

-- 정상 기동 확인 후 SPFILE 재생성
CREATE SPFILE FROM PFILE='/tmp/init_new.ora';

-- 최종 재기동
SHUTDOWN IMMEDIATE;
STARTUP;

Enter fullscreen mode Exit fullscreen mode


예방 방법

1. 컨트롤 파일 다중화(Multiplexing) 및 자동 백업 설정

컨트롤 파일은 반드시 서로 다른 디스크(또는 ASM 디스크 그룹)에 최소 2~3개 이상 다중화하여 단일 장애 지점(SPOF)을 제거해야 합니다. 또한 RMAN의 CONFIGURE CONTROLFILE AUTOBACKUP ON 설정을 통해 모든 백업 작업 및 구조 변경 시 컨트롤 파일이 자동으로 백업되도록 구성하면, 재해 발생 시 신속한 복구가 가능합니다.

-- 컨트롤 파일 다중화 확인
SELECT NAME FROM V$CONTROLFILE;

-- RMAN 컨트롤 파일 자동 백업 활성화
RMAN TARGET /
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/rman/%F';

-- 현재 RMAN 설정 확인
SHOW ALL;

Enter fullscreen mode Exit fullscreen mode

2. 정기적인 컨트롤 파일 트레이스(Trace) 덤프 생성 및 보관

ALTER DATABASE BACKUP CONTROLFILE TO TRACE 명령을 주기적으로 실행하여 CREATE CONTROLFILE 스크립트가 포함된 트레이스 파일을 생성하고 안전한 위치에 보관하는 습관을 가져야 합니다. 이 스크립트는 모든 컨트롤 파일이 소실되는 극단적인 상황에서 데이터베이스 구조를 재구성하는 마지막 보루가 됩니다.

-- 컨트롤 파일 내용을 트레이스 파일로 덤프
ALTER DATABASE BACKUP CONTROLFILE TO TRACE;

-- 특정 파일로 직접 덤프 (Oracle 10g 이상)
ALTER DATABASE BACKUP CONTROLFILE TO TRACE AS '/backup/scripts/controlfile_script.sql' REUSE;

-- 이진 형태로도 별도 백업
ALTER DATABASE BACKUP CONTROLFILE TO '/backup/controlfile/control_backup.ctl' REUSE;

Enter fullscreen mode Exit fullscreen mode


관련 에러

  • ORA-00202: control file: '%s' — 특정 컨트롤 파일을 열거나 읽는 과정에서 발생하는 에러로, ORA-00215와 함께 출력되는 경우가 많습니다. 파일 권한(Permission) 문제나 파일 손상 시 주로 나타납니다.
  • ORA-00205: error in identifying control file — 컨트롤 파일을 식별하는 과정에서 발생하며, 파일이 존재하지만 내용이 유효하지 않거나 다른 데이터베이스의 컨트롤 파일이 잘못 배치된 경우에 발생합니다.
  • ORA-00206: error in writing (block %s, # blocks %s) of control file — 컨트롤 파일 쓰기 작업 실패 시 발생하며, 디스크 용량 부족이나 I/O 오류와 연관됩니다.
  • ORA-00210: cannot open the specified control file — 지정된 컨트롤 파일을 오픈할 수 없을 때 발생하며, OS 파일 권한 또는 경로 오류와 관련됩니다. ORA-00215 발생 전 선행 에러로 alert log에 함께 기록되는 경우가 흔합니다.