fjmingyang - by - 28 十月, 2007 22:00

SQL> alter database mount;
alter database mount
*
ERROR at line 1:
ORA-00201: controlfile version 10.1.0.2.0 incompatible with ORACLE version
10.0.0.0.0
ORA-00202: controlfile: 'E:ORACLEPRODUCT10.1.0ORADATAORCLCONTROL01.CTL'

sqlplus /nolog 连接的时候显示的版本都是10.1.0.2.0

SQL> select * from v$version;

BANNER
--------------------------------------------------------------------------------

Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production

为什么会出现那个错误呢?

问题出在这

SQL> show parameter compatible

NAME TYPE
------------------------------------ ----------------------
VALUE
------------------------------
compatible string
10.0.0

我的参数文件丢失,新建的参数文件只配置了db_name和control_files两个必要参数,其余默认,10.0.0是compatible的默认值,在参数文件中改为 10.1.0.2.0,startup force;即可


    最新回复


发表评论







博客日历
« 八月 2008 »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
搜索
管理控制台
TOP_Read
TOP_Reply
文章分类
MY's Stories[7]
Solaris[17]
Linux[6]
Oracle[36]
Others[10]
新闻聚合
RSS 0.90
RSS 1.0
RSS 2.0
Atom 0.3