Hi,
while upgrading to 11.1.0.7 from 10.2.0.4
at the end we are facing this error
ORA-39714: upgrade script utlmmig.sql failed
*Cause: A normal database open was attempted, but the upgrade script
utlmmig.sql failed to complete.
*Action: Use the UPGRADE option when opening the database and then run
utlmmig.sql.
i ran the utlmmig.sql script and i am facing this issue
SQL> -- we also need to update the statistic
SQL> begin
2 dbms_stats.delete_table_stats('SYS', 'OBJ$MIG');
3 dbms_stats.delete_table_stats('SYS', 'USER$MIG');
4 dbms_Stats.gather_table_stats('SYS', 'OBJ$MIG', estimate_percent => 100,
5 method_opt=>'FOR ALL COLUMNS SIZE SKEWONLY');
6 dbms_Stats.gather_table_stats('SYS', 'USER$MIG', estimate_percent => 100,
7 method_opt=>'FOR ALL COLUMNS SIZE SKEWONLY');
8 end;
9 /
begin
*
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_STATS" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_STATS"
ORA-06512: at line 2
compiled the invalid objects using utlirp.sql and utlrp.sql but of no use..
please advice
