Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: new statspack install seems to hang

Re: new statspack install seems to hang

From: Anurag Varma <avoracle_at_gmail.com>
Date: Wed, 26 Sep 2007 14:52:35 -0700
Message-ID: <1190843555.115997.177940@o80g2000hse.googlegroups.com>


On Sep 26, 5:16 pm, eAddict <eAdd..._at_gmail.com> wrote:
> > As a first step run utlrp.sql while connected as sysdba.
> > If that does not fix it, list the objects (non-user) which
> > are marked invalid.
>
> I tried running it but it seemed to hang. So I did this:
>
> SQL> Select 'alter package '||object_name||' compile body;'
> 2 From user_objects
> 3 where status <> 'VALID'
> 4 And object_type = 'PACKAGE BODY';
>
> 'ALTERPACKAGE'||OBJECT_NAME||'COMPILEBODY;'
> --------------------------------------------------------------------------------
> alter package DBMS_UTILITY compile body;
>
> I then tried to run the line that came up and it hung as well.
> So...

THAT invalid dbms_utility is probably the root cause of the issue. dbms_shared_pool references dbms_utility (and thus is dependent on it).
Open a Tar with Oracle and ask their advise. DBMS_UTILITY should not be invalid. If you don't want to take the time to open a Tar with Oracle, look into metalink on running catproc.sql which is the one that creates dbms_utility.

Good luck,
Anurag Received on Wed Sep 26 2007 - 16:52:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US