From oracle-l-bounce@freelists.org Mon Oct 24 09:43:59 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j9OEhxRc021992 for ; Mon, 24 Oct 2005 09:43:59 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j9OEhqvX021967 for ; Mon, 24 Oct 2005 09:43:53 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 74EBD20D2E8; Mon, 24 Oct 2005 09:36:42 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14112-08; Mon, 24 Oct 2005 09:36:42 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id EE8E620D068; Mon, 24 Oct 2005 09:36:41 -0500 (EST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qAJpeEhUAP1/FLqHOSWivsIZcKHWVflJzlqRgviszWuPh4cbs0kQIsH5zmkhytNdmN2ttZxuXtbuV7e7+t32supNU7PW1z3it0U340ZNI8TdtnFj3uZfUj3yV37nkRh0+motOnvQzpE7AIrWEhqJBMJ4Wm8a3VJ9rs0zHac690k= Message-ID: <7ba974f50510240734y5dd0b30sc01e868870ed4290@mail.gmail.com> Date: Mon, 24 Oct 2005 16:34:41 +0200 From: Enrique Fernandez-Pampillon To: oracle.tutorials@gmail.com Subject: Re: DBMS_STATS Error Cc: oracle-l@freelists.org In-Reply-To: <75aa80160510240640u544c2cecp9cfafbebcabfb9c8@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30178_20256621.1130164481868" References: <75aa80160510240640u544c2cecp9cfafbebcabfb9c8@mail.gmail.com> X-archive-position: 27430 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: oracle.pampillon@gmail.com Precedence: normal Reply-To: oracle.pampillon@gmail.com X-list: oracle-l X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net X-mailscan-MailScanner-Information: Please contact the ISP for more information X-mailscan-MailScanner: Found to be clean X-MailScanner-From: oracle-l-bounce@freelists.org X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on air891.startdedicated.com X-Spam-Level: X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=2.63 ------=_Part_30178_20256621.1130164481868 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Was your Oracle well installed?. The problem is Oracle isn't be able to lin= k a dynamic library. Has the alert any message? LD_LIBRARY_PATH well configured? HTH Enrique On 10/24/05, DBA Deepak wrote: > > Hi All, > Getting error while executing the following... > SQL> begin > 2 dbms_stats.gather_table_stats(ownname=3D> 'USER01', tabname=3D> 'MY_TBL= ', > partname=3D> NULL); > 3 end; > 4 / > begin > * > ERROR at line 1: > ORA-06521: PL/SQL: Error mapping function > ORA-06512: at "SYS.DBMS_STATS", line 9643 > ORA-06512: at "SYS.DBMS_STATS", line 9657 > ORA-06512: at line 2 > Any pointers to the problem...? > > -- > Regards, > > Deepak > Oracle DBA > -- ------------------------------------------------ Enrique ------=_Part_30178_20256621.1130164481868 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Was your Oracle well installed?. The problem is Oracle isn't be able t= o link a dynamic library. Has the alert any message? LD_LIBRARY_PATH well c= onfigured?
 
HTH
 
Enrique

 
On 10/24/05, DBA Deepak <oracle.tu= torials@gmail.com> wrote:
Hi All,
 
Getting error while executing the following...
 
SQL>       begin
  2  dbms_st= ats.gather_table_stats(ownname=3D> 'USER01', tabname=3D> 'MY_TBL', pa= rtname=3D> NULL);
  3  end;
  4  /
 be= gin
*
ERROR at line 1:
ORA-06521: PL/SQL: Error mapping function= =20
ORA-06512: at "SYS.DBMS_STATS", line 9643
ORA-06512: at &= quot;SYS.DBMS_STATS", line 9657
ORA-06512: at line 2
 
Any pointers to the problem...?

--
Regards,
Deepak
Oracle DBA


<= br>--
------------------------------------------------
Enrique=20 ------=_Part_30178_20256621.1130164481868-- -- http://www.freelists.org/webpage/oracle-l