重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2436|回复: 0
打印 上一主题 下一主题

[升级] 手动升级数据库时注意原数据库需要shutdown

[复制链接]
跳转到指定楼层
楼主
发表于 2021-1-13 12:00:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在使用手动升级数据库时,出现了这样的报错:
SQL> startup upgrade
ORACLE instance started.
Total System Global Area 1586708480 bytes
Fixed Size                  2253624 bytes
Variable Size             973081800 bytes
Database Buffers          603979776 bytes
Redo Buffers                7393280 bytes
ORA-00205: error in identifying control file, check alert log for more info

于是查看alert日志,发现:
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/u01/app/oradata/app/control01.ctl'
ORA-27086: unable to lock file - already in use

控制文件处于使用中,这才想起,低版本的源库没有shutdown

于是先将源库停掉:
SQL> shutdown immediate

再重新进行升级:
ORACLE instance started.

Total System Global Area 1586708480 bytes
Fixed Size                  2253624 bytes
Variable Size             973081800 bytes
Database Buffers          603979776 bytes
Redo Buffers                7393280 bytes
Database mounted.
Database opened.



分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-27 04:17 , Processed in 0.079048 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表