﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-00000 Through ORA-09989  </title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Sat, 31 Jul 2010 07:15:32 GMT</lastBuildDate><ttl>20</ttl><item><title>Getting ora error ORA-00054: resource busy when gathering stats.</title><link>http://www.franklinfaces.com/Topic36-54-1.aspx</link><description>Anyone have an idea of what to do about this?&lt;BR&gt;&lt;BR&gt;I have GATHER_STATS_JOB running daily on our production box. Majority of the runs it gives the following error in the alert log (but no error is seen in the job history log):&lt;BR&gt;&lt;BR&gt;GATHER_STATS_JOB encountered errors. Check the trace file.&lt;BR&gt;ORA-00054: resource busy&lt;BR&gt;&lt;BR&gt;The trace file holds the following:&lt;BR&gt;&lt;BR&gt;ORACLE V10.2.0.3.0 - Production vsnsta=0&lt;BR&gt;vsnsql=14 vsnxtr=3&lt;BR&gt;Oracle Database 10g Release 10.2.0.3.0 - Production&lt;BR&gt;Windows NT Version V5.2 Service Pack 1&lt;BR&gt;CPU : 2 - type 586, 2 Physical Cores&lt;BR&gt;Process Affinity : 0x00000000&lt;BR&gt;Memory (Avail/Total): Ph:732M/2046M, Ph+PgF:2481M/3947M, VA:942M/2047M&lt;BR&gt;Redo thread mounted by this instance: 1&lt;BR&gt;Oracle process number: 15&lt;BR&gt;Windows thread id: 8712, image: ORACLE.EXE (J001)&lt;BR&gt;*** 2007-12-08 06:01:26.781&lt;BR&gt;*** ACTION NAME:(GATHER_STATS_JOB) 2007-12-08 06:01:26.781&lt;BR&gt;*** MODULE NAME:(DBMS_SCHEDULER) 2007-12-08 06:01:26.781&lt;BR&gt;*** SERVICE NAME:(SYS$USERS) 2007-12-08 06:01:26.781&lt;BR&gt;*** SESSION ID:(135.52155) 2007-12-08 06:01:26.781&lt;BR&gt;ORA-00054: resource busy and acquire with NOWAIT specified&lt;BR&gt;*** 2007-12-08 06:01:26.781&lt;BR&gt;GATHER_STATS_JOB: GATHER_TABLE_STATS('"SYS"','"WRI$_ADV_OBJECTS"','""', ...)&lt;BR&gt;ORA-00054: resource busy and acquire with NOWAIT specified&lt;BR&gt;&lt;BR&gt;</description><pubDate>Thu, 15 Jan 2009 01:21:39 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01788: CONNECT BY clause required in this query block ora error code</title><link>http://www.franklinfaces.com/Topic404-54-1.aspx</link><description>Ora Error ORA-01788: CONNECT BY clause required in this query block&lt;/P&gt;&lt;P&gt;I'm getting following error in oracle 11gR2:&lt;/P&gt;&lt;P&gt;&lt;BR&gt;SQL&amp;gt; select max(level) from test;&lt;BR&gt;select max(level) from test&lt;BR&gt;                       *&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-01788: CONNECT BY clause required in this query block&lt;/P&gt;&lt;P&gt;&lt;BR&gt;SQL&amp;gt; select level from dual;&lt;BR&gt;select level from dual&lt;BR&gt;                  *&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-01788: CONNECT BY clause required in this query block</description><pubDate>Wed, 16 Jun 2010 11:49:37 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01400: cannot insert NULL into (string)  ora error ora 01400</title><link>http://www.franklinfaces.com/Topic400-54-1.aspx</link><description>&lt;TABLE border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=top noWrap&gt;&lt;B&gt;ORA-01400:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;cannot insert NULL into (&lt;I&gt;string&lt;/I&gt;)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;FONT size=7&gt;ora 01400&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;TABLE border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=top noWrap&gt;&lt;B&gt;ORA-01400:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;cannot insert NULL into (&lt;I&gt;string&lt;/I&gt;)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD vAlign=top&gt;&lt;B&gt;Cause:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;An attempt was made to insert a NULL into the column "USER"."TABLE"."COLUMN". &lt;P&gt;For example, if you enter:&lt;/P&gt;&lt;BR&gt;connect scott/tiger create table a (a1 number not null); insert into a values (null); &lt;BR&gt;&lt;P&gt;Oracle returns:&lt;/P&gt;&lt;BR&gt;ORA-01400 cannot insert NULL into ("SCOTT"."A"."A1") : which means you cannot insert NULL into "SCOTT"."A"."A1".&lt;BR&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD vAlign=top&gt;&lt;B&gt;Action:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;Retry the operation with a value other than NULL. &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Tue, 15 Jun 2010 16:57:21 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00001: Unique constraint violated  ora error</title><link>http://www.franklinfaces.com/Topic220-54-1.aspx</link><description>&lt;H1 class=title&gt;ORA-00001: Unique constraint violated &lt;/H1&gt;&lt;P class=title&gt;&lt;TABLE cellPadding=5 width="100%" align=center border=0&gt;&lt;TBODY&gt;&lt;TR vAlign=top&gt;&lt;TD noWrap&gt;&lt;H2 style="FONT-SIZE: 18px; MARGIN-BOTTOM: 0px"&gt;ORA-00001:&lt;/H2&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px"&gt;unique constraint (&lt;I&gt;string&lt;/I&gt;.&lt;I&gt;string&lt;/I&gt;) violated&lt;/TD&gt;&lt;/TR&gt;&lt;TR vAlign=top&gt;&lt;TD style="FONT-SIZE: 18px"&gt;&lt;B&gt;Cause:&lt;/B&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px; LINE-HEIGHT: 1.5"&gt;An UPDATE or INSERT statement attempted to insert a duplicate key. For Trusted Oracle configured in DBMS MAC mode, you may see this message if a duplicate entry exists at a different level.&lt;BR&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR vAlign=top&gt;&lt;TD style="FONT-SIZE: 18px"&gt;&lt;B&gt;Action:&lt;/B&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px; LINE-HEIGHT: 1.5"&gt;Either remove the unique restriction or do not insert the key.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;P class=title&gt; &lt;/P&gt;&lt;P class=title&gt;&lt;TABLE class=parm_values cellSpacing=0 cellPadding=9 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR class=tr_left_top&gt;&lt;TD width=50&gt;&lt;P class=oracle_error&gt;Error:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;ORA-00001: unique constraint (&lt;I&gt;constraint_name&lt;/I&gt;) violated&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=tr_left_top&gt;&lt;TD&gt;&lt;P class=oracle_error&gt;Cause:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;You tried to execute an INSERT or UPDATE statement that has created a duplicate value in a field restricted by a unique index.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=tr_left_top&gt;&lt;TD&gt;&lt;P class=oracle_error&gt;Action:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;The options to resolve this Oracle error are: &lt;OL&gt;&lt;LI&gt;Drop the unique constraint &lt;LI&gt;Change the constraint to allow duplicate values &lt;LI&gt;Modify your SQL so that a duplicate value is not created &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If you are not sure which unique constraint was violated, you can run the following SQL:&lt;/P&gt;&lt;BLOCKQUOTE class=sql_command&gt;&lt;P&gt;&lt;FONT color=#113333&gt;select distinct table_name&lt;BR&gt;from all_indexes&lt;BR&gt;where index_name = 'CONSTRAINT_NAME';&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Fri, 11 Jun 2010 11:15:38 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00942: table or view does not exist oerr ora 00942</title><link>http://www.franklinfaces.com/Topic393-54-1.aspx</link><description>&lt;TABLE cellSpacing=0 cellPadding=0 width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=BigTxt vAlign=top&gt;&lt;SPAN id=_ctl2_ctlTopic_ctlPanelBar_ctlTopicsRepeater__ctl4_lblFullMessage&gt;&lt;FONT color=#3333dd&gt;oerr ora 00942 When exporting, we're getting the following error:&lt;/FONT&gt; &lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;EXP-00008: &lt;SPAN class=searchTerm&gt;&lt;FONT class=SearchHighlight&gt;ORA&lt;/FONT&gt;CLE&lt;/SPAN&gt; &lt;SPAN class=searchTerm&gt;error&lt;/SPAN&gt; &lt;SPAN class=searchTerm&gt;942&lt;/SPAN&gt; &lt;SPAN class=searchTerm&gt;encountered&lt;/SPAN&gt;&lt;BR&gt;&lt;FONT class=SearchHighlight&gt;ORA&lt;/FONT&gt;-&lt;FONT class=SearchHighlight&gt;00942&lt;/FONT&gt;: table or view does not exist&lt;BR&gt;EXP-00024: Export views not installed, please notify your DBA&lt;BR&gt;EXP-00000: Export terminated unsuccessfully&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#3333dd&gt;Regarding this error you want to first make sure that the user you are using has &lt;SPAN class=searchTerm&gt;EXP&lt;/SPAN&gt;_FULL_DATABASE granted to it.&lt;/FONT&gt; &lt;P&gt;&lt;FONT color=#3333dd&gt;Then you you must run the following when you create the db and make sure there are no errors:&lt;/FONT&gt;&lt;BR&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;%&lt;SPAN class=searchTerm&gt;&lt;FONT class=SearchHighlight&gt;ORA&lt;/FONT&gt;CLE&lt;/SPAN&gt;_HOME%/rdbms/admin/&lt;WBR&gt;catalog.sq&lt;WBR&gt;l &lt;BR&gt;%&lt;SPAN class=searchTerm&gt;&lt;FONT class=SearchHighlight&gt;ORA&lt;/FONT&gt;CLE&lt;/SPAN&gt;_HOME%/rdbms/admin/&lt;WBR&gt;catproc.sq&lt;WBR&gt;l&lt;/STRONG&gt;&lt;/FONT&gt; &lt;BR&gt;&lt;BR&gt;&lt;FONT color=#3333dd&gt;Hope this helps.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Thanks,&lt;/FONT&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Tue, 15 Jun 2010 16:09:10 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01756: quoted string not properly terminated ora error code</title><link>http://www.franklinfaces.com/Topic383-54-1.aspx</link><description>&lt;TABLE border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=top noWrap&gt;&lt;B&gt;ORA-01756:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;quoted string not properly terminated&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=top noWrap&gt;&lt;B&gt;ORA-01756:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;quoted string not properly terminated&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD vAlign=top&gt;&lt;B&gt;Cause:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;A quoted string must be terminated with a single quote mark (&amp;amp;apos;).&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD vAlign=top&gt;&lt;B&gt;Action:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;Insert the closing quote and retry the statement. &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Tue, 15 Jun 2010 15:37:25 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ora error code ORA-01219: Database not open: queries allowed on fixed tables/views only</title><link>http://www.franklinfaces.com/Topic373-54-1.aspx</link><description>Ora Error Code ORA-01219: Database not open: queries allowed on fixed tables/views only &lt;/P&gt;&lt;P&gt;You are trying to select from a dynamic/data dictionary table but the database is not yet open.&lt;BR&gt;&lt;/P&gt;&lt;PRE&gt;SQL&amp;gt; startup mount&lt;BR&gt;ORACLE instance started.&lt;BR&gt;&lt;BR&gt;Total System Global Area  126951228 bytes&lt;BR&gt;Fixed Size                   454460 bytes&lt;BR&gt;Variable Size             109051904 bytes&lt;BR&gt;Database Buffers           16777216 bytes&lt;BR&gt;Redo Buffers                 667648 bytes&lt;BR&gt;Database mounted.&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; select * from dba_users;&lt;BR&gt;select * from dba_users&lt;BR&gt;              *&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-01219: database not open: queries allowed on fixed tables/views only&lt;/PRE&gt;&lt;P&gt;The data dictionary views are stored inside the Oracle database's datafiles (SYSTEM tablespace).&lt;BR&gt;To be able to query the data dictionary views, the database need to be open.&lt;BR&gt;&lt;BR&gt;Check the mode of the database by issuing following select, and if it is not open, open the database: &lt;/P&gt;&lt;PRE&gt;SQL&amp;gt; select open_mode from v$database;&lt;BR&gt;&lt;BR&gt;OPEN_MODE&lt;BR&gt;----------&lt;BR&gt;MOUNTED&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; alter database open;&lt;BR&gt;&lt;BR&gt;Database altered.&lt;BR&gt;SQL&amp;gt; select * from dba_users;&lt;BR&gt;..&lt;/PRE&gt;</description><pubDate>Tue, 15 Jun 2010 10:21:40 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ora error ORA-00119: invalid specification for system parameter LOCAL_LISTENER</title><link>http://www.franklinfaces.com/Topic368-54-1.aspx</link><description>&lt;SPAN class=title&gt;ORA-00119: invalid specification for system parameter LOCAL_LISTENER&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=title&gt;&lt;STRONG&gt;What are the symptoms?&lt;BR&gt;&lt;BR&gt;&lt;/STRONG&gt;The local_listener parameter has been set, the listener is running, but when attempting to start the instance an ORA-00119 is reported:&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;&lt;PRE class=output&gt;SQL&amp;gt; startupORA-00119: invalid specification for system parameter LOCAL_LISTENERORA-00132: syntax error or unresolved network name 'LIST_ANDY'&lt;/PRE&gt;&lt;P&gt;&lt;B&gt;Why is this happening?&lt;/B&gt;&lt;BR&gt;&lt;BR&gt;Oracle only checks for listeners running on the default port (1521). It would have to spend all day trying every possible port number otherwise. You'll need to give it some help to find your listener.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;How do I fix it?&lt;/B&gt;&lt;BR&gt;&lt;BR&gt;Simply add an entry to the servers tnsnames.ora pointing at the listener. For example my listener 'LIST_ANDY' is running on port 3801, so I would add the following entry to my tnsnames:&lt;BR&gt;&lt;/P&gt;&lt;PRE class=code&gt;LIST_ANDY = (ADDRESS = (PROTOCOL = TCP)(HOST = fermat)(PORT = 3801))&lt;/PRE&gt;&lt;P&gt;Test it with tnsping: &lt;/P&gt;&lt;PRE class=code&gt;tnsping &amp;lt;listener_name&amp;gt;&lt;/PRE&gt;&lt;P&gt;Then try starting your instance again - it should work now. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;</description><pubDate>Tue, 15 Jun 2010 10:05:49 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00201: control file version 10.2.0.0.0 incompatible with ORACLE version 10.1.0.0.0</title><link>http://www.franklinfaces.com/Topic87-54-1.aspx</link><description>ORA-00201 ora error when starting up database. Here is possible solution.&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; startup&lt;BR&gt;ORACLE instance started.&lt;BR&gt;&lt;BR&gt;Total System Global Area 1577058304 bytes&lt;BR&gt;Fixed Size 2084264 bytes&lt;BR&gt;Variable Size 805306968 bytes&lt;BR&gt;Database Buffers 754974720 bytes&lt;BR&gt;Redo Buffers 14692352 bytes&lt;BR&gt;ORA-00201: control file version 10.2.0.0.0 incompatible with ORACLE version 10.1.0.0.0&lt;BR&gt;ORA-00202: control file: '/u01/genesis/oradata/control01.dbf'&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Most likely you started this db after upgrade or patch install . The compatible parameter needs to be updated so that it reflects what the control file got upgraded to.&lt;BR&gt;&lt;BR&gt;Although it can be different, your best bet is to correct it by updating your pfile/spfile.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;00201, 00000, "controlfile version %s incompatible with ORACLE version %s"&lt;BR&gt;// *Cause: The controlfile was created by incompatible software.&lt;BR&gt;// *Action: Either restart with a compatible software release or use&lt;BR&gt;// CREATE CONTROLFILE to create a new controlfile that is&lt;BR&gt;// compatible with this release.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Some helpful steps:&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; shutdown immediate;&lt;BR&gt;ORA-01507: database not mounted&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;ORACLE instance shut down.&lt;BR&gt;SQL&amp;gt; create pfile='/tmp/genesisprod.ora' from spfile;&lt;BR&gt;&lt;BR&gt;At this point update the parameter compatible in this init file and then recreate your spfile:&lt;BR&gt;&lt;BR&gt;#sqlplus '/ as sysdba'&lt;BR&gt;&lt;BR&gt;SQL*Plus: Release 10.2.0.4.0 - Production on Sun Feb 22 09:16:53 2009&lt;BR&gt;&lt;BR&gt;Copyright (c) 1982, 2007, Oracle. All Rights Reserved.&lt;BR&gt;&lt;BR&gt;Connected to an idle instance.&lt;BR&gt;&lt;BR&gt;SQL&amp;gt;create spfile='/opt/dbms/oracle/product/ora10204_64/dbs/spfilegenisisprod.ora' from pfile='/tmp/genesisprod.ora';&lt;BR&gt;&lt;BR&gt;File created.&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; startup&lt;BR&gt;ORACLE instance started.&lt;BR&gt;&lt;BR&gt;Total System Global Area 1577058304 bytes&lt;BR&gt;Fixed Size 2084264 bytes&lt;BR&gt;Variable Size 805306968 bytes&lt;BR&gt;Database Buffers 754974720 bytes&lt;BR&gt;Redo Buffers 14692352 bytes&lt;BR&gt;Database mounted.&lt;BR&gt;Database opened.&lt;BR&gt;SQL&amp;gt; exit&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Hope this helps.&lt;BR&gt;&lt;BR&gt;Thanks,&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;</description><pubDate>Sun, 22 Feb 2009 10:33:13 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-02248: invalid option for ALTER SESSION</title><link>http://www.franklinfaces.com/Topic362-54-1.aspx</link><description>&lt;TABLE cellPadding=5 width="100%" align=center border=0&gt;&lt;TBODY&gt;&lt;TR vAlign=top&gt;&lt;TD noWrap&gt;&lt;H2 style="FONT-SIZE: 18px; MARGIN-BOTTOM: 0px"&gt;ORA-02248:&lt;/H2&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px"&gt;invalid option for ALTER SESSION&lt;/TD&gt;&lt;/TR&gt;&lt;TR vAlign=top&gt;&lt;TD style="FONT-SIZE: 18px"&gt;&lt;B&gt;Cause:&lt;/B&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px; LINE-HEIGHT: 1.5"&gt;Obvious.&lt;BR&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR vAlign=top&gt;&lt;TD style="FONT-SIZE: 18px"&gt;&lt;B&gt;Action:&lt;/B&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px; LINE-HEIGHT: 1.5"&gt;see SQL Language Manual for legal options&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Tue, 15 Jun 2010 09:45:30 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00998: must name this expression with a column alias</title><link>http://www.franklinfaces.com/Topic356-54-1.aspx</link><description>ORA-00998: must name this expression with a column alias&lt;/P&gt;&lt;PRE class=c-sharp name="code"&gt; &lt;P&gt;This error is typical of a situation where you are attempting to create a view without &lt;P&gt;specifying the column names after the view name, but you are relying on the column name &lt;P&gt;or the column alias specified in the query, as in this example:&lt;PRE class=c-sharp name="code"&gt; &lt;/PRE&gt;&lt;PRE class=c-sharp name="code"&gt;&lt;PRE class=c-sharp name="code"&gt;&lt;SPAN class=pln&gt;&lt;/SPAN&gt;&lt;/PRE&gt; &lt;/PRE&gt;&lt;PRE class=c-sharp name="code"&gt;&lt;P&gt;CREATE VIEW test_v AS&lt;BR&gt;SELECT owner || '.' || table_name&lt;BR&gt;FROM all_tables&lt;BR&gt;WHERE owner = USER;&lt;BR&gt;&lt;BR&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;ORA-00998: must name this expression with a column alias&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#5555dd&gt;The error is easily fixed as follows:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;BR&gt;&lt;BR&gt; &lt;/P&gt;&lt;PRE&gt;&lt;FONT color=#113333&gt;CREATE OR REPLACE VIEW test_v AS&lt;BR&gt;SELECT owner || '.' || table_name &lt;SPAN style="COLOR: rgb(51,204,0)"&gt;AS qualified_table_name&lt;/SPAN&gt;&lt;BR&gt;FROM all_tables&lt;BR&gt;WHERE owner = USER;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#113333&gt;or in this other equivalent way:&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#113333&gt;CREATE OR REPLACE VIEW test_v &lt;SPAN style="COLOR: rgb(51,204,0)"&gt;(qualified_table_name)&lt;/SPAN&gt;&lt;BR&gt;AS&lt;BR&gt;SELECT owner || '.' || table_name&lt;BR&gt;FROM all_tables&lt;BR&gt;WHERE owner = USER;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt; &lt;/PRE&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/PRE&gt;</description><pubDate>Tue, 15 Jun 2010 09:40:11 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00054: resource busy and acquire with NOWAIT specified</title><link>http://www.franklinfaces.com/Topic338-54-1.aspx</link><description>&lt;SPAN class=title&gt;ORA-00054: resource busy and acquire with NOWAIT specified&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN class=title&gt;If you administer a busy database you will see this error from time to time. It is nothing to worry about, but it can be quite annoying when it stops you from doing something.&lt;BR&gt;&lt;BR&gt;It simply means that session has a lock on an object that your session is trying to update (or lock). More specifically, your session has asked for a lock on the same object, but has specified the 'nowait' clause. The nowait clause, upon finding something locked, returns an error, rather than waiting for the lock to be released.&lt;BR&gt;&lt;BR&gt;Your options are as follows:&lt;BR&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make a cup of tea and try again later. Hopefully whatever was locking the object will have finished, and you can carry on. &lt;LI&gt;Attempt to find out who/what is locking the object and kill it off. Use a to find the culprit. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;H5&gt;Show sessions that are blocking each other&lt;/H5&gt;&lt;A id=Show-sessions-that-are-blocking-each-other&gt;&lt;/A&gt;&lt;PRE class=qcode&gt;select 'SID ' || l1.sid ||' is blocking  ' || l2.sid blocking&lt;/PRE&gt;&lt;PRE class=qcode&gt;from v$lock l1, v$lock l2&lt;/PRE&gt;&lt;PRE class=qcode&gt;where l1.block =1 &lt;/PRE&gt;&lt;PRE class=qcode&gt;and l2.request &amp;gt; 0&lt;/PRE&gt;&lt;PRE class=qcode&gt;and l1.id1=l2.id1&lt;/PRE&gt;&lt;PRE class=qcode&gt;and l1.id2=l2.id2&lt;/PRE&gt;&lt;PRE class=qcode&gt;/&lt;/PRE&gt;&lt;PRE class=qcode&gt; &lt;/PRE&gt;&lt;PRE class=qcode&gt; &lt;/PRE&gt;&lt;PRE class=qcode&gt; &lt;/PRE&gt;&lt;PRE class=qcode&gt;&lt;H5&gt;Show locked objects&lt;/H5&gt;&lt;A id=Show-locked-objects&gt;&lt;/A&gt;&lt;PRE class=qcode&gt;set lines 100 pages 999&lt;/PRE&gt;&lt;PRE class=qcode&gt;col username  format a20&lt;/PRE&gt;&lt;PRE class=qcode&gt;col sess_id  format a10&lt;/PRE&gt;&lt;PRE class=qcode&gt;col object format a25&lt;/PRE&gt;&lt;PRE class=qcode&gt;col mode_held format a10&lt;/PRE&gt;&lt;PRE class=qcode&gt;select oracle_username || ' (' || s.osuser || ')' username, &lt;/PRE&gt;&lt;PRE class=qcode&gt;s.sid || ',' || s.serial# sess_id, owner || '.' || object_name object, &lt;/PRE&gt;&lt;PRE class=qcode&gt;object_type, decode( l.block , 0, 'Not Blocking' , 1, 'Blocking' , 2, 'Global') status, &lt;/PRE&gt;&lt;PRE class=qcode&gt;decode(v.locked_mode , 0, 'None' , 1, 'Null' , 2, 'Row-S (SS)' , 3, 'Row-X (SX)' , 4, 'Share' , 5, 'S/Row-X (SSX)' , 6, 'Exclusive', TO_CHAR(lmode)) mode_held&lt;/PRE&gt;&lt;PRE class=qcode&gt;from v$locked_object v, dba_objects d, v$lock l, v$session s&lt;/PRE&gt;&lt;PRE class=qcode&gt;where  v.object_id = d.object_id&lt;/PRE&gt;&lt;PRE class=qcode&gt;and  v.object_id = l.id1&lt;/PRE&gt;&lt;PRE class=qcode&gt;and  v.session_id = s.sidorder by oracle_username, session_id&lt;/PRE&gt;&lt;PRE class=qcode&gt;/&lt;/PRE&gt;&lt;PRE class=qcode&gt; &lt;/PRE&gt;&lt;PRE class=qcode&gt; &lt;/PRE&gt;&lt;PRE class=qcode&gt;&lt;H5&gt;Show which row is locked&lt;/H5&gt;&lt;A id=Show-which-row-is-locked&gt;&lt;/A&gt;&lt;PRE class=qcode&gt;select do.object_name, &lt;/PRE&gt;&lt;PRE class=qcode&gt;row_wait_obj#, row_wait_file#, &lt;/PRE&gt;&lt;PRE class=qcode&gt;row_wait_block#, row_wait_row#, &lt;/PRE&gt;&lt;PRE class=qcode&gt;dbms_rowid.rowid_create (1, ROW_WAIT_OBJ#, ROW_WAIT_FILE#,     &lt;/PRE&gt;&lt;PRE class=qcode&gt;ROW_WAIT_BLOCK#, ROW_WAIT_ROW#)&lt;/PRE&gt;&lt;PRE class=qcode&gt;from v$session s, dba_objects do&lt;/PRE&gt;&lt;PRE class=qcode&gt;where sid=&amp;amp;sidand  s.ROW_WAIT_OBJ# = do.OBJECT_ID&lt;/PRE&gt;&lt;PRE class=qcode&gt;/&lt;/PRE&gt;&lt;PRE class=qcode&gt; &lt;/PRE&gt;&lt;PRE class=qcode&gt; &lt;/PRE&gt;&lt;PRE class=qcode&gt;&lt;H5&gt;List locks&lt;/H5&gt;&lt;A id=List-locks&gt;&lt;/A&gt;&lt;PRE class=qcode&gt;column lock_type format a12&lt;/PRE&gt;&lt;PRE class=qcode&gt;column mode_held format a10&lt;/PRE&gt;&lt;PRE class=qcode&gt;column mode_requested format a10&lt;/PRE&gt;&lt;PRE class=qcode&gt;column blocking_others format a20&lt;/PRE&gt;&lt;PRE class=qcode&gt;column username format a10&lt;/PRE&gt;&lt;PRE class=qcode&gt;SELECT session_id, &lt;/PRE&gt;&lt;PRE class=qcode&gt;lock_type, &lt;/PRE&gt;&lt;PRE class=qcode&gt;mode_held, &lt;/PRE&gt;&lt;PRE class=qcode&gt;mode_requested, &lt;/PRE&gt;&lt;PRE class=qcode&gt;blocking_others, &lt;/PRE&gt;&lt;PRE class=qcode&gt;lock_id1&lt;/PRE&gt;&lt;PRE class=qcode&gt;FROM dba_lock l&lt;/PRE&gt;&lt;PRE class=qcode&gt;WHERE  lock_type NOT IN ('Media Recovery', 'Redo Thread')&lt;/PRE&gt;&lt;PRE class=qcode&gt;/&lt;/PRE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 14 Jun 2010 15:59:01 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-06550: line num, column num: str ora error code 6550</title><link>http://www.franklinfaces.com/Topic332-54-1.aspx</link><description>Ora Error Code ORA-06550: line num, column num: str&lt;/P&gt;&lt;P&gt;&lt;TABLE class=parm_values cellSpacing=0 cellPadding=9 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR class=tr_left_top&gt;&lt;TD width=50&gt;&lt;P class=oracle_error&gt;Error:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;ORA-06550: line num, column num: str&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=tr_left_top&gt;&lt;TD&gt;&lt;P class=oracle_error&gt;Cause:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;You tried to compile a block of PLSQL code, but a compilation error occurred.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=tr_left_top&gt;&lt;TD&gt;&lt;P class=oracle_error&gt;Action:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;The options to resolve this Oracle error are: &lt;OL&gt;&lt;LI&gt;Refer to the line and column numbers (in the error message) to find the compilation error and correct it. Then try recompiling your code. &lt;/LI&gt;&lt;/OL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Mon, 14 Jun 2010 15:46:33 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-4031: Unable to allocate bytes of shared memory</title><link>http://www.franklinfaces.com/Topic330-54-1.aspx</link><description>ORA-4031: Unable to allocate bytes of shared memory&lt;/P&gt;&lt;P&gt;ORA-4031 is a very common error that many dba's face in their day to day activities. This error can commonly occur due to the SHARED POOL SIZE. This error can be due to an inadquate sizing of the SHARED POOL or due to  fragmentation of the shared pool. &lt;/P&gt;&lt;P&gt;Oracle Shared Pool Memory Inadequate Sizing: The first thing is determining if the ORA-04031 error is a result of lack of contiguous space in the library cache. This can be veriried by validating the following from V$SHARED_POOL_RESERVED &lt;/P&gt;&lt;P&gt;1. REQUEST_FAILURES &amp;gt;0 and LAST_FAILURE_SIZE &amp;lt; SHARED_POOL_RESERVED_MIN_ALLOC &lt;/P&gt;&lt;P&gt;2. REQUEST_FAILURES=0 and LAST_FAILURE_SIZE is &amp;lt; SHARED_POOL_RESERVED_MIN_ALLOC &lt;/P&gt;&lt;P&gt;If the above cases are true, consider allowing the database to put more objects in shared pool reserved space by lowering SHARED_POOL_RESERVED_MIN_ALLOC. If the problem is still not resolved, consider increasing the SHARED_POOL_SIZE &lt;/P&gt;&lt;P&gt;Oracle Shared Pool Memory Fragmentation: The issue can be attributed to fragmentation if REQUEST_FAILURES is &amp;gt; 0 and LAST_FAILURE_SIZE is &amp;gt; SHARED_POOL_RESERVED_MIN_ALLOC. &lt;/P&gt;&lt;P&gt;To resolve this issue, you should increase the SHARED_POOL_RESERVED_MIN_ALLOC to reduce the number of objects being cached into the shared pool reserved space. Also increase the SHARED_POOL_RESERVED_SIZE and SHARED_POOL_SIZE to incrase the available memory in the shared pool reserved space. It is recommended that the reserved space be sized to be 10% of the total shared pool area.</description><pubDate>Mon, 14 Jun 2010 15:24:34 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-03114: not connected to ORACLE ora error</title><link>http://www.franklinfaces.com/Topic327-54-1.aspx</link><description>ora error &lt;TABLE border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=top noWrap&gt;&lt;B&gt;ORA-03114:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;not connected to ORACLE&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;TABLE border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD vAlign=top noWrap&gt;&lt;B&gt;ORA-03114:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;not connected to ORACLE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD vAlign=top&gt;&lt;B&gt;Cause:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;A call to Oracle was attempted when no connection was established. Usually this happens because a user-written program has not logged on. It may happen if communication trouble causes a disconnection. In addition, this message could occur when ALTER SYSTEM KILL SESSION or ALTER SYSTEM DISCONNECT SESSION were issued with the IMMEDIATE qualifier because, in those cases, the client&amp;amp;apos;s connection to the database is terminated without waiting for the client to issue a request.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD vAlign=top&gt;&lt;B&gt;Action:&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;Try again. If the message recurs and the program is user written, check the program.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Mon, 14 Jun 2010 15:16:38 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00911: Oracle/PLSQL ora error</title><link>http://www.franklinfaces.com/Topic321-54-1.aspx</link><description>Oracle/PLSQL: ORA-00911 Error&lt;/P&gt;&lt;P&gt;&lt;TABLE class=parm_values cellSpacing=0 cellPadding=9 width="100%" border=0&gt;&lt;TBODY&gt;&lt;TR class=tr_left_top&gt;&lt;TD width=50&gt;&lt;P class=oracle_error&gt;Error:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;ORA-00911: invalid character&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=tr_left_top&gt;&lt;TD&gt;&lt;P class=oracle_error&gt;Cause:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;You tried to tried to execute an SQL statement that included a special character.&lt;/TD&gt;&lt;/TR&gt;&lt;TR class=tr_left_top&gt;&lt;TD&gt;&lt;P class=oracle_error&gt;Action:&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;The options to resolve this Oracle error are: &lt;OL&gt;&lt;LI&gt;This error occurs when you try to use a special character in an SQL statement. If a special character other than $, _, and # is used in the name of a column or table, the name must be enclosed in double quotations. &lt;LI&gt;This error may occur if you've pasted your SQL into your editor from another program. Sometimes there are non-printable characters that may be present. In this case, you should try retyping your SQL statement and then re-execute it. &lt;LI&gt;This error occurs when a special character is used in a WHERE clause and the value is not enclosed in single quotations. &lt;/LI&gt;&lt;/OL&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;For example, if you had the following SQL statement:&lt;/P&gt;&lt;BLOCKQUOTE class=sql_command&gt;&lt;P&gt;SELECT * FROM suppliers&lt;BR&gt;WHERE supplier_name = ?;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;P&gt;You would receive the following error message:&lt;/P&gt;&lt;P&gt;ORA-00911: invalid character&lt;/P&gt;&lt;P&gt;You could correct this error by enclosing the ? in single quotations as follows:.&lt;/P&gt;&lt;BLOCKQUOTE class=sql_command&gt;&lt;P&gt;SELECT * FROM suppliers&lt;BR&gt;WHERE supplier_name = '?';&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Mon, 14 Jun 2010 15:07:45 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ora error 02063 ORA-02063: preceding string string from string string</title><link>http://www.franklinfaces.com/Topic317-54-1.aspx</link><description>&lt;SPAN class=msg&gt;&lt;A id=sthref1161 name=sthref1161&gt;&lt;/A&gt;&lt;A id=ORA-02063 name=ORA-02063&gt;&lt;/A&gt;&lt;FONT face="Courier New"&gt;02063, 00000, "preceding %s%s from %s%s"&lt;BR&gt;// *Cause: an Oracle error was received from a remote database link.&lt;BR&gt;// *Action: refer to the preceding error message(s)&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT face="Courier New" size=1&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size=2&gt;&lt;!-- class="msg" --&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;DD&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size=2&gt;&lt;SPAN class=msgexplankw&gt;Cause:&lt;/SPAN&gt; an Oracle error was received from a remote database link.&lt;/FONT&gt;&lt;/DD&gt;&lt;!-- class="msgexplan" --&gt;&lt;/FONT&gt;&lt;DD&gt;&lt;DIV class=msgaction&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size=2&gt;&lt;SPAN class=msgactionkw&gt;Action:&lt;/SPAN&gt; refer to the preceding error message(s)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DD&gt;&lt;P class=msgaction&gt;&lt;FONT size=2&gt;ORA-02063: preceding string string from string string&lt;/FONT&gt;&lt;/P&gt;&lt;P class=msgaction&gt;&lt;FONT size=2&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P class=msgaction&gt;&lt;FONT face=Arial size=2&gt;When the &lt;/FONT&gt;&lt;A id=AdBriteInlineAd_error style="BACKGROUND: url(http://files.adbrite.com/mb/images/green-double-underline-006600.gif) repeat-x 50% bottom; MARGIN-BOTTOM: -2px; PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #006600; TEXT-DECORATION: none" target=_top display="inline" keyword="error"&gt;&lt;FONT face=Arial size=2&gt;error&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; is generated at the &lt;/FONT&gt;&lt;A id=AdBriteInlineAd_remote style="BACKGROUND: url(http://files.adbrite.com/mb/images/green-double-underline-006600.gif) repeat-x 50% bottom; MARGIN-BOTTOM: -2px; PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #006600; TEXT-DECORATION: none" target=_top display="inline" keyword="remote"&gt;&lt;FONT face=Arial size=2&gt;remote&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; &lt;/FONT&gt;&lt;A id=AdBriteInlineAd_database style="BACKGROUND: url(http://files.adbrite.com/mb/images/green-double-underline-006600.gif) repeat-x 50% bottom; MARGIN-BOTTOM: -2px; PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #006600; TEXT-DECORATION: none" target=_top display="inline" keyword="database"&gt;&lt;FONT face=Arial size=2&gt;database&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; it is accompanied with an&lt;BR&gt;&lt;BR&gt;ORA-2063. In this case the parameter distributed_transactions must be &lt;/FONT&gt;&lt;A id=AdBriteInlineAd_increased style="BACKGROUND: url(http://files.adbrite.com/mb/images/green-double-underline-006600.gif) repeat-x 50% bottom; MARGIN-BOTTOM: -2px; PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #006600; TEXT-DECORATION: none" target=_top display="inline" keyword="increased"&gt;&lt;FONT face=Arial size=2&gt;increased&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT face=Arial size=2&gt;at the remote database.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;If there is no ORA-2063 the parameter distributed_transactions must be&lt;BR&gt;&lt;BR&gt;increased at the local database.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;In a distributed environment, if a &lt;/FONT&gt;&lt;A id=AdBriteInlineAd_select style="BACKGROUND: url(http://files.adbrite.com/mb/images/green-double-underline-006600.gif) repeat-x 50% bottom; MARGIN-BOTTOM: -2px; PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #006600; TEXT-DECORATION: none" target=_top display="inline" keyword="select"&gt;&lt;FONT face=Arial size=2&gt;select&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; is issued in a session without the&lt;BR&gt;&lt;BR&gt;SET TRANSACTION READ ONLY command, the select &lt;/FONT&gt;&lt;A id=AdBriteInlineAd_query style="BACKGROUND: url(http://files.adbrite.com/mb/images/green-double-underline-006600.gif) repeat-x 50% bottom; MARGIN-BOTTOM: -2px; PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #006600; TEXT-DECORATION: none" target=_top display="inline" keyword="query"&gt;&lt;FONT face=Arial size=2&gt;query&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; is &lt;/FONT&gt;&lt;A id=AdBriteInlineAd_considered style="BACKGROUND: url(http://files.adbrite.com/mb/images/green-double-underline-006600.gif) repeat-x 50% bottom; MARGIN-BOTTOM: -2px; PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #006600; TEXT-DECORATION: none" target=_top display="inline" keyword="considered"&gt;&lt;FONT face=Arial size=2&gt;considered&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; a&lt;BR&gt;&lt;BR&gt;distributed transaction.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;If the parameter distributed_transactions is set too low, this too will &lt;/FONT&gt;&lt;A id=AdBriteInlineAd_result style="BACKGROUND: url(http://files.adbrite.com/mb/images/green-double-underline-006600.gif) repeat-x 50% bottom; MARGIN-BOTTOM: -2px; PADDING-BOTTOM: 2px; CURSOR: pointer; COLOR: #006600; TEXT-DECORATION: none" target=_top display="inline" keyword="result"&gt;&lt;FONT face=Arial size=2&gt;result&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; in an ORA-2042 and ORA-2063&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;It is important to note that ORA-02063 typically appears with ORA-02042&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 14 Jun 2010 12:47:13 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-03120 two-task conversion routine: integer overflow</title><link>http://www.franklinfaces.com/Topic306-54-1.aspx</link><description>ORA-03120 two-task conversion routine: integer overflow&lt;/P&gt;&lt;P&gt;ORA-03120 two-task conversion routine: integer overflow&lt;BR&gt;&lt;BR&gt;Cause: An integer value in an internal Oracle structure overflowed when being sent or received over a heterogeneous connection. This can happen when an invalid buffer length or too great a row count is specified. It usually indicates a bug in the user application. &lt;BR&gt;&lt;BR&gt;Action: Check parameters to Oracle calls. If the problem recurs, reduce all integer parameters, column values not included, to less than 32767.&lt;BR&gt;</description><pubDate>Mon, 14 Jun 2010 12:03:07 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ora error ORA-03001: unimplemented feature</title><link>http://www.franklinfaces.com/Topic302-54-1.aspx</link><description>ORA-03001: unimplemented feature &lt;BR&gt;&lt;BR&gt;Cause: This feature is not implemented.&lt;BR&gt;&lt;BR&gt;Action: None.</description><pubDate>Mon, 14 Jun 2010 11:32:20 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ora 3136 ORA-3136 - WARNING: Inbound connection timed out.  ora error</title><link>http://www.franklinfaces.com/Topic29-54-1.aspx</link><description>The "WARNING: inbound connection timed out (ORA-3136)" in the alert log indicates that the client was not able to complete it's authentication within the period of time specified by parameter SQLNET.INBOUND_CONNECT_TIMEOUT.&lt;BR&gt;&lt;BR&gt;You may also witness ORA-12170 without timeout error on the database server sqlnet.log file.&lt;BR&gt;This entry would also have the clinet address which failed to get authenticated.&lt;BR&gt;&lt;BR&gt;From 10.2 onwards the default value of this parameter is 60 seconds, hence if the client is not able authenticate within 60 secs , the warning would appear in the alert log and the client connection will be terminated.&lt;BR&gt;&lt;BR&gt;This timeout restriction was introduced to combat Denial of Service (DoS) attack whereby malicious clients attempt to flood database servers with connect requests that consumes resources. &lt;BR&gt;&lt;BR&gt;If its taking longer period, then its worth checking all the below points before going for the workadound:&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;1. Check whether local connection on the database server is sucessful &amp;amp; quick.&lt;BR&gt;&lt;BR&gt;2. If local connections are quick ,then check for underlying network delay with the help of your network administrator.&lt;BR&gt;&lt;BR&gt;3. Check whether your Database performance has degraded by anyway.&lt;BR&gt;&lt;BR&gt;4. Check alert log for any critical errors for eg, ORA-600 or ORA-7445 and get them resolved first. &lt;BR&gt;&lt;BR&gt;You can do the following as workarounds:&lt;BR&gt;&lt;BR&gt;Set the parameters SQLNET.INBOUND_CONNECT_TIMEOUT and INBOUND_CONNECT_TIMEOUT_listenername&lt;BR&gt;to the value more than 60.&lt;BR&gt;&lt;BR&gt;In server side sqlnet.ora file add SQLNET.INBOUND_CONNECT_TIMEOUT&lt;BR&gt;&lt;BR&gt;SQLNET.INBOUND_CONNECT_TIMEOUT = 120 &lt;BR&gt;In listener.ora file INBOUND_CONNECT_TIMEOUT_listenername&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;INBOUND_CONNECT_TIMEOUT_LISTENER = 110 &lt;BR&gt;&lt;BR&gt;More on meta link note 465043.1 and 345197.1&lt;BR&gt;</description><pubDate>Wed, 24 Dec 2008 02:17:01 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ora error 01986 ORA-01986: OPTIMIZER_GOAL is obsolete</title><link>http://www.franklinfaces.com/Topic276-54-1.aspx</link><description>&lt;TABLE cellPadding=5 width="100%" align=center border=0&gt;&lt;TBODY&gt;&lt;TR vAlign=top&gt;&lt;TD noWrap&gt;&lt;H2 style="FONT-SIZE: 18px; MARGIN-BOTTOM: 0px"&gt;ORA-01986:&lt;/H2&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px"&gt;OPTIMIZER_GOAL is obsolete&lt;/TD&gt;&lt;/TR&gt;&lt;TR vAlign=top&gt;&lt;TD style="FONT-SIZE: 18px"&gt;&lt;B&gt;Cause:&lt;/B&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px; LINE-HEIGHT: 1.5"&gt;An obsolete parameter, OPTIMIZER_GOAL, was referenced.&lt;BR&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR vAlign=top&gt;&lt;TD style="FONT-SIZE: 18px"&gt;&lt;B&gt;Action:&lt;/B&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px; LINE-HEIGHT: 1.5"&gt;Use the OPTIMIZER_MODE parameter.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description><pubDate>Mon, 14 Jun 2010 10:57:26 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ora 2291 - ORA-02291: integrity constraint violated - parent key not found ora error</title><link>http://www.franklinfaces.com/Topic245-54-1.aspx</link><description>ora error: ORA-02291: integrity constraint violated - parent key not found &lt;P&gt;02291, 00000,"integrity constraint (%s.%s) violated - parent key not found"&lt;BR&gt;// *Cause: A foreign key value has no matching primary key value.&lt;BR&gt;// *Action: Delete the foreign key or add a matching primary key.&lt;BR&gt;&lt;/P&gt;&lt;P&gt;In a master-child relationship, the master record has to exist before the child can reference it. If not, an &lt;B&gt;ORA-02291&lt;/B&gt; error will be raised.</description><pubDate>Fri, 11 Jun 2010 15:52:17 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00955 ora error name is already used by an existing object</title><link>http://www.franklinfaces.com/Topic240-54-1.aspx</link><description>00955, 00000, "name is already used by an existing object"&lt;BR&gt;// *Cause:&lt;BR&gt;// *Action:&lt;BR&gt;&lt;/P&gt;&lt;P&gt;I get this error when trying to install statspack in 9i.&lt;/P&gt;&lt;P&gt;If this script is automatically called from spcreate (which is&lt;BR&gt;the supported method), all STATSPACK segments will be created in&lt;BR&gt;the PERFSTAT user's default tablespace.&lt;BR&gt;&lt;P&gt;Using perfstat tablespace to store Statspack objects&lt;BR&gt;&lt;P&gt;... Creating STATS$SNAPSHOT_ID Sequence&lt;BR&gt;create sequence STATS$SNAPSHOT_ID&lt;BR&gt;*&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-00955: name is already used by an existing object&lt;BR&gt;&lt;P&gt;&lt;BR&gt;Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production&lt;BR&gt;With the Partitioning, OLAP and Oracle Data Mining options&lt;BR&gt;JServer Release 9.2.0.1.0 - Production&lt;/P&gt;&lt;P&gt;any help is appreciated.</description><pubDate>Fri, 11 Jun 2010 12:20:25 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-06502 character string buffer too small ora error</title><link>http://www.franklinfaces.com/Topic233-54-1.aspx</link><description>&lt;SPAN class=aw-ti-resultsPanel-text&gt;&lt;FONT color=#0066cc&gt;ora 06502 character string buffer too small&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=aw-ti-resultsPanel-text&gt;&lt;FONT color=#0066cc&gt;&lt;/FONT&gt;&lt;/SPAN&gt;Oracle 10g:&lt;/P&gt;&lt;P&gt;06502, 00000, "PL/SQL: numeric or value error%s"&lt;BR&gt;// *Cause:&lt;BR&gt;// *Action:&lt;BR&gt;&lt;/P&gt;&lt;P&gt;Oracle 11g:&lt;/P&gt;&lt;P&gt;06502, 00000, "PL/SQL: numeric or value error%s"&lt;BR&gt;// *Cause: An arithmetic, numeric, string, conversion, or constraint error&lt;BR&gt;//         occurred. For example, this error occurs if an attempt is made to&lt;BR&gt;//         assign the value NULL to a variable declared NOT NULL, or if an&lt;BR&gt;//         attempt is made to assign an integer larger than 99 to a variable&lt;BR&gt;//         declared NUMBER(2).&lt;BR&gt;// *Action: Change the data, how it is manipulated, or how it is declared so&lt;BR&gt;//          that values do not violate constraints.&lt;BR&gt;</description><pubDate>Fri, 11 Jun 2010 12:08:14 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01013 user requested cancel of current operation ora error</title><link>http://www.franklinfaces.com/Topic229-54-1.aspx</link><description>&lt;STRONG&gt;&lt;FONT face="Courier New"&gt;ORA-01013 user requested cancel of current operation&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;01013, 00000, "user requested cancel of current operation"&lt;BR&gt;// *Cause:&lt;BR&gt;// *Action:&lt;BR&gt;&lt;/P&gt;&lt;P class=MH1&gt;&lt;STRONG&gt;Cause:&lt;/STRONG&gt; The user interrupted an Oracle operation by entering CTRL-C, Control-C, or another canceling operation. This forces the current operation to end. This is an informational message only.&lt;FONT face="Times New Roman"&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P class=MH2&gt;&lt;FONT face="Courier New"&gt;&lt;STRONG&gt;Action:&lt;/STRONG&gt; Continue with the next operation.&lt;/FONT&gt;</description><pubDate>Fri, 11 Jun 2010 11:48:57 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-1580: error creating control backup file</title><link>http://www.franklinfaces.com/Topic225-54-1.aspx</link><description>After all the backup is done, I have a script that makes copies of the control file. The first copy of the control file copy command works, but the second gives me an ora error like I have below:&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;alter database backup controlfile to trace;&lt;BR&gt;database altered&lt;BR&gt;&lt;BR&gt;alter database backup controlfile to '/backups/PRODDB/proddb_control_file_copy'&lt;BR&gt;ORA-1580 signalled during: alter database backup controlfile to '/backups/PROD...&lt;BR&gt;&lt;BR&gt;Does any one know why this error occurs even though it's removed before the back starts?</description><pubDate>Fri, 11 Jun 2010 11:29:30 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ora 04030 error ORA-04030:</title><link>http://www.franklinfaces.com/Topic222-54-1.aspx</link><description>ORA-04030:&lt;/P&gt;&lt;P&gt;04030, 00000, "out of process memory when trying to allocate %s bytes (%s,%s)"&lt;BR&gt;// *Cause:  Operating system process private memory has been exhausted&lt;BR&gt;// *Action:&lt;BR&gt;&lt;/P&gt;&lt;P&gt;You may look for Note:233869.1 Titled "Diagnosing and Resolving ORA-4030 errors" at Metalink Site.&lt;/P&gt;&lt;P&gt;This error indicates that the oracle server process is unable to allocate more memory from the operating system.This memory consists of the PGA (Program Global Area) and its contents depend upon the server configuration.For dedicated server processes it contains the stack and the UGA (User Global Area) which holds user session data, cursor information and the sort area. In a multithreaded configuration (shared server), the UGA is allocated in the SGA (System Global Area) and will not be responsible for ORA-4030 errors.&lt;BR itxtvisited="1"&gt;&lt;BR itxtvisited="1"&gt;The ORA-4030 ora error thus indicates the process needs more memory (stack UGA or PGA) to perform its job.&lt;/P&gt;&lt;P&gt;Check your kernal parameters and ulimit settings as well:&lt;/P&gt;&lt;P&gt;We changed the setting of “ulimit” as follows to resolve the issue: &lt;/P&gt;&lt;P class=MsoNormal&gt;&lt;FONT face="Courier New" size=1&gt;&lt;FONT size=2&gt;ulimit –a &lt;BR&gt;time(seconds) unlimited &lt;BR&gt;file(blocks) unlimited &lt;BR&gt;data(kbytes) unlimited &lt;BR&gt;stack(kbytes) 4194302 &lt;BR&gt;memory(kbytes) unlimited &lt;BR&gt;coredump(blocks) unlimited &lt;BR&gt;nofiles(descriptors) 4096&lt;/FONT&gt; &lt;/FONT&gt;&lt;BR itxtvisited="1"&gt;&lt;/P&gt;&lt;P class=MsoNormal&gt;Hope this helps.</description><pubDate>Fri, 11 Jun 2010 11:23:27 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00600: internal error code - ora error</title><link>http://www.franklinfaces.com/Topic219-54-1.aspx</link><description>&lt;B&gt;ORA-600&lt;/B&gt; is an internal ora error generated by the generic kernel code of the Oracle RDBMS software. It is different from other Oracle errors in many ways. The following is a list of these differences: &lt;P&gt;1. An ORA-600 ora error may or may not be displayed on the screen. Therefore, screen output should not be relied on for capturing information on this error. Information on ORA-600 errors are found in the database alert and trace files. We recommend that you check these files frequently for database errors. (See the Alert and Trace Files section for more information.) &lt;/P&gt;&lt;P&gt;2. Each ORA-600 ora error comes with a list o***uments They usually enclosed in square brackets and follow the error on the same line for example: &lt;/P&gt;&lt;P&gt;ORA-00600 [14000][51202][1][51200][][] &lt;/P&gt;&lt;P&gt;Each argument has a specific meaning which can only be interpreted by an Oracle support analyst. The arguments may also change meaning from version to version therefore customers are not advised to memorize them. &lt;/P&gt;&lt;P&gt;3. Every occurrence of an ORA-600 should be reported to &lt;A title="Oracle Support" href="http://support.oracle.com"&gt;Oracle Support&lt;/A&gt;. Unlike other errors, you can not find help text for these errors. Only Oracle technical support should diagnose and take actions to prevent or resolve damage to the database. &lt;/P&gt;&lt;P&gt;4. Each ORA-600 error generates a database trace file.</description><pubDate>Fri, 11 Jun 2010 11:10:16 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-02304: invalid object identifier literal: ORA-39083: Object type TYPE failed to create with error:</title><link>http://www.franklinfaces.com/Topic173-54-1.aspx</link><description>Hi,&lt;P&gt;When I was expording a schema and importing it to another schema in the same database i was getting the following ora error import message:&lt;/P&gt;&lt;P&gt;Import: Release 10.2.0.4.0 - 64bit Production on Tuesday, 29 December, 2009 14:05:41&lt;/P&gt;&lt;P&gt;Copyright (c) 2003, 2007, Oracle.  All rights reserved.&lt;/P&gt;&lt;P&gt;Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production&lt;BR&gt;With the Partitioning, Data Mining and Real Application Testing options&lt;BR&gt;Master table "SYS"."SYS_IMPORT_FULL_02" successfully loaded/unloaded&lt;BR&gt;Starting "SYS"."SYS_IMPORT_FULL_02":  parfile=/oracle/dba/scripts/imp_daily_TABLES.par directory=DAILY_TABLES_REFRESH dumpfile=james_expdp_%U.dmp logfile=daily_refresh_impdp.log REMAP_SCHEMA=JAMES:SCOTT TABLE_EXISTS_ACTION=SKIP&lt;BR&gt;Processing object type SCHEMA_EXPORT/USER&lt;BR&gt;ORA-31684: Object type USER:"SCOTT" already exists&lt;BR&gt;Processing object type SCHEMA_EXPORT/SYSTEM_GRANT&lt;BR&gt;Processing object type SCHEMA_EXPORT/ROLE_GRANT&lt;BR&gt;Processing object type SCHEMA_EXPORT/DEFAULT_ROLE&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA&lt;BR&gt;Processing object type SCHEMA_EXPORT/passWORD_HISTORY&lt;BR&gt;Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA&lt;BR&gt;Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC&lt;BR&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;ORA-39083: Object type TYPE failed to create with error:&lt;BR&gt;ORA-02304: invalid object identifier literal&lt;BR&gt;Failing sql is:&lt;BR&gt;CREATE TYPE "SCOTT"."SYS_PLSQL_210109_DUMMY_1"   OID '6E6497DF899A51E7E0440003BA2F18B2' as table of number;&lt;BR&gt;ORA-39083: Object type TYPE failed to create with error:&lt;BR&gt;ORA-02304: invalid object identifier literal&lt;BR&gt;Failing sql is:&lt;BR&gt;CREATE TYPE "SCOTT"."SYS_PLSQL_210109_9_1"   OID '6E6497DF899451E7E0440003BA2F18B2' as object (CUSTID CHAR(25),&lt;BR&gt;PARTYID CHAR(4),&lt;BR&gt;RATINGEQUIVALENCY NUMBER(3));&lt;BR&gt;ORA-39082: Object type TYPE:"SCOTT"."SYS_PLSQL_11945_34_1" created with compilation warnings&lt;BR&gt;ORA-39082: Object type TYPE:"SCOTT"."SYS_PLSQL_11945_34_1" created with compilation warnings&lt;BR&gt;ORA-39083: Object type TYPE failed to create with error:&lt;BR&gt;ORA-02304: invalid object identifier literal&lt;BR&gt;Failing sql is:&lt;BR&gt;CREATE TYPE "SCOTT"."SYS_PLSQL_210109_34_1"   OID '6E6497DF899E51E7E0440003BA2F18B2' as table of SENTRY."SYS_PLSQL_210109_9_1";&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE&lt;BR&gt;Processing object type SCHEMA_EXPORT/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT&lt;BR&gt;Processing object type SCHEMA_EXPORT/CLUSTER/CLUSTER&lt;BR&gt;Processing object type SCHEMA_EXPORT/CLUSTER/INDEX&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA&lt;BR&gt;&lt;/P&gt;&lt;P&gt;I couldn't figure it out at first.   This was my par file / example of my impdp statement:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#1111ff&gt;impdp parfile=/oracle/dba/scripts/imp_daily.par directory=DAILY_TABLES_REFRESH dumpfile=james_expdp_%U.dmp logfile=daily_refresh_impdp.log REMAP_SCHEMA=JAMES:SCOTT TABLE_EXISTS_ACTION=SKIP PARALLEL=5&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It was related to the type.  I couldn't figure it out untill i saw someone metioned something about TRANSFORM option.  I read it up again in metalink and it worked.  Here is what I did:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#1111ff&gt;impdp parfile=/oracle/dba/scripts/imp_daily.par directory=DAILY_TABLES_REFRESH dumpfile=james_expdp_%U.dmp logfile=daily_refresh_impdp.log REMAP_SCHEMA=JAMES:SCOTT TABLE_EXISTS_ACTION=&lt;FONT color=#dd1111&gt;APPEND&lt;/FONT&gt; PARALLEL=5 &lt;/FONT&gt;&lt;FONT color=#ff1111&gt;TRANSFORM=oid:n&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;I highlighted what i did in red.    I changed it to APPEND because I was dropping the user before importing it so it was ok.   The TRANSFORM option will take the existing OID and assign it a new id when you provide it with :&lt;FONT color=#ff1111&gt;n&lt;/FONT&gt; option.  I hope this helps.    This option is only available in 10gR2.&lt;/P&gt;&lt;P&gt;Here is some info from oracle:&lt;/P&gt;&lt;P&gt;Hope it helps:&lt;/P&gt;&lt;H2 class=km&gt;Applies to: &lt;/H2&gt;&lt;P&gt;Enterprise Manager for RDBMS - Version: 10.1.0 to 10.2.0&lt;BR&gt;Oracle Server - Enterprise Edition - Version: 10.1.0 to 10.2.0&lt;BR&gt;Oracle Server - Personal Edition - Version: 10.1.0 to 10.2.0&lt;BR&gt;Oracle Server - Standard Edition - Version: 10.1.0 to 10.2.0&lt;BR&gt;This problem can occur on any platform.&lt;BR&gt;&lt;/P&gt;&lt;H2 class=km&gt;&lt;A name=SYMPTOM&gt;&lt;/A&gt;Symptoms&lt;/H2&gt;&lt;P&gt;The example below is based on the directory object my_dir that refers to an existing directory on the server where the Oracle RDBMS is installed. Example:&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;Windows:&lt;BR&gt;&lt;/STRONG&gt;CONNECT system/manager&lt;BR&gt;CREATE OR REPLACE DIRECTORY my_dir AS 'D:\export';&lt;BR&gt;GRANT read, write ON DIRECTORY my_dir TO public;&lt;BR&gt;&lt;STRONG&gt;Unix:&lt;BR&gt;&lt;/STRONG&gt;CONNECT system/manager&lt;BR&gt;CREATE OR REPLACE DIRECTORY my_dir AS '/home/users/export';&lt;BR&gt;GRANT read, write ON DIRECTORY my_dir TO public;&lt;/PRE&gt;&lt;P&gt;&lt;BR&gt;A schema that owns object types needs to be duplicated from schema U1 to schema U2 in the same Oracle10g database. Example:&lt;/P&gt;&lt;PRE&gt;CONNECT system/manager&lt;BR&gt;CREATE USER u1 IDENTIFIED BY u1 DEFAULT TABLESPACE users;&lt;BR&gt;CREATE USER u2 IDENTIFIED BY u2 DEFAULT TABLESPACE users;&lt;BR&gt;ALTER USER u1 QUOTA UNLIMITED ON users;&lt;BR&gt;ALTER USER u2 QUOTA UNLIMITED ON users;&lt;BR&gt;GRANT create session, create table, create type TO u1;&lt;BR&gt;GRANT create session, create table, create type TO u2;&lt;/PRE&gt;&lt;PRE&gt;CONNECT u1/u1&lt;BR&gt;CREATE TYPE my_coltype AS OBJECT (nr NUMBER, txt VARCHAR2(10))&lt;BR&gt;/&lt;BR&gt;CREATE TYPE my_tabtype AS OBJECT (nr NUMBER, txt VARCHAR2(10))&lt;BR&gt;/&lt;BR&gt;CREATE TABLE my_reltab (nr NUMBER, col1 my_coltype);&lt;BR&gt;CREATE TABLE my_objtab OF my_tabtype;&lt;BR&gt;INSERT INTO my_reltab VALUES (1, my_coltype(1, 'Line 1'));&lt;BR&gt;INSERT INTO my_objtab VALUES (1, 'Line 1');&lt;BR&gt;COMMIT;&lt;/PRE&gt;&lt;P&gt;&lt;BR&gt;The schema U1 can be exported successfully. E.g.:&lt;/P&gt;&lt;PRE&gt;expdp system/manager DIRECTORY=my_dir DUMPFILE=expdp_u1.dmp LOGFILE=expdp_u1.log SCHEMAS=u1&lt;/PRE&gt;&lt;P&gt;&lt;BR&gt;The import into schema U2 fails though with the following errors:&lt;/P&gt;&lt;PRE&gt;impdp system/manager DIRECTORY=my_dir DUMPFILE=expdp_u1.dmp LOGFILE=impdp_u1.log &lt;BR&gt;REMAP_SCHEMA=u1:u2&lt;/PRE&gt;&lt;PRE&gt;...&lt;BR&gt;ORA-39083: Object type TYPE failed to create with error:&lt;BR&gt;ORA-02304: invalid object identifier literal&lt;BR&gt;Failing sql is:&lt;BR&gt;CREATE TYPE "U2"."MY_COLTYPE"   OID 'DDB334945FA24A41AC0099E457715B62' as ...&lt;BR&gt;ORA-39083: Object type TYPE failed to create with error:&lt;BR&gt;ORA-02304: invalid object identifier literal&lt;BR&gt;Failing sql is:&lt;BR&gt;CREATE TYPE "U2"."MY_TABTYPE"   OID 'EEC16EAE6DF34B4FA755DBB448EC4F78' as ...&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE&lt;BR&gt;ORA-39117: Type needed to create table is not included in this operation. Failing sql is:&lt;BR&gt;CREATE TABLE "U2"."MY_RELTAB" ...&lt;BR&gt;ORA-39117: Type needed to create table is not included in this operation. Failing sql is:&lt;BR&gt;CREATE TABLE "U2"."MY_OBJTAB" OF "U2"."MY_TABTYPE"  ...&lt;BR&gt;...&lt;/PRE&gt;&lt;P&gt;&lt;BR&gt;Similar errors with the original export and import utilities are:&lt;/P&gt;&lt;PRE&gt;...&lt;BR&gt;IMP-00017: following statement failed with ORACLE error 2304:&lt;BR&gt; "CREATE TYPE "MY_COLTYPE" TIMESTAMP '2006-01-04:12:36:27' OID 'F1C8AAABCB114"&lt;BR&gt; "6B0B2672663397B0156'   as object (nr number, txt varchar2(10))"&lt;BR&gt;IMP-00003: ORACLE error 2304 encountered&lt;BR&gt;ORA-02304: invalid object identifier literal&lt;BR&gt;IMP-00017: following statement failed with ORACLE error 2304:&lt;BR&gt; "CREATE TYPE "MY_TABTYPE" TIMESTAMP '2006-01-04:12:36:28' OID '317DF88365654"&lt;BR&gt; "C6784C17B0FE14C4610'   as object (nr number, txt varchar2(10))"&lt;BR&gt;IMP-00003: ORACLE error 2304 encountered&lt;BR&gt;ORA-02304: invalid object identifier literal&lt;BR&gt;IMP-00063: Warning: Skipping table "U2"."MY_OBJTAB" because object type "U2"."MY_TABTYPE"&lt;BR&gt;cannot be created or has different identifier&lt;BR&gt;IMP-00063: Warning: Skipping table "U2"."MY_RELTAB" because object type "U2"."MY_COLTYPE"&lt;BR&gt;cannot be created or has different identifier&lt;BR&gt;Import terminated successfully with warnings.&lt;BR&gt;...&lt;/PRE&gt;&lt;H2 class=km&gt;&lt;A name=CAUSE&gt;&lt;/A&gt;Cause&lt;/H2&gt;&lt;P&gt;The object types MY_COLTYPE and MY_TABTYPE already exist in the source schema U1. When the types are exported, we also export the object_identifier (OID) of the types. Within the current archictecture, the object-identifier needs to be unique in the database.&lt;BR&gt;&lt;BR&gt;During import (into the same database), we try to create the same object types in the U2 schema. As the OID of the types already exists in the source schema U1, the types cannot be created in the target schema U2. Import will fail due to:&lt;/P&gt;&lt;PRE&gt;ORA-02304: invalid object identifier literal&lt;BR&gt;&lt;/PRE&gt;&lt;H2 class=km&gt;&lt;A name=FIX&gt;&lt;/A&gt;Solution&lt;/H2&gt;&lt;P&gt;1. In Oracle10g Release 1 (10.1.0.x.y), you can pre-create the object types and the tables in the target schema, and run an import with the TABLE_EXISTS_ACTION parameter. Example:&lt;/P&gt;&lt;PRE&gt;CONNECT u2/u2&lt;BR&gt;CREATE TYPE my_coltype AS OBJECT (nr NUMBER, txt VARCHAR2(10))&lt;BR&gt;/&lt;BR&gt;CREATE TYPE my_tabtype AS OBJECT (nr NUMBER, txt VARCHAR2(10))&lt;BR&gt;/&lt;BR&gt;CREATE TABLE my_reltab (nr NUMBER, col1 my_coltype);&lt;BR&gt;CREATE TABLE my_objtab OF my_tabtype;&lt;/PRE&gt;&lt;PRE&gt;impdp system/manager DIRECTORY=my_dir DUMPFILE=expdp_u1.dmp LOGFILE=impdp_u1.log&lt;BR&gt;REMAP_SCHEMA=u1:u2 TABLE_EXISTS_ACTION=append&lt;/PRE&gt;&lt;PRE&gt;...&lt;BR&gt;Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC&lt;BR&gt;ORA-31684: Object type TYPE:"U2"."MY_COLTYPE" already exists&lt;BR&gt;ORA-31684: Object type TYPE:"U2"."MY_TABTYPE" already exists&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA&lt;BR&gt;. . imported "U2"."MY_OBJTAB"                         6.132 KB       1 rows&lt;BR&gt;. . imported "U2"."MY_RELTAB"                         6.226 KB       1 rows&lt;BR&gt;Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 3 error(s) at 13:13&lt;/PRE&gt;&lt;P&gt;&lt;BR&gt;Note that in Oracle10g Release 2, this will fail for the table MY_RELTAB with the errors:&lt;/P&gt;&lt;PRE&gt;...&lt;BR&gt;Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC&lt;BR&gt;ORA-31684: Object type TYPE:"U2"."MY_COLTYPE" already exists&lt;BR&gt;ORA-31684: Object type TYPE:"U2"."MY_TABTYPE" already exists&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE&lt;BR&gt;ORA-39152: Table "U2"."MY_RELTAB" exists. Data will be appended to existing table&lt;BR&gt;but all dependent metadata will be skipped due to table_exists_action of append&lt;BR&gt;ORA-39152: Table "U2"."MY_OBJTAB" exists. Data will be appended to existing table&lt;BR&gt;but all dependent metadata will be skipped due to table_exists_action of append&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA&lt;BR&gt;. . imported "U2"."MY_OBJTAB"                         6.125 KB       1 rows&lt;BR&gt;ORA-31693: Table data object "U2"."MY_RELTAB" failed to load/unload and is being skipped &lt;BR&gt;due to error:&lt;BR&gt;ORA-29913: error in executing ODCIEXTTABLEOPEN callout&lt;BR&gt;ORA-29400: data cartridge error&lt;BR&gt;ORA-39779: type "U2"."MY_COLTYPE" not found or conversion to latest version is not possible&lt;BR&gt;Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 6 error(s) at 12:39:54&lt;/PRE&gt;&lt;P&gt;&lt;BR&gt;2. In Oracle10g Release 2 (10.2.0.x.y), there is no need to pre-create the object types and the tables in the target schema. Instead, you can use the Import DataPump parameter TRANSFORM which enables you to alter object creation DDL for the types. The value N (= No) for the transform name OID implies that a new OID is assigned. Example:&lt;/P&gt;&lt;PRE&gt;impdp system/manager DIRECTORY=my_dir DUMPFILE=expdp_u1.dmp LOGFILE=impdp_u1.log&lt;BR&gt;REMAP_SCHEMA=u1:u2 TRANSFORM=oid:n&lt;/PRE&gt;&lt;PRE&gt;...&lt;BR&gt;Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE&lt;BR&gt;Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA&lt;BR&gt;. . imported "U2"."MY_OBJTAB"                         6.125 KB       1 rows&lt;BR&gt;. . imported "U2"."MY_RELTAB"                         6.218 KB       1 rows&lt;BR&gt;Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at 12:38:56&lt;/PRE&gt;&lt;P&gt;Note that the remaining error is an ORA-31684 "Object type USER:"U2" already exists", which was reported earlier at the import. This error is not related. The ORA-31684 can be ignored if the target schema already exists in the target database.&lt;/P&gt;&lt;P&gt;Also note that the transform name OID for the Import DataPump parameter TRANSFORM has been introduced in Oracle10g Release 2 (10.2.0.x.y). If you use this value in Oracle10g Release 1, the Import DataPump job will fail with:&lt;/P&gt;&lt;PRE&gt;...&lt;BR&gt;ORA-39001: invalid argument value&lt;BR&gt;ORA-39042: invalid transform name OID&lt;/PRE&gt;&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Remark 1&lt;/STRONG&gt;: There are certain schema references that Import DataPump cannot find when the REMAP_SCHEMA parameter has been specified. For example, Import DataPump won't find schema references embedded within the body of definitions of types, views, procedures, and packages. Example: User U1 has created the following types:&lt;/P&gt;&lt;PRE&gt;CREATE TYPE my_vartype AS OBJECT (nr NUMBER)&lt;BR&gt;/&lt;BR&gt;CREATE TYPE my_var AS VARRAY (10000) OF u1.my_vartype&lt;BR&gt;/&lt;BR&gt;CREATE TYPE my_type2 AS OBJECT (nr NUMBER, col2 u1.my_vartype)&lt;BR&gt;/&lt;BR&gt;CREATE TABLE my_objtab2 OF u1.my_type2&lt;BR&gt;/&lt;/PRE&gt;&lt;P&gt;Note that the type bodies of types MY_VAR and MY_TYPE2 have a reference to the schema name 'U1'.  Import DataPump REMAP_SCHEMA won't be able to replace the schema name 'U1' within the type body, and the import logfile will show the errors:&lt;/P&gt;&lt;PRE&gt;ORA-39082: Object type TYPE:"U2"."MY_VAR" created with compilation warnings&lt;BR&gt;ORA-39082: Object type TYPE:"U2"."MY_TYPE2" created with compilation warnings&lt;BR&gt;ORA-39117: Type needed to create table is not included in this operation. Failing sql is:&lt;BR&gt;CREATE TABLE "U2"."MY_OBJTAB2" OF "U2"."MY_TYPE2" ...&lt;/PRE&gt;&lt;P&gt;These errors are expected behavior because the type bodies contain an explicit reference to a schema name. Possible solutions:&lt;BR&gt;1. Do not explicitly specify the schema name of the owner in the type body if this is the same owner who has created the type and if you intend to transfer the data to a different schema (e.g. REMAP_SCHEMA during Import DataPump). E.g.:&lt;/P&gt;&lt;PRE&gt;CONNECT u1/u1&lt;BR&gt;CREATE TYPE my_vartype AS OBJECT (nr NUMBER)&lt;BR&gt;/&lt;BR&gt;CREATE TYPE my_var AS VARRAY (10000) OF my_vartype&lt;BR&gt;/&lt;BR&gt;CREATE TYPE my_type2 AS OBJECT (nr NUMBER, col2 my_vartype)&lt;BR&gt;/&lt;BR&gt;CREATE TABLE my_objtab2 OF my_type2&lt;BR&gt;/&lt;/PRE&gt;&lt;P&gt;or:&lt;/P&gt;&lt;P&gt;2. Prior to Import DataPump have user u1 grant the execute privilege on the type that is referenced: &lt;/P&gt;&lt;PRE&gt;CONNECT u1/u1&lt;BR&gt;GRANT execute ON my_vartype TO u2;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR&gt;Remark 2&lt;/STRONG&gt;: With the original export and import clients, a similar parameter is the TOID_NOVALIDATE parameter. If you have pre-created the object types and tables in the target schemas U2, you can import with:&lt;/P&gt;&lt;PRE&gt;imp system/manager FILE=exp_u1.dmp LOG=imp_u1.log FROMUSER=u1 TOUSER=u2 IGNORE=y &lt;BR&gt;TOID_NOVALIDATE=u2.my_coltype, u2.my_tabtype&lt;/PRE&gt;&lt;P&gt;The TOID_NOVALIDATE parameter cannot be used to skip validation of object type tables. Therefore the original import will still show the errors:&lt;/P&gt;&lt;PRE&gt;...&lt;BR&gt;IMP-00071: Object identifier of imported table mismatches object identifier of existing table&lt;BR&gt; "CREATE TABLE "MY_OBJTAB" OF "MY_TABTYPE" OID '358A184D9B2E4896907E8D7A1902B"&lt;BR&gt; "F77' OIDINDEX (PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FRE"&lt;BR&gt; "ELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS")  PCTFRE"&lt;BR&gt; "E 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 F"&lt;BR&gt; "REELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING NOCOMPRESS"&lt;BR&gt;. . importing table                    "MY_RELTAB"          1 rows imported&lt;BR&gt;Import terminated successfully with warnings.&lt;/PRE&gt;&lt;P&gt;This is expected behavior. For workarounds, see:&lt;BR&gt;&lt;A href="https://support.oracle.com/CSP/main/article?cmd=show&amp;amp;id=1066139.6&amp;amp;type=NOT"&gt;Note 1066139.6&lt;/A&gt; "IMP-17 IMP-3 ORA-2304 IMP-63 FROMUSER/TOUSER Import of Table With Object Column"&lt;BR&gt;&lt;/P&gt;&lt;H2 class=km&gt;&lt;A name=REF&gt;&lt;/A&gt;References&lt;/H2&gt;&lt;P&gt;&lt;A href="https://support.oracle.com/CSP/main/article?cmd=show&amp;amp;type=BUG&amp;amp;id=2978711"&gt;BUG:2978711&lt;/A&gt; - Allow Multiple User Imports To Succeed With User Defined Datatypes&lt;BR&gt;&lt;A href="https://support.oracle.com/CSP/main/article?cmd=show&amp;amp;type=BUG&amp;amp;id=4156453"&gt;BUG:4156453&lt;/A&gt; - When Import Xmltype Table Into Another User, Ora-2304 Occurs&lt;BR&gt;&lt;A href="https://support.oracle.com/CSP/main/article?cmd=show&amp;amp;id=1066139.6&amp;amp;type=NOT"&gt;NOTE:1066139.6&lt;/A&gt; - IMP-17 IMP-3 ORA-2304 IMP-63 FROMUSER/TOUSER Import of Table With Object Column&lt;BR&gt;</description><pubDate>Tue, 29 Dec 2009 15:06:01 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01031 Insufficient privileges</title><link>http://www.franklinfaces.com/Topic138-54-1.aspx</link><description>&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;I had a user that was getting the following ora error message while creating a table in another user's schema:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;ORA-01031 Insufficient privileges&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;When i looked it up this is what oracle suggests:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;EM&gt;01031, 00000, "insufficient privileges"&lt;BR&gt;// *Cause: An attempt was made to change the current username or password&lt;BR&gt;//         without the appropriate privilege. This error also occurs if&lt;BR&gt;//         attempting to install a database without the necessary operating&lt;BR&gt;//         system privileges.&lt;BR&gt;//         When Trusted Oracle is configure in DBMS MAC, this error may occur&lt;BR&gt;//         if the user was granted the necessary privilege at a higher label&lt;BR&gt;//         than the current login.&lt;BR&gt;// *Action: Ask the database administrator to perform the operation or grant&lt;BR&gt;//          the required privileges.&lt;BR&gt;//          For Trusted Oracle users getting this error although granted the&lt;BR&gt;//          the appropriate privilege at a higher label, ask the database&lt;BR&gt;//          administrator to regrant the privilege at the appropriate label.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;However, this didn't solve my problem.   I gave the user the following privileges and still didn't work:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;grant select any table to &amp;lt;user&amp;gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;grant drop any table to &amp;lt;user&amp;gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;grant create any table to &amp;lt;user&amp;gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;After doing this, still the user was having issues when logging in through his application via odbc connection.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;After many tries, and research I granted all to the tables he was using :&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;EM&gt;grant all on &amp;lt;schema&amp;gt;.&amp;lt;table_name&amp;gt; to &amp;lt;user&amp;gt;;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;and then also did the following:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;EM&gt;grant references on &amp;lt;schema&amp;gt;.&amp;lt;table_name&amp;gt; to &amp;lt;user&amp;gt;;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;STRONG&gt;That did the trick.  I hope this helps you out as well.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#3333dd&gt;If that didn't work my last resort was to grant dba to the user.   Which I didn't want to do because that was just way too much privilege for him.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#3333dd&gt;Thanks,&lt;/FONT&gt;&lt;/STRONG&gt;</description><pubDate>Thu, 09 Jul 2009 14:20:34 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist</title><link>http://www.franklinfaces.com/Topic123-54-1.aspx</link><description>ORA-01034: ORACLE not available&lt;BR&gt;ORA-27101: shared memory realm does not exist&lt;P&gt;&lt;TABLE cellPadding=5 width="100%" align=center border=0&gt;&lt;TBODY&gt;&lt;TR vAlign=top&gt;&lt;TD style="FONT-SIZE: 18px"&gt;&lt;B&gt;Cause:&lt;/B&gt;&lt;/TD&gt;&lt;TD style="FONT-SIZE: 16px; LINE-HEIGHT: 1.5"&gt;Oracle was not started up. Possible causes include the following: &lt;P&gt;- The SGA requires more space than was allocated for it.&lt;/P&gt;&lt;P&gt;- The operating-system variable pointing to the instance is improperly defined.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;P&gt;An &lt;B&gt;ORA-01034&lt;/B&gt; ora error occurs when Oracle is not started or you don't have the proper environmnet variables setup.  If you shut the database down with "NORMAL" option and there are active sessions you may keep getting this message when you try and start the instance. If you are trying to login you may need to set the TWO_TASK variable. &lt;/P&gt;&lt;P&gt;If you get a ORA-01034 when you issue the login command (in sqlplus, imp, exp,..) without giving the DB name, check the value of the TWO_TASK environment parameter. This is the database to which a user connects by default. Maybe the TWO_TASK points to a database which is down or does not exists at all. Try export TWO_TASK=sid. &lt;/P&gt;&lt;P&gt;Older versions of Oracle used to leave a lock file in the $ORACLE_HOME/dbs directory - like lkSIDNAME. The way to remove this file is to: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fixing the issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For older versions of oracle:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#export ORACLE_SID=&amp;lt;yoursid&amp;gt;&lt;/P&gt;&lt;P&gt;#export ORACLE_HOME=&amp;lt;your_oracle_home&amp;gt;&lt;/P&gt;&lt;P&gt;#export PATH=$PATH:$ORACLE_HOME/bin&lt;/P&gt;&lt;P&gt;svrmgrl&lt;BR&gt;connect internal&lt;BR&gt;shutdown abort;&lt;BR&gt;startup&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For newer versions of oracle:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#export ORACLE_SID=&amp;lt;yoursid&amp;gt;&lt;/P&gt;&lt;P&gt;#export ORACLE_HOME=&amp;lt;your_oracle_home&amp;gt;&lt;/P&gt;&lt;P&gt;#export PATH=$PATH:$ORACLE_HOME/bin&lt;/P&gt;&lt;P&gt;#sqlplus '/ as sysdba'&lt;/P&gt;&lt;P&gt;SQL&amp;gt; shutdown abort;&lt;BR&gt;SQL&amp;gt; startup&lt;/P&gt;&lt;P&gt;Also if you still encounter this problem, check your sqlnet.ora file:&lt;/P&gt;&lt;P&gt;If you see an entry like SQLNET.AUTHENTICATION_SERVICES=(NTS), change it on trial to SQLNET.AUTHENTICATION_SERVICES=(NONE) . If this helps, for some reason you cannot use NTS (Windows Native Authentication) and it seems you have a windows domain related problem.&lt;/P&gt;&lt;P&gt; &lt;P&gt;Bottom line:&lt;P&gt;&lt;STRONG&gt;A)For Local Connections:&lt;BR&gt;----------------------------&lt;BR&gt;&lt;/STRONG&gt;1)Verify the ORACLE_SID and ORACLE_HOME is set properly. You can check the variable in UNIX by,&lt;BR&gt;# echo $ORACLE_SID&lt;P&gt;# echo $ORACLE_HOME&lt;P&gt; &lt;P&gt;&lt;STRONG&gt;B)For Remote Connections:&lt;BR&gt;-------------------------------&lt;BR&gt;&lt;/STRONG&gt;1)Verify the ORACLE_HOME is set correctly for all listed Oracle databases. If the ORACLE_HOME points to the different oracle version software, but the database was created using a different version, then this error can occur.&lt;BR&gt;&lt;BR&gt;2)Review the listener.ora file and it is properly set. Like if you set ORACLE_HOME path inside listener ended by slash(/) then the error will come. &lt;BR&gt;&lt;BR&gt;&lt;SPAN style="FONT-WEIGHT: bold"&gt;Incorrect:&lt;BR&gt;(ORACLE_HOME = /opt/oracle/product/10.2.0&lt;FONT color=#ff1111&gt;/&lt;/FONT&gt;)&lt;BR&gt;Correct:&lt;BR&gt;(ORACLE_HOME = /u01/oracle/product/10.2.0)&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;3)If listener.ora use SID then verify that you have set properly ORACLE_SID. Also be sure about listener services by issuing lsnrctl services.&lt;BR&gt;&lt;BR&gt;4)Verify the database is running on server machine while you connect as normal user.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;BR&gt;</description><pubDate>Mon, 11 May 2009 11:03:22 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01624: log 9 needed for crash recovery of instance PRODDB (thread 1) ora error</title><link>http://www.franklinfaces.com/Topic120-54-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I'm getting the following ora error message:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;SQL&amp;gt; alter database drop logfile group 9;&lt;BR&gt;alter database drop logfile group 9&lt;BR&gt;*&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;ERROR at line 1:&lt;BR&gt;ORA-01624: log 9 needed for crash recovery of instance proddb (thread 1)&lt;BR&gt;ORA-00312: online log 9 thread 1: '+SHARED_DATA_DG03/proddb/onlinelog/group_9.273.685470789'&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;At first I couldn't figure out why it was giving me this message even thought I switched my logs several times.  My database is open and the current active log was group 2 and when i tried to drop group 9 this is the error that I got.  Then after looking at oerr ora 01624 it immediately occurred to me to do a checkpoint so this is what i did:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;SQL&amp;gt; alter system checkpoint;&lt;BR&gt;&lt;BR&gt;System altered.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;After I issued this statement, it allowed me to drop the group:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;SQL&amp;gt; alter database drop logfile group 9;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;STRONG&gt;Database altered.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Hope this helps.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; </description><pubDate>Thu, 30 Apr 2009 09:49:57 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01034: ORACLE not available</title><link>http://www.franklinfaces.com/Topic115-54-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I am getting the following ora error message when using sqlplus to login to oracle.   I am logged in as my own unix account and not oracle.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:gguser@prodhost:/u01/home/gguser"&gt;gguser@prodhost:/u01/home/gguser&lt;/A&gt; &amp;gt; &lt;FONT color=#113311&gt;sqlplus ggadmin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113311&gt;SQL*Plus: Release 9.2.0.4.0 - Production on Wed Apr 18 13:23:00 2009&lt;BR&gt;&lt;BR&gt;Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.&lt;BR&gt;&lt;BR&gt;Enter password:&lt;BR&gt;ERROR:&lt;BR&gt;ORA-01034: ORACLE not available&lt;BR&gt;ORA-27123: unable to attach to shared memory segment&lt;BR&gt;Error: 13: Permission denied&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Here is the solution to this ora error message:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;#  cd $ORACLE_HOME/bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;#  ls -ltr oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;-rwxr-xrwx 1 oracle dba 74053740 Sep 04 2003 oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;The file permissions for "oracle" executable should be "-rwsr-s--x",  so that others can access the oracle environment from the same host.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;You need to shutdown the oracle database and then issue the command:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;cd $ORACLE_HOME/bin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113311&gt;chmod 6751 oracle&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#113311&gt;ls -lr oracle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;rwsr-s--x 1 oracle dba 74053740 Sep 04 2003 oracle&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;After you do this, startup the oracle database and then try to connect .   This should have resolved the issue.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Hope this helps.&lt;/FONT&gt;&lt;BR&gt;</description><pubDate>Thu, 23 Apr 2009 10:23:20 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00019 maximum number of session licenses exceeded ora error message</title><link>http://www.franklinfaces.com/Topic99-54-1.aspx</link><description>&lt;BR&gt;[b]When you try to connect to the database you get the following ora error message:[/b]&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; conn ecom/&lt;passWORD&gt;&lt;BR&gt;ERROR:&lt;BR&gt;ORA-00019: maximum number of session licenses exceeded&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Oracle Error :: ORA-00019&lt;BR&gt;maximum number of session licenses exceeded&lt;BR&gt;[b]Cause[/b] : All licenses are in use.&lt;BR&gt;[b]Action[/b] : Increase the value of the LICENSE MAX SESSIONS initialization parameter.&lt;BR&gt;&lt;BR&gt;[u][b]Here is how to fix it:[/b][/u]&lt;BR&gt;&lt;BR&gt;Login to the database as DBA account:&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; connect / as sysdba;&lt;BR&gt;Connected.&lt;BR&gt;&lt;BR&gt;[b]You need to check your parameter called: license_max_sessions:[/b]&lt;BR&gt;SQL&amp;gt; show parameter license_max_sessions&lt;BR&gt;&lt;BR&gt;NAME TYPE VALUE&lt;BR&gt;------------------------------------ ----------- ------------------------------&lt;BR&gt;license_max_sessions integer 5&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;[b]Increase the value of this parameter to say something like 150:[/b]&lt;BR&gt;SQL&amp;gt; alter system set license_max_sessions=150;&lt;BR&gt;System altered.&lt;BR&gt;&lt;BR&gt;[b]Test the connection to the user again:[/b]&lt;BR&gt;SQL&amp;gt; connect ecom/&lt;passWORD&gt;&lt;BR&gt;Connected.&lt;BR&gt;&lt;BR&gt;That's all folks.&lt;BR&gt;&lt;BR&gt;This is just to immediately fix your problem. You need to take a look in depth at your environment and set the appropriate value. Oracle do***entation states that:&lt;BR&gt;&lt;BR&gt;[i]LICENSE_MAX_SESSIONS specifies the maximum number of concurrent user sessions allowed. When this limit is reached, only users with the RESTRICTED SESSION privilege can connect to the database. Users who are not able to connect receive a warning message indicating that the system has reached maximum capacity.&lt;BR&gt;&lt;BR&gt;A zero value indicates that concurrent usage (session) licensing is not enforced. If you set this parameter to a nonzero number, you might also want to set LICENSE_SESSIONS_WARNING (see "LICENSE_SESSIONS_WARNING").&lt;BR&gt;&lt;BR&gt;Do not enable both concurrent usage licensing and user licensing. Set either LICENSE_MAX_SESSIONS or LICENSE_MAX_USERS to zero.[/i]&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;I hope this topic helps.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;</description><pubDate>Thu, 05 Mar 2009 11:06:44 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00020: maximum number of processes (%s) exceeded ora error</title><link>http://www.franklinfaces.com/Topic95-54-1.aspx</link><description>00020, 00000, "maximum number of processes (%s) exceeded"&lt;BR&gt;// *Cause: All process state objects are in use.&lt;BR&gt;// *Action: Increase the value of the PROCESSES initialization parameter.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;What this means is that you have too many database connections. It also means that you as a DBA cannot connect internal to do something about it! When you try to connect to 'sys as sysdba' it gets you to the SQL prompt but you won't be able to do anything.&lt;BR&gt;&lt;BR&gt;Here's a couple of things you can do to fix this: &lt;BR&gt;* You need to ask a couple of users to log out of the database, or &lt;BR&gt;* You need to kill some sessions at the OS level.&lt;BR&gt;&lt;BR&gt;Once you managed to connect after some sessions have been cleared, see if you can spot anything unordinary making abnormal numbers of connections. If you can't find anything directly you'll need to increase the init parameter 'processes'. Unfortunately, this will require a restart of the database to take effect in some cases where spfile is not used.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; show parameter processes&lt;BR&gt;&lt;BR&gt;NAME TYPE VALUE&lt;BR&gt;------------------------------------ ----------- ------------------------------&lt;BR&gt;processes integer 100&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; select count(*) from v$process;&lt;BR&gt;&lt;BR&gt;COUNT(*)&lt;BR&gt;----------&lt;BR&gt;94&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; alter system set processes=500 scope=spfile;&lt;BR&gt;&lt;BR&gt;System altered.&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; shutdown immediate&lt;BR&gt;Database closed.&lt;BR&gt;Database dismounted.&lt;BR&gt;ORACLE instance shut down.&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; startup&lt;BR&gt;ORACLE instance started.&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; show parameter processes&lt;BR&gt;&lt;BR&gt;NAME TYPE VALUE&lt;BR&gt;------------------------------------ ----------- ------------------------------&lt;BR&gt;processes integer 500&lt;BR&gt;&lt;BR&gt;In my case I had 94 processes which about 5 of them got cleaned up which allowed me to login. The maximum processes alllowed in the db is 1 - the max init parameter called processes. So if you set your parameter to be 100 then max that can login is 99.&lt;BR&gt;&lt;BR&gt;When you reach this you can occasionally get a TNS ora error connecting via TNS when the database is out of processes:&lt;BR&gt;&lt;BR&gt;ORA-12516: TNS:LISTENER could not find available handler with matching protocol stack&lt;BR&gt;&lt;BR&gt;This is another indication that possible max processes have been reached.&lt;BR&gt;&lt;BR&gt;</description><pubDate>Fri, 27 Feb 2009 14:36:01 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-00903: invalid table name</title><link>http://www.franklinfaces.com/Topic93-54-1.aspx</link><description>00903, 00000, "invalid table name"&lt;BR&gt;// *Cause:&lt;BR&gt;// *Action:&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;This is very simple ora error to tackle. Infact, the cause maybe that you tried to execute an SQL statement that included an invalid table name or the table name does not exist. Revisit your sql statement.&lt;BR&gt;&lt;BR&gt;Sometimes when you login as sys and create a table, you don't realize it but you ended up creating a table in the sys schema. Majority of the time, you want to make sure the schema name is entered:&lt;BR&gt;&lt;BR&gt;[b]Example:[/b]&lt;BR&gt;select * from inv.customer;&lt;BR&gt;&lt;BR&gt;In many other cases you tend to copy and paste and you didn't realize that the word from got copied too and type it in again:&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; select * from FROM;&lt;BR&gt;select * from FROM&lt;BR&gt;*&lt;BR&gt;ERROR at line 1:&lt;BR&gt;ORA-00903: invalid table name&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Also there are ORACLE reserved words that you cannot use as a table name. Check to see if you are trying to create or select from something that doesn't exist because it's a reserved word. Here are some guidelines:&lt;BR&gt;&lt;BR&gt;•The valid table name must be less than or equal to 30 characters.&lt;BR&gt;&lt;BR&gt;•The table or cluster name must begin with a letter and may contain only alphanumeric characters and the special characters $, _, and #.&lt;BR&gt;&lt;BR&gt;•The table name cannot be a reserved word.&lt;BR&gt;&lt;BR&gt;Hope this helps.&lt;BR&gt;</description><pubDate>Fri, 27 Feb 2009 13:59:46 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>Oracle/PLSQL: ORA-06508 ora Error</title><link>http://www.franklinfaces.com/Topic86-54-1.aspx</link><description>Recently we did an upgrade from 9.2 to 10g. After the upgrade we started seeing intermittent ORA-06508 along with ORA-06512 ora error codes.&lt;BR&gt;&lt;BR&gt;We know everywhere we saw it shows the following:&lt;BR&gt;We even opened up the TAR to find out what was going on back then and they weren't able to help at the time.&lt;BR&gt;&lt;BR&gt;Error:&lt;BR&gt;ORA-06508: PL/SQL: could not find program unit being called&lt;BR&gt;&lt;BR&gt;Cause:&lt;BR&gt;You tried to call a stored procedure, but the stored procedure could not be found.&lt;BR&gt;&lt;BR&gt;Action:&lt;BR&gt;The options to resolve this Oracle error are:&lt;BR&gt;&lt;BR&gt;1. The stored procedure may have been dropped. Try re-creating the stored procedure.&lt;BR&gt;2. The stored procedure may have compiled with errors. Try fixing the errors and re-compiling.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;After doing some research and even search metalink we came across a solution from the oracle do***entation.&lt;BR&gt;&lt;BR&gt;To resolve it you have to follow these steps:&lt;BR&gt;&lt;BR&gt;Shutdown your oracle database.&lt;BR&gt;Startup in migrate mode (9i) or upgrade mode(10g).&lt;BR&gt;&lt;BR&gt;Then Run the following script:&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; @?/rdbms/admin/utlirp&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;The utlirp script is in the $ORACLE_HOME/rdbms/admin directory.&lt;BR&gt;&lt;BR&gt;Restart the database in normal and continue the activity. If any invalid objects still exist in the database, please also run:&lt;BR&gt;&lt;BR&gt;SQL&amp;gt; @?/rdbms/admin/utlrp&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;This operation should be done because utlirp recompiles the plsql objects and set their status to the status of the current release.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Hope this helps. Now this is all do***ented in metalink : 370137.1 for those of you that have metalink accounts and for those that don't. Stick around&lt;BR&gt;so we can help you in many other ways without having to pay.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Thanks,</description><pubDate>Thu, 19 Feb 2009 16:47:11 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01114 and  ORA-27063 ora error code</title><link>http://www.franklinfaces.com/Topic31-54-1.aspx</link><description>You will see following ora error :&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#117777&gt;&lt;FONT color=#555511&gt;ORA-01114: IO error writing block to file &lt;FONT color=#1111ff&gt;202&lt;/FONT&gt; (block # 458633)&lt;BR&gt;ORA-27063: skgfospo: number of bytes read/written is incorrect&lt;BR&gt;SVR4 Error: 28: No space left on device&lt;BR&gt;Additional information: -1&lt;BR&gt;Additional information: 122880&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;or&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#555511&gt;ORA-01114: IO error writing block to file &lt;FONT color=#1111ff&gt;202&lt;/FONT&gt; (block # 458633)&lt;BR&gt;ORA-27063: skgfospo: number of bytes read/written is incorrect&lt;BR&gt;SVR4 Error: 28: No space left on device&lt;BR&gt;Additional information: -1&lt;BR&gt;Additional information: 122880&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;This means that a datafile cannot extend anymore because a disk (or mount point / raw device / or any storage device) is full.&lt;BR&gt;&lt;BR&gt;Specifically, the high numbering of the file (in blue), refers to a temporary file.&lt;BR&gt;&lt;BR&gt;If the number is in the range between 1 - DB_FILES, where DB_FILES is an initialization parameter whose value can be retrieved either with:&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#555511&gt;select * from v$parameter&lt;BR&gt;where name = 'db_files';&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;or in SQL*Plus with&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#555511&gt;show parameter db_files&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;This means that we are talking of an ordinary datafile.&lt;BR&gt;&lt;BR&gt;In this case DB_FILES was set to 200, which means that 202 refers to a temporary file and tempfiles are numbered starting from DB_FILES + 1.&lt;BR&gt;&lt;BR&gt;If the temporary file is set to AUTOEXTEND ON, then the root cause of the problem can be a huge query on a view requiring a big sort operation or the insertion of lots of rows into a temporary table that made the temporary tablespace grow larger than usual until all the space on the device was used up.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;One of things you want to do is check if temporary files are not sitting in the same filesystem as your datafiles. If you see this, then take the necessary steps to drop the tempfiles from the shared location and put them all in a single filesystem separate from the datafiles. Make sure that you have enough filesystem space on the new filesystem where the temp files will reside. Of course this is application dependant. &lt;BR&gt;</description><pubDate>Thu, 01 Jan 2009 07:09:23 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-01652: unable to extend temp segment by 64 in tablespace TEMP</title><link>http://www.franklinfaces.com/Topic63-54-1.aspx</link><description>Hi,&lt;BR&gt;&lt;BR&gt;Anyone can help on this issue. I have a procedure in this procedure one statement&lt;BR&gt;&lt;BR&gt;INSERT INTO prod.temp select * from .........&lt;BR&gt;&lt;BR&gt;This statement is giving the unable to extend temp segment by 64 in tablespace TEMP error.&lt;BR&gt;&lt;BR&gt;This is a big query and when we run that procedure in development and testing environment it's running fine but in staging database it's given the trouble.</description><pubDate>Sun, 18 Jan 2009 10:24:38 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-06502 during a procedure which uses Bulk collect feature and nested tab</title><link>http://www.franklinfaces.com/Topic61-54-1.aspx</link><description>Hello Friends,&lt;BR&gt;&lt;BR&gt;I have created one procedure which uses Bulk collect and nested table to hold the bulk data. This procedure was using one cursor and a nested table with the same type as the cursor to hold data fetched from cursor. Bulk collection technique was used to collect data from cursor to nested table. But it is giving ORA-06502 ora error.&lt;BR&gt;&lt;BR&gt;I reduced code of procedure to following to trace the error point. But still the ora error is coming. Please help us to find the cause and solve it.&lt;BR&gt;&lt;BR&gt;Script which is giving error:&lt;BR&gt;declare&lt;BR&gt;v_Errorflag BINARY_INTEGER;&lt;BR&gt;v_flag number := 1;&lt;BR&gt;CURSOR cur_terminal_info Is&lt;BR&gt;SELECT distinct&lt;BR&gt;'a' SettlementType&lt;BR&gt;FROM&lt;BR&gt;dual;&lt;BR&gt;TYPE typ_cur_terminal IS TABLE OF cur_terminal_info%ROWTYPE;&lt;BR&gt;Tab_Terminal_info typ_cur_Terminal;&lt;BR&gt;BEGIN&lt;BR&gt;v_Errorflag := 2;&lt;BR&gt;OPEN cur_terminal_info;&lt;BR&gt;LOOP&lt;BR&gt;v_Errorflag := 4;&lt;BR&gt;FETCH cur_terminal_info BULK COLLECT INTO tab_terminal_info LIMIT 300;&lt;BR&gt;EXIT WHEN cur_terminal_info%rowcount &amp;lt;= 0;&lt;BR&gt;v_Errorflag := 5;&lt;BR&gt;FOR Y IN Tab_Terminal_Info.FIRST..tab_terminal_info.LAST&lt;BR&gt;LOOP&lt;BR&gt;dbms_output.put_line(v_flag);&lt;BR&gt;v_flag := v_flag + 1;&lt;BR&gt;end loop;&lt;BR&gt;END LOOP;&lt;BR&gt;v_Errorflag := 13;&lt;BR&gt;COMMIT;&lt;BR&gt;END;&lt;BR&gt;&lt;BR&gt;I have updated script as following to change datatype as varchar2 for nested table, but still same error is&lt;BR&gt;comming..&lt;BR&gt;&lt;BR&gt;declare&lt;BR&gt;v_Errorflag BINARY_INTEGER;&lt;BR&gt;v_flag number := 1;&lt;BR&gt;CURSOR cur_terminal_info Is&lt;BR&gt;SELECT distinct&lt;BR&gt;'a' SettlementType&lt;BR&gt;FROM&lt;BR&gt;dual;&lt;BR&gt;TYPE typ_cur_terminal IS TABLE OF varchar2(50);&lt;BR&gt;Tab_Terminal_info typ_cur_Terminal;&lt;BR&gt;BEGIN&lt;BR&gt;v_Errorflag := 2;&lt;BR&gt;OPEN cur_terminal_info;&lt;BR&gt;LOOP&lt;BR&gt;v_Errorflag := 4;&lt;BR&gt;FETCH cur_terminal_info BULK COLLECT INTO tab_terminal_info LIMIT 300;&lt;BR&gt;EXIT WHEN cur_terminal_info%rowcount &amp;lt;= 0;&lt;BR&gt;v_Errorflag := 5;&lt;BR&gt;FOR Y IN Tab_Terminal_Info.FIRST..tab_terminal_info.LAST&lt;BR&gt;LOOP&lt;BR&gt;dbms_output.put_line(v_flag);&lt;BR&gt;v_flag := v_flag + 1;&lt;BR&gt;end loop;&lt;BR&gt;END LOOP;&lt;BR&gt;v_Errorflag := 13;&lt;BR&gt;COMMIT;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;I could not find the exact reason of error.&lt;BR&gt;Please help us to solve this error.&lt;BR&gt;&lt;BR&gt;Thanks and Regards..</description><pubDate>Sun, 18 Jan 2009 10:18:31 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>