Solved

Very very urgent - many invalid objects when upgraded from 9.2.0.1

Posted on 2003-12-12
5
793 Views
Last Modified: 2013-12-11
Hi,


I have upgraded from Oracle 9.2.0.1 to 9.2.0.2 by applying the patchset
2632931. I tried to execute streams and it says DBMS_STREAMS_ADM_UTL,
DBMS_LOGMNR_D are invalid. I tried to recompile them but all in vain, they
dont get recompiled. When I executed the query "select
object_name,object_type from dba_objects where status='INVALID' and
owner='SYS';" it gives me a list of invalid objects. Please give me a
solution as its very urgent.

Thanks a lot in advance.
0
Comment
Question by:truptipan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:speedkick
ID: 9950485
Have you been able to run the @/rdbms/admin/utlrp.sql script ?

This will rebuild all the invalid packages after installing a patch.

Hope this helps

Phil
0
 

Author Comment

by:truptipan
ID: 9954928
Hi,
well the problem persisted so i upgraded from 9.2.0.1 to 9.2.0.4
After applying the patch the  packages were compiled.
After that i tried running the script for generation of streams.
Upon executing the package
DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
    privilege    => DBMS_RULE_ADM.CREATE_EVALUATION_CONTEXT_OBJ,
    grantee     => 'STRMADMIN',
    grant_option  => TRUE);

i get the error ORA-03113: end-of-file on communication channel
and most of the packages in the sys user get uncompiled.

Is there a way out. ??
Trupti
0
 
LVL 4

Accepted Solution

by:
sudhi022299 earned 250 total points
ID: 10103942
Trupti,

I remember seeing this with grant_system_privilege when running catpatch.sql after upgrading to 9202. The problem was with the mismatch of the env variables with that of the oradim settings. The steps followed was :

-  Shutdown normal the database
-  Set the Oracle related environment variables point to 9.2.0.2.
-  Delete and recreate the service using ORADIM
-  Startup the migration process using Startup Migrate

Thanks,
Sudhi.
0
 
LVL 22

Expert Comment

by:Helena Marková
ID: 10280022
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept sudhi's comment as answer.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Henka
EE Cleanup Volunteer
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question