<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; ORA-00211</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-00211/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 22 Oct 2026 15:45:06 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>ORA-65101 container database set up incorrectly</title>
		<link>https://www.xifenfei.com/2015/10/ora-65101-container-database-set-up-incorrectly.html</link>
		<comments>https://www.xifenfei.com/2015/10/ora-65101-container-database-set-up-incorrectly.html#comments</comments>
		<pubDate>Tue, 13 Oct 2015 14:21:24 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[enable_pluggable_database]]></category>
		<category><![CDATA[ORA-00202]]></category>
		<category><![CDATA[ORA-00211]]></category>
		<category><![CDATA[ORA-65101]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=6144</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2015/10/ora-65101-container-database-set-up-incorrectly.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2015/10/ora-65101-container-database-set-up-incorrectly.html" target="_blank">ORA-65101 container database set up incorrectly</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>老朋友找我帮忙，说他们从笔记本中拷贝数据库到客户服务器上，无法启动，让我帮忙看下<br />
<strong>启动报ORA-00211 ORA-00202错误</strong></p>
<pre class="brush: sql; title: ; notranslate">
C:\Users\Administrator&gt;sqlplus / as  sysdba

SQL*Plus: Release 12.1.0.1.0 Production on 星期二 10月 13 21:35:45 2015

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


连接到:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing opt
ions

SQL&gt; select open_MODE FROM V$DATABASE;
select open_MODE FROM V$DATABASE
                      *
第 1 行出现错误:
ORA-01507: ??????


SQL&gt; alter database mount;
alter database mount
*
第 1 行出现错误:
ORA-00211: control file does not match previous control files
ORA-00202: control file:
''D:\APP\ADMINISTRATOR\FAST_RECOVERY_AREA\ORCL12C\CONTROL02.CTL''
</pre>
<p><strong>控制文件版本不匹配</strong><br />
这个错误很明显数据库中多个控制文件版本不一致，使用其中一个试试看</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; show parameter control;

NAME                                 TYPE
------------------------------------ ----------------------
VALUE
------------------------------
control_file_record_keep_time        integer
7
control_files                        string
D:\APP\ADMINISTRATOR\ORADATA\O
RCL12C\CONTROL01.CTL, D:\APP\A
DMINISTRATOR\FAST_RECOVERY_ARE
A\ORCL12C\CONTROL02.CTL
control_management_pack_access       string
DIAGNOSTIC+TUNING
SQL&gt; alter system set control_files='d:\app\administrator\oradata\orcl12c\contro
l01.ctl' scope=spfile;

系统已更改。

SQL&gt; shutdown abort
ORACLE 例程已经关闭。
SQL&gt; startup
ORACLE 例程已经启动。

Total System Global Area 1703624704 bytes
Fixed Size                  2403448 bytes
Variable Size            1090519944 bytes
Database Buffers          603979776 bytes
Redo Buffers                6721536 bytes
ORA-65101:container database set up incorrectly
</pre>
<p><strong>数据库此处报ORA-65101错误，官方解释</strong><br />
解释很清楚，使用一个no cdb的控制文件启动一个cdb的库，因此出现ORA-65101错误。官方解决方案：重建控制文件,但是本库通过分析是数据文件和控制文件一起拷贝过来，应该不是改问题</p>
<pre class="brush: bash; title: ; notranslate">
Error code: ORA-65101
Description: container database set up incorrectly

Cause:
An attempt was made to use a non container database 
control file to startup a container database (CDB).

Action:
Create a new control file for the CDB.
</pre>
<p><strong>检查enable_pluggable_database参数</strong><br />
果然该参数设置为cdb模式,和控制文件的no cdb不匹配,因此出现该问题</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; show parameter enable_pluggable_database

NAME                                 TYPE
------------------------------------ ----------------------
VALUE
------------------------------
enable_pluggable_database            boolean
TRUE
SQL&gt;

SQL&gt; alter system set enable_pluggable_database=false scope=spfile;

系统已更改。

SQL&gt; shutdown abort
ORACLE 例程已经关闭。

SQL&gt; startup
ORACLE 例程已经启动。

Total System Global Area 1703624704 bytes
Fixed Size                  2403448 bytes
Variable Size            1090519944 bytes
Database Buffers          603979776 bytes
Redo Buffers                6721536 bytes
数据库装载完毕。
数据库已经打开。
</pre>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/08/joxcsys-release-mismatch.html" rel="bookmark" class="crp_title">joxcsys: release mismatch, 19.0.0.0.0 1.8 in database (classes.bin)</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/03/oracle-12c-redo%e5%bc%82%e5%b8%b8%e6%81%a2%e5%a4%8d%e6%b5%8b%e8%af%95-%e6%89%93%e4%b8%8apatch%e6%81%a2%e5%a4%8d%e5%ae%8c%e5%85%a8.html" rel="bookmark" class="crp_title">ORACLE 12C redo异常恢复测试—打上patch恢复完全</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2013/01/%e9%87%8d%e5%bb%ba%e6%8e%a7%e5%88%b6%e6%96%87%e4%bb%b6%e5%bc%95%e5%8f%91ora-00218%e6%95%85%e9%9a%9c.html" rel="bookmark" class="crp_title">重建控制文件引发ORA-00218故障</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/11/%e8%ae%be%e7%bd%aepdb%e9%9a%8fcdb%e4%b8%80%e8%b5%b7%e5%90%af%e5%8a%a8.html" rel="bookmark" class="crp_title">设置pdb随cdb一起启动</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/09/ora-00600kccpb_sanity_check_2.html" rel="bookmark" class="crp_title">ORA-00600[kccpb_sanity_check_2]</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/06/%e5%88%a9%e7%94%a8flashback-database%e5%ae%9e%e7%8e%b0%e9%83%a8%e5%88%86%e5%af%b9%e8%b1%a1%e5%9b%9e%e6%bb%9a.html" rel="bookmark" class="crp_title">利用flashback database实现部分对象回滚</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/03/oracle-12c-redo%e5%bc%82%e5%b8%b8%e6%81%a2%e5%a4%8d%e6%b5%8b%e8%af%95-%e9%83%a8%e5%88%86pdb%e6%9c%aa%e6%ad%a3%e5%b8%b8open.html" rel="bookmark" class="crp_title">ORACLE 12C redo异常恢复测试&#8212;部分pdb未正常open</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/06/_use_single_log_writer%e5%92%8c_max_outstanding_log_writes.html" rel="bookmark" class="crp_title">_use_single_log_writer和_max_outstanding_log_writes</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/07/oracle-12c-undo-failure-recovery-root-pdb.html" rel="bookmark" class="crp_title">Oracle 12c undo异常处理&#8212;root pdb undo异常</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2020/08/rename-sys-ora-01092-ora-00600-kokasgi1%e9%94%99%e8%af%af.html" rel="bookmark" class="crp_title">重命名sys用户引起数据库启动报ORA-01092 ORA-00600 kokasgi1错误</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/08/create-spfile-to-asm.html" rel="bookmark" class="crp_title">create spfile to asm</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/03/oracle-12c-%e6%8e%a7%e5%88%b6%e6%96%87%e4%bb%b6%e5%bc%82%e5%b8%b8%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">ORACLE 12C 控制文件异常恢复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2015/10/ora-65101-container-database-set-up-incorrectly.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
