SYSMAN already exists

转载:http://blog.csdn.net/wonder4/archive/2009/01/05/3713111.aspx

解决办法:要注意在emca创建好sysman之后马上就登录赋权,要抢在创建包前就把权限赋完。

  1.sysman登录,编译

  SQL> exec emd_maintenance.recompile_invalid_objects;

  2.检查状态

  SQL> select object_name, object_type from dba_objects where owner='SYSMAN' and status='INVALID';

  3.如果仍然无效

  SQL> conn / as sysdba

  SQL> grant execute on utl_file to sysman;

  SQL> conn sysman

  SQL> alter package mgmt_audit_log compile;

 

 

 

你可能感兴趣的:(SYSMAN already exists)