<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: When errors tell you absolutely nothing!</title>
	<atom:link href="http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/</link>
	<description>Steve Karam's Oracle Blog</description>
	<lastBuildDate>Thu, 29 Jul 2010 20:12:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bruce</title>
		<link>http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/comment-page-1/#comment-44379</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Thu, 29 Jul 2010 20:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/#comment-44379</guid>
		<description>I got the ORA-20000 while trying to run gather_fixed_object_stats too, only I got it on a dev instance that we have had up and running for over a year, and it has a temp file.

But when I ran gather_table_stats on sys.source$, it didn&#039;t generate the error.

I&#039;m still searching for answers.

SQL&gt; exec dbms_stats.gather_fixed_objects_stats(&#039;ALL&#039;);
BEGIN dbms_stats.gather_fixed_objects_stats(&#039;ALL&#039;); END;

*
ERROR at line 1:
ORA-20000: Insufficient privileges to analyze an object in Fixed Ob
ORA-06512: at &quot;SYS.DBMS_STATS&quot;, line 13323
ORA-06512: at &quot;SYS.DBMS_STATS&quot;, line 13637
ORA-06512: at &quot;SYS.DBMS_STATS&quot;, line 14165
ORA-06512: at line 1


SQL&gt; show user
USER is &quot;ADPDS_DBA&quot;
SQL&gt; connect / as sysdba
Connected.
SQL&gt; begin dbms_stats.gather_table_stats(&#039;SYS&#039;,&#039;SOURCE$&#039;); end;
  2  /

PL/SQL procedure successfully completed.

SQL&gt; exec dbms_stats.gather_fixed_objects_stats(&#039;ALL&#039;);
BEGIN dbms_stats.gather_fixed_objects_stats(&#039;ALL&#039;); END;</description>
		<content:encoded><![CDATA[<p>I got the ORA-20000 while trying to run gather_fixed_object_stats too, only I got it on a dev instance that we have had up and running for over a year, and it has a temp file.</p>
<p>But when I ran gather_table_stats on sys.source$, it didn&#8217;t generate the error.</p>
<p>I&#8217;m still searching for answers.</p>
<p>SQL&gt; exec dbms_stats.gather_fixed_objects_stats(&#8216;ALL&#8217;);<br />
BEGIN dbms_stats.gather_fixed_objects_stats(&#8216;ALL&#8217;); END;</p>
<p>*<br />
ERROR at line 1:<br />
ORA-20000: Insufficient privileges to analyze an object in Fixed Ob<br />
ORA-06512: at &#8220;SYS.DBMS_STATS&#8221;, line 13323<br />
ORA-06512: at &#8220;SYS.DBMS_STATS&#8221;, line 13637<br />
ORA-06512: at &#8220;SYS.DBMS_STATS&#8221;, line 14165<br />
ORA-06512: at line 1</p>
<p>SQL&gt; show user<br />
USER is &#8220;ADPDS_DBA&#8221;<br />
SQL&gt; connect / as sysdba<br />
Connected.<br />
SQL&gt; begin dbms_stats.gather_table_stats(&#8216;SYS&#8217;,'SOURCE$&#8217;); end;<br />
  2  /</p>
<p>PL/SQL procedure successfully completed.</p>
<p>SQL&gt; exec dbms_stats.gather_fixed_objects_stats(&#8216;ALL&#8217;);<br />
BEGIN dbms_stats.gather_fixed_objects_stats(&#8216;ALL&#8217;); END;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asad</title>
		<link>http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/comment-page-1/#comment-41231</link>
		<dc:creator>Asad</dc:creator>
		<pubDate>Thu, 17 Apr 2008 20:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/#comment-41231</guid>
		<description>how if we duplicate database from shared nfs volume. duplicate database, shutdown, and wait for green signal - when up, recover the db and open it. we could bypass temporary tablespace issue if we have &#039;set newname for temp/data file n&#039; properly in run{ } clause - right?</description>
		<content:encoded><![CDATA[<p>how if we duplicate database from shared nfs volume. duplicate database, shutdown, and wait for green signal &#8211; when up, recover the db and open it. we could bypass temporary tablespace issue if we have &#8217;set newname for temp/data file n&#8217; properly in run{ } clause &#8211; right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabrielle</title>
		<link>http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/comment-page-1/#comment-40398</link>
		<dc:creator>Gabrielle</dc:creator>
		<pubDate>Thu, 27 Mar 2008 22:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/#comment-40398</guid>
		<description>I received the same error. However, it was during an import of a table into the database. I can&#039;t figure out what is causing the error. The import is into an existing database that has a temp tablespace. So that can&#039;t be it. Here is a sample:
IMP-00017: following statement failed with ORACLE error 20000:
 &quot;DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :=&quot;
 &quot; NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR&quot;
 &quot;RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT&quot;
 &quot;S.SET_COLUMN_STATS(NULL,&#039;&quot;BIB_HOLDINGS_INTERFACE&quot;&#039;,&#039;&quot;EXTRA_NUMBER_FIELD2&quot;&#039;,&quot;
 &quot; NULL ,NULL,NULL,0,0,93895,srec,0,6); END;&quot;
IMP-00003: ORACLE error 20000 encountered
ORA-20000: TABLE &quot;TEMSLOAD&quot;.&quot;BIB_HOLDINGS_INTERFACE&quot; does not exist or insufficient privileges
ORA-06512: at &quot;SYS.DBMS_STATS&quot;, line 2121
ORA-06512: at &quot;SYS.DBMS_STATS&quot;, line 4931
ORA-06512: at line 1
Import terminated successfully with warnings.

Any ideas as to why I would get this error?</description>
		<content:encoded><![CDATA[<p>I received the same error. However, it was during an import of a table into the database. I can&#8217;t figure out what is causing the error. The import is into an existing database that has a temp tablespace. So that can&#8217;t be it. Here is a sample:<br />
IMP-00017: following statement failed with ORACLE error 20000:<br />
 &#8220;DECLARE  SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := NULL; SREC.MAXVAL :=&#8221;<br />
 &#8221; NULL; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS.NUMAR&#8221;<br />
 &#8220;RAY(0,0); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2; DBMS_STAT&#8221;<br />
 &#8220;S.SET_COLUMN_STATS(NULL,&#8217;&#8221;BIB_HOLDINGS_INTERFACE&#8221;&#8216;,&#8217;&#8221;EXTRA_NUMBER_FIELD2&#8243;&#8216;,&#8221;<br />
 &#8221; NULL ,NULL,NULL,0,0,93895,srec,0,6); END;&#8221;<br />
IMP-00003: ORACLE error 20000 encountered<br />
ORA-20000: TABLE &#8220;TEMSLOAD&#8221;.&#8221;BIB_HOLDINGS_INTERFACE&#8221; does not exist or insufficient privileges<br />
ORA-06512: at &#8220;SYS.DBMS_STATS&#8221;, line 2121<br />
ORA-06512: at &#8220;SYS.DBMS_STATS&#8221;, line 4931<br />
ORA-06512: at line 1<br />
Import terminated successfully with warnings.</p>
<p>Any ideas as to why I would get this error?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Prusinski</title>
		<link>http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/comment-page-1/#comment-36021</link>
		<dc:creator>Ben Prusinski</dc:creator>
		<pubDate>Thu, 17 Jan 2008 21:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/#comment-36021</guid>
		<description>Let me take a guess that the missing step is that you need to switch log file after the restore and upgrade operation, is this a correct guess?

Sorry if wrong as I have jet lag from a trip the other day.

-Ben</description>
		<content:encoded><![CDATA[<p>Let me take a guess that the missing step is that you need to switch log file after the restore and upgrade operation, is this a correct guess?</p>
<p>Sorry if wrong as I have jet lag from a trip the other day.</p>
<p>-Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virag Sharma</title>
		<link>http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/comment-page-1/#comment-34887</link>
		<dc:creator>Virag Sharma</dc:creator>
		<pubDate>Fri, 28 Dec 2007 14:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/#comment-34887</guid>
		<description>I think , temp tablespace error / message always come in alert.log 
When , we upgrade database , we always keep one window open with tail -f alertSID.log. It keep informing, if any thing go wrong on DB level.</description>
		<content:encoded><![CDATA[<p>I think , temp tablespace error / message always come in alert.log<br />
When , we upgrade database , we always keep one window open with tail -f alertSID.log. It keep informing, if any thing go wrong on DB level.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Oracle Alchemist</title>
		<link>http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/comment-page-1/#comment-34871</link>
		<dc:creator>The Oracle Alchemist</dc:creator>
		<pubDate>Fri, 28 Dec 2007 05:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/#comment-34871</guid>
		<description>Gary, I agree, the ORA-20000 was definitely a tip-off to think outside the text, but at the same time, it was odd that I got not one but TWO like messages regarding permissions.

ORA-20000: Insufficient privileges to analyze an object in Dictionary Schema
ORA-20000: Unable to analyze TABLE &quot;SYS&quot;.&quot;SOURCE$&quot;, insufficient privileges or
does not exist

A substitution is possible, but two different substitutions regarding the same general issue (and both being wrong) was a stretch!

The good news is, as you&#039;ve reminded me, I can write my own ORA-20000&#039;s with RAISE_APPLICATION_ERROR, meaning I can write my own DBMS_STATS wrapper that catches their error and inserts my more suitable one.  ;)</description>
		<content:encoded><![CDATA[<p>Gary, I agree, the ORA-20000 was definitely a tip-off to think outside the text, but at the same time, it was odd that I got not one but TWO like messages regarding permissions.</p>
<p>ORA-20000: Insufficient privileges to analyze an object in Dictionary Schema<br />
ORA-20000: Unable to analyze TABLE &#8220;SYS&#8221;.&#8221;SOURCE$&#8221;, insufficient privileges or<br />
does not exist</p>
<p>A substitution is possible, but two different substitutions regarding the same general issue (and both being wrong) was a stretch!</p>
<p>The good news is, as you&#8217;ve reminded me, I can write my own ORA-20000&#8217;s with RAISE_APPLICATION_ERROR, meaning I can write my own DBMS_STATS wrapper that catches their error and inserts my more suitable one.  <img src='http://www.oraclealchemist.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gary</title>
		<link>http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/comment-page-1/#comment-34868</link>
		<dc:creator>gary</dc:creator>
		<pubDate>Fri, 28 Dec 2007 04:46:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.oraclealchemist.com/news/when-errors-tell-you-absolutely-nothing/#comment-34868</guid>
		<description>I like the &#039;Please contact the internet&#039; bit.
I think &quot;ORA-20000&quot; should set off warning bells. It&#039;s not a built-in ORA- code with matching text, but one bodged up with a RAISE_APPLICATION_ERROR. I wonder if there&#039;s a bit of PL/SQL in DBMS_STATS that actually trapped a useful SQL error message and substituted that one.</description>
		<content:encoded><![CDATA[<p>I like the &#8216;Please contact the internet&#8217; bit.<br />
I think &#8220;ORA-20000&#8243; should set off warning bells. It&#8217;s not a built-in ORA- code with matching text, but one bodged up with a RAISE_APPLICATION_ERROR. I wonder if there&#8217;s a bit of PL/SQL in DBMS_STATS that actually trapped a useful SQL error message and substituted that one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
