Wednesday, October 31, 2012

Genrating a stack from core dumps in unix and linux




Follow the instructions below in order:
1.      Check if you have a core file, we may find in cdump or bdump/trace or bdump or cluster log locations.
2.      Log into the user (the user need to be the owner of the core file) Then issue
               file <CORE_FILENAME>
The above output gives more info like from which executable (program) the core generated and other.
3.      Log into the user (owner of the program). Go to ORACLE_HOME/bin or GRID_HOME/bin, then issue
                file <Program>
Note: if possible give read permission to the program  (optional)
                chmod a+r <program>

Monday, October 15, 2012

Rman Connect Target Fails With ORA-06508 or RMAN-04015 or PLS-00201

Rman Connect Target Fails With ORA-06508 or RMAN-04015  or PLS-00201

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-04063: package body "APPS.DBMS_BACKUP_RESTORE" has errors
ORA-06508: PL/SQL: could not find program unit being called: "APPS.DBMS_BACKUP_RESTORE"
ORA-06512: at line 1
RMAN-04015: error setting target database character set to UTF8