Solved

Very very urgent - many invalid objects when upgraded from 9.2.0.1

Posted on 2003-12-12
5
788 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

679 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