From oracle-l-bounce@freelists.org Mon Mar 1 02:51:44 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i218pin08612 for ; Mon, 1 Mar 2004 02:51:44 -0600 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i218pio08607 for ; Mon, 1 Mar 2004 02:51:44 -0600 Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D84DB394D82; Mon, 1 Mar 2004 03:52:30 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 01 Mar 2004 03:50:52 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from inet-mail1.oracle.com (inet-mail1.oracle.com [148.87.2.201]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0461C394D31 for ; Mon, 1 Mar 2004 03:50:49 -0500 (EST) Received: from rgmgw4.us.oracle.com (rgmgw4.us.oracle.com [138.1.191.13]) by inet-mail1.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i218soIr010379 for ; Mon, 1 Mar 2004 00:54:51 -0800 (PST) Received: from rgmgw4.us.oracle.com (localhost [127.0.0.1]) by rgmgw4.us.oracle.com (Switch-2.1.5/Switch-2.1.0) with ESMTP id i218sFb26469 for ; Mon, 1 Mar 2004 01:54:15 -0700 (MST) Received: from oracle.com ([141.147.144.209]) by rgmgw4.us.oracle.com (Switch-2.1.5/Switch-2.1.0) with ESMTP id i218sBb26380 for ; Mon, 1 Mar 2004 01:54:12 -0700 (MST) Message-ID: <4042FA32.1040707@oracle.com> Date: Mon, 01 Mar 2004 14:24:10 +0530 From: vidya kalyanaraman Organization: Oracle Corporation User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: oracle-l@freelists.org Subject: Statspack error : ORA-06564: object HTP_PERFSTAT.STATSPACK does not exist Content-Type: multipart/alternative; boundary="------------030608070009020109030807" X-archive-position: 63 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: vidya.kalyanaraman@oracle.com Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l --------------030608070009020109030807 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi All While trying to use statspack to generate snaps, got the following error. $sqlplus perfstat/perfstat SQL> execute statspack.snap BEGIN statspack.snap; END; * ERROR at line 1: ORA-06564: object HTP_PERFSTAT.STATSPACK does not exist ORA-06512: at "SYS.DBMS_UTILITY", line 114 ORA-06512: at "SYS.DBMS_SHARED_POOL", line 45 ORA-06512: at "SYS.DBMS_SHARED_POOL", line 53 ORA-06512: at "PERFSTAT.STATSPACK", line 2708 ORA-06512: at line 1 Please note that spcreate.sql did not throw any error. Object STATSPACK is in valid state in 'PERFSTAT' schema but in invalid state for 'HTP_PERFSTAT' schema. Could not compile the body, because of 1353/16 PL/SQL: ORA-00942: table or view does not exist error. Any idea why this package is not getting compiled? We are totally lost as the output file has not thrown any error. Do I have to explicitly grant privileges to HTP_PERFSTAT schema? TIA Vidya --------------030608070009020109030807 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All
 While trying to use statspack to generate snaps, got the following error. 
$sqlplus perfstat/perfstat
SQL> execute statspack.snap
BEGIN statspack.snap; END;

*
ERROR at line 1:
ORA-06564: object HTP_PERFSTAT.STATSPACK does not exist
ORA-06512: at "SYS.DBMS_UTILITY", line 114
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 45
ORA-06512: at "SYS.DBMS_SHARED_POOL", line 53
ORA-06512: at "PERFSTAT.STATSPACK", line 2708
ORA-06512: at line 1

Please note that spcreate.sql did not throw any error.  Object STATSPACK is in valid state in 'PERFSTAT' schema but in invalid state for 'HTP_PERFSTAT' schema.
Could not compile the body, because of 1353/16  PL/SQL: ORA-00942: table or view does not exist error.

Any idea why this package is not getting compiled?  We are totally lost as the output file has not thrown any error. Do I have to explicitly grant privileges to HTP_PERFSTAT schema?

TIA
Vidya


--------------030608070009020109030807-- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------