尴尬笑脸.jpg
测试库 /u01 使用率100%,闪回区占了很大,rm -fr /u01/flash_area/* 然后数据库打不开,提示找不到redo日志文件。
sys @orcl > alter system set "_allow_read_only_corruption"=true scope=spfile;
system altered.
elapsed: 00:00:00.14
sys @orcl > startup mount force;
oracle instance started.
total system global area 838858176 bytes
fixed size 8902080 bytes
variable size 427819008 bytes
database buffers 398458880 bytes
redo buffers 3678208 bytes
database mounted.
sys @orcl > recover database until cancel;
ora-00279: change 8182501 generated at 04/11/2020 07:27:19 needed for thread 1
ora-00289: suggestion : /arch/1_98_1034935196.arc
ora-00280: change 8182501 for thread 1 is in sequence #98
specify log: {=suggested | filename | auto | cancel}
回车吧
ora-00308: cannot open archived log '/arch/1_98_1034935196.arc'
ora-27037: unable to obtain file status
linux-x86_64 error: 2: no such file or directory
additional information: 7
ora-01547: warning: recover succeeded but open resetlogs would get error below
ora-01194: file 1 needs more recovery to be consistent
ora-01110: data file 1: '/u01/app/oracle/oradata/orcl/system01.dbf'
sys @orcl > alter database open resetlogs;
error:
ora-03114: not connected to oracle
alter database open resetlogs
*
error at line 1:
ora-00603: oracle server session terminated by fatal error
ora-01092: oracle instance terminated. disconnection forced
ora-00704: bootstrap process failure
ora-00704: bootstrap process failure
ora-00600: internal error code, arguments: [kcbzib_kcrsds_1], [], [], [], [], [], [], [], [], [], [], []
process id: 3951
session id: 390 serial number: 22787
elapsed: 00:00:06.53
sys @orcl > exit
disconnected from oracle database 19c enterprise edition release 19.0.0.0.0 - production
version 19.6.0.0.0
[oracle@dbserver1 ~]$ s
sql*plus: release 19.0.0.0.0 - production on fri apr 17 19:56:36 2020
version 19.6.0.0.0
凯发app官方网站 copyright (c) 1982, 2019, oracle. all rights reserved.
connected to an idle instance.
sys @orcl > startup
oracle instance started.
total system global area 838858176 bytes
fixed size 8902080 bytes
variable size 427819008 bytes
database buffers 398458880 bytes
redo buffers 3678208 bytes
database mounted.
database opened.
sys @orcl >
open成功,又可以开心的玩耍了。
阅读(1442) | 评论(0) | 转发(0) |