When trying to login with RMAN the following error occur:
# rman target / Recovery Manager: Release 12.1.0.2.0 - Production on Thu May 6 10:32:55 2021 Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved. connected to target database: PDEQ00 (DBID=2094282814) RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows ORACLE error from target database: ORA-04031: unable to allocate 36424 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","krbmror")
Alert:
Errors in file /u01/app/oracle/diag/rdbms/PDEQ00/PDEQ001/trace/PDEQ001_j000_73817.trc: ORA-04031: unable to allocate 12312 bytes of shared memory ("shared pool","unknown object","KKSSP^126","kglseshtTable") Process J000 died, see its trace file
File Trace:
AUTO MEM: PGA get fail 69 for 30, 54, 1, 16777216, 939524096, 503316480, 30, 1442840576, 5 ksucri: Session creation failed with error = 4031, step = 1 Unexpected error 4031 in job slave process ORA-04031: unable to allocate 12312 bytes of shared memory ("shared pool","unknown object","KKSSP^126","kglseshtTable")
Cause
RMAN gives warning message of RMAN-6900, RMAN-6901 when the output is too big to log in the v$rman_output view.
Solution
Restart the database instance. After instance reboot v$rman_output will be cleared.
V$RMAN_OUTPUT displays messages/output returned by RMAN. This is an in-memory view and is not recorded in the control file.
# rman target / Recovery Manager: Release 12.1.0.2.0 - Production on Thu May 6 11:08:16 2021 Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved. connected to target database: PDEQ00 (DBID=2094282814) RMAN>
Reference