In certain cases, Oracle Products doesn't get corrupted, because bad stopping or something, this commands help us to change the undo and common tablespaces that fail commonly
In this case SOA doesn't start up because the undo tbs was currupted.
ALTER SYSTEM SET UNDO_TABLESPACE = UNDOTBS2;
--Resize undo datafile
--ALTER DATABASE DATAFILE '/u01/oradata/soa/undotbs02.dbf' RESIZE 10000M;
--Create undo tablespace
--CREATE UNDO TABLESPACE UNDOTBS2 DATAFILE '/u01/oradata/soa/undotbs02.dbf' SIZE 1000M AUTOEXTEND ON;
--Drop undo tablespace
--drop tablespace UNDOTBS2;
select * from user_tablespaces;
--Drop undo tablespace including contents and datafiles
--DROP TABLESPACE undotbs1 INCLUDING CONTENTS AND DATAFILES;
--Parameters
select * from V$OPTION;
select
file_name,
bytes,
autoextensible
from
dba_data_files;
select * from
all_users;
select * from user_tablespaces;
SYSTEM
UNDOTBS1
SYSAUX
TEMP
USERS
ORABPEL
ALTER tablespace ORABPEL
alter tablespace ORABPEL add DATAFILE '/u01/oradata/soa/orabpe2.dbf' SIZE 5980M AUTOEXTEND ON NEXT 30M MAXSIZE UNLIMITED;
alter tablespace ORABPEL add DATAFILE '/u01/oradata/soa/orabpe3.dbf' SIZE 5980M AUTOEXTEND ON NEXT 30M MAXSIZE UNLIMITED;
alter tablespace ORABPEL add DATAFILE '/u01/oradata/soa/orabpe4.dbf' SIZE 5980M AUTOEXTEND ON NEXT 30M MAXSIZE UNLIMITED;
alter tablespace ORABPEL add DATAFILE '/u01/oradata/soa/orabpe5.dbf' SIZE 5980M AUTOEXTEND ON NEXT 30M MAXSIZE UNLIMITED;
alter TABLESPACE SYSAUX add DATAFILE '/u01/oradata/soa/sysaux02.dbf' SIZE 550M AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED;
alter TABLESPACE SYSAUX add DATAFILE '/u01/oradata/soa/sysaux03.dbf' SIZE 550M AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED;
CREATE UNDO TABLESPACE UNDOTBS2 DATAFILE '/u01/oradata/zucprod/undotbs02.dbf' SIZE 30000M AUTOEXTEND ON;
CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE
'/u01/oradata/zucprod/undotbs01.dbf' SIZE 30000M AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED
ONLINE
RETENTION NOGUARANTEE
BLOCKSIZE 8K
FLASHBACK ON;
ALTER SYSTEM SET UNDO_TABLESPACE = UNDOTBS2;
DROP TABLESPACE UNDOTBS2 INCLUDING CONTENTS AND DATAFILES;
UNDOTBS2