Oracle can not generate awr report ORA-20200 error

Awr process of generating reports, the report does not take place awr snapshot and returns ORA-20200 errors.

View dba_hist_active_session_history found data, judgment mmon and mmnl background processes, it needs to restart mmon and mmnl background processes

 

method one:

Restart the database

 

Method Two:

Enable restricted mode, and then immediately disabled:

alter system enable restricted session;
alter system disable restricted session;  

 

alter log

Stopping background process MMNL
Sat Jan 11 22:07:07 2020
Stopping background process MMON
Sat Jan 11 22:07:39 2020
Background process MMON not dead after 30 seconds
Sat Jan 11 22:07:39 2020
Killing background process MMON
Sat Jan 11 22:08:15 2020
Starting background process MMON
MMON started with pid=19, OS id=2957544
Sat Jan 11 22:08:15 2020
Starting background process MMNL
MMNL started with pid=55, OS id=4960290
Sat Jan 11 22:08:15 2020
ALTER SYSTEM enable restricted session;
Sat Jan 11 22:08:15 2020
ALTER SYSTEM disable restricted session;

Guess you like

Origin www.cnblogs.com/hanglinux/p/12181549.html