SQL> startup mount;
ORACLE instance started.
Total System Global Area 2147483648 bytes
Fixed Size 2926472 bytes
Variable Size 1325402232 bytes
Database Buffers 805306368 bytes
Redo Buffers 13848576 bytes
Database mounted.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-10873: file 12 needs to be either taken out of backup mode or media
recovered
ORA-01110: data file 12: '/u01/app/oracle/oradata/cdb1/pdb2/system01.dbf'
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED MOUNTED
4 PDB2 MOUNTED
5 PDB3APP MOUNTED
SQL>
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED MOUNTED
4 PDB2 MOUNTED
5 PDB3APP MOUNTED
SQL> alter tablespace pdb2:system offline;
alter tablespace pdb2:system offline
*
ERROR at line 1:
ORA-02142: missing or invalid ALTER TABLESPACE option
SQL> alter database datafile 12 offline;
alter database datafile 12 offline
*
ERROR at line 1:
ORA-01516: nonexistent log file, data file, or temporary file "12"
SQL> conn sys/oracle_4U@192.168.133.120:1521/pdb2 as sysdba
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Warning: You are no longer connected to ORACLE.
SQL>