Tuesday, November 6, 2012

RMAN crashes with kgefec: fatal error 0 kgepop: no error frame to pop to for error 603

If an RMAN session crashes with the following error report :

kgefec: fatal error 0

kgepop: no error frame to pop to for error 603

Then the problem is the stack size of the UNIX user running the RMAN session (Usually oracle).

Check the stack size of the user : 

[oracle@s-eacea-rh-dbo02-p ~]$ ulimit -a | grep stack
stack size              (kbytes, -s) 10240
[oracle@s-eacea-rh-dbo02-p ~]$




The as root add the following lines in /etc/profile (RHEL , OEL):

if [ $USER = "oracle" ]; then
  ulimit -s unlimited
fi

To verify , open a ne terminal login an oracle and repeat :

[oracle@s-eacea-rh-dbo02-p ~]$ ulimit -a | grep stack
stack size              (kbytes, -s) unlimited
[oracle@s-eacea-rh-dbo02-p ~]$

Add/Change as appropriate the etnries on /etc/security/limits.conf

oracle              soft    stack   unlimited
oracle              hard    stack   unlimited


REFERENCES
Oracle Support Note ID : 1458718.1






3 comments:

  1. Hi Agis,

    I am getting same error in backup. And here already stack size of the UNIX user running the RMAN session is unlimited. Any suggession for me?

    Thanks,
    Ajeet

    ReplyDelete
    Replies
    1. Did you check the /etc/security/limits.conf for the user runnign the rman ?

      Delete
    2. There is probably too much archive logs(more than 5000)
      Delete all archive logs allready backup with RMAN
      see Doc ID 1921228.1

      Delete