不值一提,一个库做镜像挂载到新主机(注意这里)上,打开库时提示
Fri Apr 16 23:50:55 2021
Errors in file /home/oracle/admin/orcl/udump/orcl_ora_8847364.trc:
ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type
Fri Apr 16 23:50:55 2021
Error 30012 happened during db open, shutting down database
USER: terminating instance due to error 30012
Instance terminated by USER, pid = 8847364
ORA-1092 signalled during: ALTER DATABASE OPEN...
凭直觉一开始怀疑存储镜像有问题,通过了解,以前都是同样方法,都没事,那就按部就班分析
方法:oerr -> mos > 科学搜索
oerr先上
看了几秒钟,突然明白了,select name from v$tablespace;仔细看结果。
数据库实际的undo表空间名是undotbs。
而
show parameter undo_tablespace是undotbs1
这是因为新主机的参数文件还是旧的,解决方法改成真实的名称即可
alter system set undo_tablespace=
undotbs scope=spfile;
shu abort
startup
正常启动。
阅读(1898) | 评论(0) | 转发(0) |