<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DBAPundits.com &#187; ORA-errors</title>
	<atom:link href="http://www.dbapundits.com/blog/category/oracle-ora-errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbapundits.com/blog</link>
	<description>Articles and resources for the DBAs.</description>
	<lastBuildDate>Wed, 23 Nov 2011 03:22:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Oracle 10g &#8211; ORA-01031 insufficient privileges</title>
		<link>http://www.dbapundits.com/blog/oracle-ora-errors/oracle-10g-ora-01031-insufficient-privileges/</link>
		<comments>http://www.dbapundits.com/blog/oracle-ora-errors/oracle-10g-ora-01031-insufficient-privileges/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 16:09:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ORA-errors]]></category>

		<guid isPermaLink="false">http://www.dbapundits.com/blog/?p=325</guid>
		<description><![CDATA[<script type="text/javascript"><!--
google_ad_client = "pub-9448554670318827";
google_alternate_color = "FFFFFF";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "image";
google_ad_channel ="Pundits";
google_color_border = "FFFFFF";
google_color_link = "0022C9";
google_color_bg = "FFFFFF";
google_color_text = "000000";
google_color_url = "128A00";
google_ui_features = "rc:0";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><p>The CONNECT role in Oracle 10g has fewer system privileges than it had in earlier versions of Oracle. When migrating databases from versions below Oracle 10g and especially if the users are recreated in the 10g databases with the privileges from the old version, certain privileges are required to be granted so that the application [...]]]></description>
			<content:encoded><![CDATA[<p>The CONNECT role in Oracle 10g has fewer system privileges than it had in earlier versions of Oracle. When migrating databases from versions below Oracle 10g and especially if the users are recreated in the 10g databases with the privileges from the old version, certain privileges are required to be granted so that the application users can connect to the database with proper privileges. This article discusses this special case on the occurrence of ORA-01031 error in Oracle 10g databases.</p>
<p>The &#8216;CONNECT&#8217; role in Oracle 10g has only &#8216;CREATE SESSION&#8217; privilege, whereas the previous version had some additional privileges. If the privileges are missing, the user won&#8217;t be able to create objects which will result in &#8216;ORA-01031 insufficient privileges&#8217; messages to the user.</p>
<p><strong>To fix the issue, grant the 8 privileges listed below to the users.</strong></p>
<p>In Oracle 9i, the CONNECT role had the following privileges:</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt;  select * from dba_sys_privs  where grantee='CONNECT';

GRANTEE                        PRIVILEGE                                ADM
------------------------------ ---------------------------------------- ---
CONNECT                        CREATE VIEW                              NO
CONNECT                        CREATE TABLE                             NO
CONNECT                        ALTER SESSION                            NO
CONNECT                        CREATE CLUSTER                           NO
CONNECT                        CREATE SESSION                           NO
CONNECT                        CREATE SYNONYM                           NO
CONNECT                        CREATE SEQUENCE                          NO
CONNECT                        CREATE DATABASE LINK                     NO

8 rows selected.
</pre>
<p>In Oracle 10g, only the &#8216;CREATE SESSION&#8217; privilege is granted to the CONNECT ROLE.</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt;  select * from dba_sys_privs  where grantee='CONNECT';

GRANTEE                        PRIVILEGE                                ADM
------------------------------ ---------------------------------------- ---
CONNECT                        CREATE SESSION                           NO

SQL&gt;
</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dbapundits.com%2Fblog%2Foracle-ora-errors%2Foracle-10g-ora-01031-insufficient-privileges%2F&amp;title=Oracle%2010g%20%26%238211%3B%20ORA-01031%20insufficient%20privileges" id="wpa2a_2"><img src="http://www.dbapundits.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dbapundits.com/blog/oracle-ora-errors/oracle-10g-ora-01031-insufficient-privileges/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-00942/ORA-00904/EXP-00056 with Oracle exp</title>
		<link>http://www.dbapundits.com/blog/oracle-ora-errors/ora-00942-ora-00904-exp-00056-with-oracle-exp/</link>
		<comments>http://www.dbapundits.com/blog/oracle-ora-errors/ora-00942-ora-00904-exp-00056-with-oracle-exp/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 13:37:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ORA-errors]]></category>

		<guid isPermaLink="false">http://www.dbapundits.com/blog/?p=321</guid>
		<description><![CDATA[<p>Oracle export utility when used to export from a lower version of database may not work due to compatibility issues as the export utility expects a set of views that are not present in the database. Even patchset difference between the exp utility and the database can lead to similar issues.</p> <p>The best bet to [...]]]></description>
			<content:encoded><![CDATA[<p>Oracle export utility when used to export from a lower version of database may not work due to compatibility issues as the export utility expects a set of  views that are not present in the database. Even patchset difference between the exp utility and the database can lead to similar issues.</p>
<p><strong>The best bet to deal with the issue is to use the lowest version available at the source/target database.</strong></p>
<p>If you are using Oracle client, opt for the lowest version available for taking the export.</p>
<p>The errors differ based on the version difference between exp utility and the database, the following errors are possible:</p>
<p>9i client against lower versions of 9i database or 10g clients against 9.2.0.4 database can cause the following messages in the export log:</p>
<p><strong>EXP-00056</strong> Oracle error 942 encountered<br />
<strong> ORA-00942</strong> table or view does not exist<br />
<strong> EXP-00000</strong> Export terminated unsuccessfully</p>
<p>On some 9i R2 versions, the error may be reported as below:</p>
<p><strong>EXP-00008</strong>: ORACLE error 942 encountered<br />
<strong> ORA-00942</strong>: table or view does not exist<br />
<strong> EXP-00024</strong>: Export views not installed, please notify your DBA<br />
<strong> EXP-00000</strong>: Export terminated unsuccessfully</p>
<p>9.2.0.6 export client against a 9.2.0.5 can cause the following messages in the export log during the export of partitioned tables.</p>
<p><strong>EXP-00056</strong>: ORACLE error 6550 encountered<br />
<strong> ORA-06550</strong>: line 1, column 48:<br />
<strong> PLS-00302</strong>: component &#8216;CHECK_MATCH_TEMPLATE&#8217; must be declared<br />
<strong> ORA-06550</strong>: line 1, column 14:<br />
PL/SQL: Statement ignored</p>
<p>10.2.0.4 client against a 10.2.0.3 database can cause the following messages in the export log during the export of operators.</p>
<p>. exporting operators<br />
<strong> EXP-00008</strong>: ORACLE error 904 encountered<br />
<strong> ORA-00904</strong>: &#8220;OLEVEL&#8221;: invalid identifier<br />
<strong> EXP-00000</strong>: Export terminated unsuccessfully</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.dbapundits.com%2Fblog%2Foracle-ora-errors%2Fora-00942-ora-00904-exp-00056-with-oracle-exp%2F&amp;title=ORA-00942%2FORA-00904%2FEXP-00056%20with%20Oracle%20exp" id="wpa2a_4"><img src="http://www.dbapundits.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.dbapundits.com/blog/oracle-ora-errors/ora-00942-ora-00904-exp-00056-with-oracle-exp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

