重庆思庄Oracle、Redhat认证学习论坛
标题: 手动升级数据库时注意原数据库需要shutdown [打印本页]
作者: 刘泽宇 时间: 2021-1-13 12:00
标题: 手动升级数据库时注意原数据库需要shutdown
在使用手动升级数据库时,出现了这样的报错:
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.
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) |
Powered by Discuz! X3.2 |