sysman.emcp.ParamsManager setFlag

This error Appears when are trying maunally creating EM using :

emca -config dbcontrol db -repos create 

To Solve this error make sure you do all the below steps :

1-In your local users and groups add User to ORA_DBA group.

3- sqlplus / as sysdba

Package created.

Create the dbmspool package body:

View created.
Package body created.

Grant execution privilege on the package:

 SQL> grant execute on dbms_shared_pool to sysman;
Grant succeeded.

SQL> grant execute on dbms_shared_pool to dba;
Grant succeeded.

4-Reinstall EM Using
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos create