Thursday, December 26, 2024

RMAN-06172: no AUTOBACKUP found or the specified handle is not a valid copy or piece

     

RMAN> restore controlfile from '/home/oracle/current.257.1073287779_20240609_0030'; 

  

Starting restore at 12-JUN-24 

using target database control file instead of recovery catalog 

allocated channel: ORA_DISK_1 

channel ORA_DISK_1: SID=2049 device type=DISK 

  

RMAN-00571: ============================================== ============= 

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== 

RMAN-00571: ============================================== ============= 

RMAN-03002: failure of restore command at 06/12/2024 08:38:03 

RMAN-06172: no AUTOBACKUP found or the specified handle is not a valid copy or piece 


Saturday, October 19, 2024

ORA-01103: database name ... in control file is not ...

SQL> srtup pfile=init.ora 

ORACLE instance started. 

  

Total System Global Area 3226043912 bytes 

Fixed Size                  9172488 bytes 

Variable Size            2080374784 bytes 

Database Buffers         1006632960 bytes 

Redo Buffers              129863680 bytes 

ORA-01103: database name 'NEWDB' in control file is not 'SALMAN' 

Saturday, September 28, 2024

RMAN-06617: UNTIL TIME


RMAN-00571: =========================================================== 

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== 

RMAN-00571: =========================================================== 

RMAN-03002: failure of Duplicate Db command at 06/26/2024 05:32:00 

RMAN-05501: aborting duplication of target database 

RMAN-06617: UNTIL TIME (20-JUN-24) is ahead of last NEXT TIME in archived logs (20-JUN-24)  

Sunday, August 11, 2024

ORA-29339: tablespace block size 4096 does not match configured block sizes

SQL> create tablespace testtbs blocksize 4k datafile '+DATA' size 2m; 

create tablespace testtbs blocksize 4k datafile '+DATA' size 2m 

* 

ERROR at line 1: 

ORA-29339: tablespace block size 4096 does not match configured block sizes  

Sunday, July 28, 2024

ORA-03214: File size specified is smaller than minimum required

SQL> alter database datafile '+DATA/MYDB/19AF24AD633634AEE0632502F50A727A/DATAFILE/testtbs.5971.1170569741' resize 6m; 

alter database datafile '+DATA/MYDB/19AF24AD633634AEE0632502F50A727A/DATAFILE/testtbs.5971.1170569741' resize 6m 

* 

ERROR at line 1: 

ORA-03214: File size specified is smaller than minimum required 

Friday, June 28, 2024

RMAN-06617: UNTIL TIME (20-JUN-24) is ahead of last NEXT TIME in archived logs...

RMAN-00571: =========================================================== 

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== 

RMAN-00571: =========================================================== 

RMAN-03002: failure of Duplicate Db command at 06/26/2024 05:32:00 

RMAN-05501: aborting duplication of target database 

RMAN-06617: UNTIL TIME (20-JUN-24) is ahead of last NEXT TIME in archived logs (20-JUN-24) 

Wednesday, May 29, 2024

ORA-00821: Specified value of sga_target 5120M is too small, needs to be at least 12352M

There could be situations where you are trying to start your database instance, however, it returns an error message instead of starting up. Such errors are mostly related to init parameters and must be fixed before retrying to start the instance. Issue could be related to an invalid value of a parameter or syntax error in the parameter file. In the following I will explain one of the errors that are related to an invalid value of parameter SGA_TARGET.

Friday, May 24, 2024

ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT

This is a very critical error message that many applications started seeing since 12c. Prior to 12c, PGA of a server process could grow unabatedly. After the advent of PGA_AGGREGATE_LIMIT, PGA usage for all connected sessions could be limited to avoid enormous growth of PGA memory due to bad PL/SQL code (or due to an Oracle bug causing a process memory leak). Whenever total PGA usage by all sessions tries to go beyond the value set in this parameter, ORA-04036 is returned to the session and also logged in the alert log file (and trace file is also generated) . Alert log file could log error message similar to the following.

Popular Posts - All Times