You are on page 1of 2

sqlplus / as sysdba

[oracle@myhost ~]$ adrci

rman target /

list failure;

advise failure;

repair failure; <<<-------------no failure is happen

cd /u01/app/oracle/oradata/orcl

rm -rf users01.dbf

sqlplus / as sysdba

create user raihan identified by raihan;

grant create table to raihan;

alter user raihan quota unlimited on users;

GRANT CREATE SESSION to raihan;

conn raihan/raihan

show user
create table test (deptno number(10));

insert into test values(10);

insert into test values(10)


*
ERROR at line 1:
ORA-01116: error in opening database file 7
ORA-01110: data file 7: '/u01/app/oracle/oradata/orcl/users01.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3

----------------------------------check alert log------------------

[oracle@myhost trace]$ pwd


/u01/app/oracle/diag/rdbms/orcl/ORCL/trace
[oracle@myhost trace]$ tail -f alert_ORCL.log

2021-04-17T23:55:25.682441+06:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/ORCL/trace/ORCL_m000_15618.trc:
ORA-01110: data file 7: '/u01/app/oracle/oradata/orcl/users01.dbf'
ORA-01565: error in identifying file '/u01/app/oracle/oradata/orcl/users01.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 7
Checker run found 1 new persistent data failures
2021-04-17T23:57:56.693770+06:00
alter database datafile 7 offline
Completed: alter database datafile 7 offline
2021-04-17T23:57:57.031723+06:00
Errors in file /u01/app/oracle/diag/rdbms/orcl/ORCL/trace/ORCL_m000_16186.trc:
ORA-01110: data file 7: '/u01/app/oracle/oradata/orcl/users01.dbf'
ORA-01565: error in identifying file '/u01/app/oracle/oradata/orcl/users01.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 7

------------------------------------------------------------------------------

rman target /

list failure;

advise failure;

repair failure;

---------------------------If backup is encryption backup then--------------

rman target /
advise failure;

repair failure;

sqlplus / as sysdba

administer key management set keystore open identified by passkey;

rman target /

list failure;
repair failure;

You might also like