Ora-00604 error while taking tkprof of a trace file
Sorry i am giving the full erro but omitting exact table names
Hi ,
I have an error while taking tkprof of a trace file.
I gave the following command ---
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela explain= /
error is --
Error in create table of EXPLAIN PLAN table : unix_session_user.prof$paln_table
ORA-00604: error occurred at recursive SQL level 1
ORA-20001: Step-6:DDL
Event Security. You are not permitted to perform the requested structural
changes to PROF (TABLE)
Event triggered : CREATE
ora_login_user
(session_user) : unix_session_user(dummy)
Search : select count(*) from
tabl(dummy table name) where obj_name like '%\%%' escape '\' and obj_type =
'TABLE' and obj_type = 'USER' and ( event_CREATE = 'Y' or status =
'Override')
ORA-06512: at line 162
ORA-06510: PL/SQL: unhandled
user-defined exception
EXPLAIN PLAN option disabled.
i searched for the error and in oracle forum i found a solution .. http://forums.oracle.com/forums/thread.jspa?threadID=844287&tstart=0
but after giving the table option it is giving the same error
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=old_schema.plan_table explain= /
it again gave the same error.
In both two cases it gives elapsed time results,library cache missing etc but before giving this it throws ORA-00604 error as stated above
then i again correct the tkprof statement ..
tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=new_schema.plan_table explain= /
say this schema name here i used is dummy schema name.
My question is did this error came as we had not sufficient previlages in the old_schema but that previleges we have in new_schema?
My databse version is 9.2.0.4.0
Thanks in advance
Edited by: bp on Feb 3, 2009 11:36 PM
Edited by: bp on Feb 3, 2009 11:40 PM
Please post here full error message, there should be lines with ORA-00604 and then some other ORA as well.
And are there any trace files generated during this error?
And as You can see from error description, probably You will have to contact with Oracle support in order to solve this case:
oerr ora 00604
00604, 00000, "error occurred at recursive SQL level %s"
// *Cause: An error occurred while processing a recursive SQL statement
// (a statement applying to internal dictionary tables).
// *Action: If the situation described in the next error on the stack
// can be corrected, do so; otherwise contact Oracle Support.
Similar Messages
-
Ora-00604 error while runing script
Hi Guys..
Let me describe the environment
My OS is windows 2008 R2 server 64-bit.. Database version is Oracle 11gR2
I recently upgraded the oracle DB from 11gr1 to 11gr2 .It upgraded successfully without any errors and the updated DB on 11gr2 is working fine..
Now one of the employee is getting below errror while executing a script which calles a plsql package.
ORA-00604: error occurred at recursive SQL level 1
ORA-00001: unique constraint (SYS.I_PLSCOPE_SIG_IDENTIFIER$) violated
I googled around and found that its related to plscope_settings parameter..
select name,value from v$parameter where name = 'plscope_settings';
the output was IDENTIFIERS:NONE
Further investigations revealed that my DB is running with the (default) init-parameter “plscope_settings=IDENTIFIERS:NONE”, while my SQL-Developer (v3.0) started every session with the default-setting “plscope_settings=IDENTIFIERS:ALL” (see menu EXTRAS>PREFERENCES>DATABASE>PL/SQL-COMPILER).
so i changed the settings to NONE in Sql Developer too..then recompiled the package but the error is still there when i execute the same package..
Its high time..i need to resolve it over the weekend..so can u plz share ur valuable comments..
Let me if u want any info from my end so that u get more clearer about the prob...sai121 wrote:
Hi Guys..
Let me describe the environment
My OS is windows 2008 R2 server 64-bit.. Database version is Oracle 11gR2
I recently upgraded the oracle DB from 11gr1 to 11gr2 .It upgraded successfully without any errors and the updated DB on 11gr2 is working fine..
Now one of the employee is getting below errror while executing a script which calles a plsql package.
ORA-00604: error occurred at recursive SQL level 1
ORA-00001: unique constraint (SYS.I_PLSCOPE_SIG_IDENTIFIER$) violated
I googled around and found that its related to plscope_settings parameter..
select name,value from v$parameter where name = 'plscope_settings';
the output was IDENTIFIERS:NONE
Further investigations revealed that my DB is running with the (default) init-parameter “plscope_settings=IDENTIFIERS:NONE”, while my SQL-Developer (v3.0) started every session with the default-setting “plscope_settings=IDENTIFIERS:ALL” (see menu EXTRAS>PREFERENCES>DATABASE>PL/SQL-COMPILER).
so i changed the settings to NONE in Sql Developer too..then recompiled the package but the error is still there when i execute the same package..
Its high time..i need to resolve it over the weekend..so can u plz share ur valuable comments..
Let me if u want any info from my end so that u get more clearer about the prob...
bcm@bcm-laptop:~$ oerr ora 1
00001, 00000, "unique constraint (%s.%s) violated"
// *Cause: 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.
// *Action: Either remove the unique restriction or do not insert the key. -
ORA-12514 Error, While taking offline Rman backup
Hi Experts,
I have scheduled Rman offline backup job. Scheduled the following commands to run in a batch file(Win 2003 server)
I am getting the below error.
When we use shut down abort, do we need to restart the Listener?
Please help me on this issue.
I am using oracle 10.2.0.4.0 on Windows 2003 server
Shutdown Abort;
Startup Mount;
SQL 'Alter System Enable Restricted Session';
SQL 'Alter Database Open';
Shutdown Immediate;
Startup Mount;
Backup database;
Backup Current controlfile;
SQL 'Alter Database Open';
SQL 'Alter System Disable Restricted Session';
SQL 'Create Pfile from Spfile';
Exit;
Recovery Manager: Release 10.2.0.4.0 - Production on Tue Mar 3 03:12:56 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: xxxxx(DBID=524614998)
using target database control file instead of recovery catalog
RMAN> Shutdown Abort;
2> Startup Mount;
3> SQL 'Alter System Enable Restricted Session';
4> SQL 'Alter Database Open';
5> Shutdown Immediate;
6> Startup Mount;
7> Backup database;
8> Backup Current controlfile;
9> SQL 'Alter Database Open';
10> SQL 'Alter System Disable Restricted Session';
11> SQL 'Create Pfile from Spfile';
12> Exit;
Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 03/03/2009 03:13:01
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Recovery Manager complete.NAME TYPE VALUE
Thanks for the quick reply, Please see below for service_names, listener services and Listener.ora file content.
service_names string QASQL2
C:\>lsnrctl services
LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 03-MAR-2009 05:02:26
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxqasql2.domain.abcd-xyz.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "QASQL2XDB" has 1 instance(s).
Instance "qasql2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: xxxQASQL2, pid: 5240>
(ADDRESS=(PROTOCOL=tcp)(HOST=xxxqasql2.domain.abcd-xyz.com)(PORT=2528
Service "QASQL2_XPT" has 1 instance(s).
Instance "qasql2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:17 refused:0 state:ready
LOCAL SERVER
Service "qasql2" has 1 instance(s).
Instance "qasql2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:17 refused:0 state:ready
LOCAL SERVER
The command completed successfully
C:\>
***********Listener.ora file
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxqasql2.domain.abcd-xyz.com)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCPS)(HOST = xxxqasql2.domain.abcd-xyz.com)(PORT = 2484))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
Thanks -
Ora-00604 error and ora 01000 error while report generation.
hi all,
I am trying to generate the multiple reports of same template through a program.
While this job is running, i get the following error at the BIP console and the reports don't get generated.
[101711_044115578][][EXCEPTION] java.sql.SQLException: ORA-00604: error occurred
at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-01000: maximum open cursors exceeded
Kindly help.
Thanks.Lots of resources with a simple search to see what this is about, for example:
http://www.orafaq.com/wiki/ORA-01000
ORA-01000: maximum open cursors exceeded
Cause: A host language program attempted to open too many cursors. The initialization parameter OPEN_CURSORS determines the maximum number of cursors per user.
Action: Modify the program to use fewer cursors. If this error occurs often, shut down Oracle, increase the value of OPEN_CURSORS, and then restart Oracle.
open_cursors parameter
http://download.oracle.com/docs/cd/E11882_01/server.112/e25513/initparams160.htm#REFRN10137
Oracle support note:
OERR: ORA-1000 maximum open cursors exceeded (Doc ID 18591.1) -
Ora-00604,ora-01422 error while dropping the table
Hi gurus,
I am using Oracle 10g R2 on windows 2000 platform,while dropping the table the following error occured.
ORA-00604 : error occurred at recursive sql level 1.
ORA-01422: exact fetch returns more than requested number of rows.
Need urgent help.
Thanks in advanceIs there an AFTER EVENT trigger defined on this database? Can you check that?
Secondly, was this database migrated from earlier version? I remember having seen this problem on 9i (it was 9.2.0.1 or 9.2.0.2; I can't recall exactly). -
ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone
Hi
I'm trying to config my base_domain for SOA11g but i'm getting the following error when connecting to my Oracle XE DB to configure SOA,
please help thanks
Software installed
OS: Windows 7 64bit
DB: Oracle XE 10g
Oracle SOA 11.1.1.4.0
Oracle RCU 11.1.1.4.0
Oracle wls1034_generic
Error Detials
Component Schema=SOA Infrastructure
Driver=oracle.jdbc.xa.client.OracleXADataSource
URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
User=DEV_SOAINFRA
Password=********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.4.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=User Messaging Service
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
User=DEV_ORASDPM
Password=********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.2.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=OWSM MDS Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
User=DEV_MDS
Password=********
SQL Test=select 1 from schema_version_registry where
owner=(select user from dual) and mr_type='MDS' and
version='11.1.1.4.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=SOA MDS Schema
Driver=oracle.jdbc.OracleDriver
URL=jdbc:oracle:thin:@127.0.0.1:1521/XE
User=DEV_MDS
Password=********
SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.4.0'
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
CFGFWK-60850: Test Failed!
Component Schema=OSB JMS Reporting Provider
Driver=org.apache.derby.jdbc.ClientDriver
URL=jdbc:derby://127.0.0.1:1521/XE;create=true;ServerName=127.0.0.1;databaseName=XE
User=DEV_SOAINFRA
Password=********
SQL Test=SELECT 1 FROM SYS.SYSTABLES
Insufficient data while reading from the network - expected a minimum of 6 bytes and received only 0 bytes. The connection has been terminated.
CFGFWK-60850: Test Failed!Hi,
Please check the timezone set in your server where Weblogic is installed. Also ensure the timezone on which your weblogic is running, the same is present in in database by querying V$TIMEZONE_NAMES table. If it is not present then please change the timezone of the server. then try to execute the steps what you are doing, it will not throw any error.
if this helps please mark.
Thanks,
Kishore -
ORA-00604: error occurred at recursive SQL level 1
Hi,
i have a view as source (DB2)
Target table in Oracle with the same structure
when i view data from the view all the records are listed.
after mapping the source and target source gets fail while debuging (test data)
and also while deploying the mapping i get the following error.
Anyone knows about the following errors
ACBLODS_MAP
Create
Warning
ORA-06550: line 0, column 0:
ORA-04052: error occurred when looking up remote object [email protected]@DB2_KAPIL_LOCATION
ORA-00604: error occurred at recursive SQL level 1
ORA-28500: connection from ORACLE to a non-Oracle system returned this
please someone help me to solve this
thanks in advance
regards
rajaI had a simular problem with progress. If the progress table had to many columns
OWB was failing. The problem was the ODBC driver used to make a connection to PROGRESS. -
Ora-00604:error occurred at recursive SQL level 1 and Ora-04023
hi all
i am using oracle linux 5.5 and oracle Database 11g R2 while shutingdown the database i am getting
the following errors.
SQL> shutdown immediate;
Ora-00604:error occurred at recursive SQL level 1
Ora-04023: object select count(*) from reg$SQL>plz can anyone help me out?Couple of questions related to this issue:
1.Is there anything in alert log. Post last 50 lines from alert log.
2.Is there any trace / log generated by Oracle ?
3.What is Memory_Target parameter value ?
4.What is value of statistics_level parameter ?
5.Did you perform any failed upgradation ?
6.Are there any invalid objects in database ?
Generally ORA-00604 is related to insufficient size of shared pool. Now, i am googling how to get a proper value of shared pool size ? I got that there is a view v$shared_pool_advice which will tell me the answer of this question. Ok, it means now question is how do i get the proper value of shared pool from v$shared_pool_advice; i mean how do i interpret this v$shared_pool_advice view ?
No problem docs are there to answer this question : (How i got this link ? Open a new page---http://tahiti.oracle.com---selected 11.2 docs--in the left hand sided there is a search text box i entered v$shared_pool_advice and i got couple of links)
http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/dynviews_3037.htm#REFRN30239
I will read these links and now i will query this and DBA_HIST_SHARED_POOL_ADVICE views, interpret the values. Ok, but what about my original question i.e. ORA-00604 and 4023 ? If i am at this stage, understood all the values, it means now i can understand the meaning / sense of resizing of shared pool.
ALTER SYSTEM SET statistics_level=TYPICAL SCOPE=SPFILE;
You can monitor V$SGA_RESIZE_OPS to identify the range of values that Oracle is automatically resizing the DB_CACHE_SIZE and SHARED_POOL_SIZE components to. Then, pick an appropriate minimum value based on the range. There's no "magic formula". But V$SGA_RESIZE_OPS shows the sizes that Oracle has been automatically been resizing the SGA components to. The Buffer Cache Advisory section of the AWR report or V$DB_CACHE_ADVICE, V$SHARED_POOL_ADVICE, V$SGA_TARGET_ADVICE and DBA_HIST_SGA_TARGET_ADVICE are views that provide advisory information as well. Hemant @ SGA_MAX_SIZE and SGA_TARGET how to set minimum for pools
So, these are the baby steps if i ever gets ORA-00604 and ORA-04023 on my test database. Do all these and feel free to post the next doubt, i am sure you will get the correct answer.
Regards
Girish Sharma -
ORA-00604: error occurred at recursive SQL level 2
Hello,
I am trying to create a simple table and I am getting a ora error as below.
SQL> create table album(name varchar2(100),image blob);
create table album(name varchar2(100),image blob)
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 2
ORA-01422: exact fetch returns more than requested number of rows
how to resolve this?Any help..
Thanks,
Ranz.Hi,
*@Anurag Tibrewal,*
I followed as per the order od statements you gave. Initially there was no table "ALBUM" when I executed the first 2 statements.
3rd staement i created a table "ALBUM" and then 4th and 5th statement showed that I have a table called "ALBUM".
Now when again I wanted to drop the table I am getting the same error.
SQL> drop table album
2 ;
drop table album
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01422: exact fetch returns more than requested number of rows
*@Jean-Valentin*
I am not finding the trace file for today as i checked the alert log. When i searched for the the error I found the error for March 4. No ora-00604 error from today.
As shown in ALERT LOG.
Thu Mar 04 10:50:41 2010
Errors in file d:\oracle\product\10.2.0\admin\raneeshtest\bdump\*raneeshtest_j000_5976.trc*:
ORA-00604: error occurred at recursive SQL level 1
ORA-04030: out of process memory when trying to allocate 172 bytes (Typecheck,seg:kggfaAllocSeg)
ORA-12012: error on auto execute of job 1
ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
Trace file details:
Dump file d:\oracle\product\10.2.0\admin\raneeshtest\bdump\raneeshtest_j000_5976.trc
Thu Mar 04 10:50:31 2010
ORACLE V10.2.0.3.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Personal Oracle Database 10g Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows NT Version V6.0 Service Pack 1
CPU : 2 - type 586, 2 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:27M/2037M, Ph+PgF:341M/4352M, VA:4M/2047M
Instance name: raneeshtest
Redo thread mounted by this instance: 1
Oracle process number: 15
Windows thread id: 5976, image: ORACLE.EXE (J000)
*** 2010-03-04 10:50:31.224
*** ACTION NAME:() 2010-03-04 10:50:30.276
*** MODULE NAME:() 2010-03-04 10:50:30.195
*** SERVICE NAME:(SYS$USERS) 2010-03-04 10:50:30.195
*** SESSION ID:(137.401) 2010-03-04 10:50:30.195
*********START PLSQL RUNTIME DUMP************
***Got internal error Exception caught in pfrrun() while running PLSQL***
***Got ORA-4030 while running PLSQL***
PACKAGE SYSMAN.MGMT_ADMIN_DATA:
library unit=3416af50 line=128 opcode=117 static link=0 scope=0
FP=3ca31374 PC=30f42000 Page=0 AP=3ca47b2c ST=3ca32778
DL0=3ca46564 GF=3ca465b0 DL1=3ca46584 DPF=3ca465a8 DS=30f421e4
DON library unit variable list instantiation
0 3416af50 3ca465b0 3ca2005c
1
2
3
4
5
6
7
scope frame
2 0
1 3ca31374
package variable address size
0 3ca46698 16
1 3ca466a8 16
2 3ca466b8 16
3 3ca466c8 16
4 3ca466d8 16
5 3ca466e8 20
6 3ca466fc 16
7 3ca4670c 20
8 3ca46720 16
9 3ca46730 4
10 3ca46734 4
11 3ca46738 4
12 3ca4673c 4
13 3ca46740 4
14 3ca46744 4
15 3ca46748 4
16 3ca4674c 4
17 3ca46750 4
18 3ca46754 4
19 3ca46758 4
20 3ca4675c 4
21 3ca46760 20
22 3ca46774 20
23 3ca46788 20
24 3ca4679c 20
25 3ca467b0 4
26 3ca467b4 4
27 3ca467b8 4
28 3ca467bc 4
29 3ca467c0 16
30 3ca467d0 16
31 3ca467e0 8
32 3ca467e8 39
33 3ca46810 39
34 3ca46838 521
35 3ca46a44 521
36 3ca46c50 140
37 3ca46cdc 140
38 3ca46d68 30
39 3ca46d88 30
40 3ca46da8 30
41 3ca46dc8 30
42 3ca46de8 30
43 3ca46e08 30
44 3ca46e28 30
45 3ca46e48 30
46 3ca46e68 30
47 3ca46e88 30
48 3ca46ea8 30
49 3ca46ec8 30
50 3ca46ee8 140
51 3ca46f74 140
52 3ca47000 30
53 3ca47020 30
54 3ca47040 30
55 3ca47060 30
56 3ca47080 39
57 3ca470a8 39
version=43123476 instantiation size=2920
line pcode offset
1 2
4 620
5 632
6 632
7 638
8 644
14 650
29 810
44 970
47 992
48 1000
49 1008
50 1016
51 1024
52 1032
53 1040
54 1048
55 1056
56 1064
57 1072
60 1080
128 1814
196 2548
197 2554
198 2560
199 2566
205 2572
206 2578
438 2584
1 2586
***********END PLSQL RUNTIME DUMP************
*** 2010-03-04 10:50:40.690
ORA-12012: error on auto execute of job 1
ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
*** 2010-03-04 10:50:41.206
ORA-00604: error occurred at recursive SQL level 1
ORA-04030: out of process memory when trying to allocate 172 bytes (Typecheck,seg:kggfaAllocSeg)
ORA-12012: error on auto execute of job 1
ORA-04030: out of process memory when trying to allocate 16428 bytes (pga heap,kgh stack)
SQL> select * from dual;
D
X
SQL>
This is the output. Its returning corredclty. Now what is the problem? Pls help me. -
ORA-00604 error when trying to insert into a XMLTYPE stored as BINARY
Hi. Here's the scenario.
Here's my Oracle version:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
The database is encoded as AL32UTF8.
First I create the table...
create table binary_table (the_field XMLTYPE) XMLTYPE COLUMN the_field STORE AS BINARY XML;
Now I try and do an insert like this...
insert into binary_table values (xmltype('<?xml version="1.0" encoding="AL32UTF8"?>' || chr(10) || '<a>b</a>' || chr(10)));
and I get this error:
SQLState: 60000
ErrorCode: 604
Position: 122
Error: ORA-00604: error occurred at recursive SQL level 1
ORA-00942: table or view does not exist
If I create the table with a CLOB storage option for the XMLTYPE, the insert works fine. If I repeat these steps in another database instance, same Oracle version, that's encoded as WE8ISO8859P1, it also works fine. It behaves the same in several clients. I also tried it with several different values for NLS_LANG and that didn't help.
I do want to say that this database instance has just been set up especially for me so I can do some R&D on AL32UTF8 and XMLTYPE to see if it fits our needs. So it might be a problem with the database instance.
Thanks for taking a look at this.
Ralph
Edited by: stryder100 on Jul 24, 2009 12:11 PMHi,
Use this
Load data
append Into TABLE HS_HRMIG_EMP_PER_20MAR07 fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS.
Here optional enclosed by is for doubles quotes which should needs to place in single quotes.
like '"'.
try with this.
--Basava.S -
ORA-00604: error occurred at recursive SQL level 1 ORA-01003: no statement
Hi ,
we pass Query to ref cursor using with clause and it works fine on oracle Sql but raise an error when called from
ADO.net
for example
create or replace package body abc_details
as
proedure initial (p_refcursor out sys_refcursor)
is
begin
v_sql='with a as (select ..
, b as (select * from table(emppkg.empdetails))
open p_refcursor for v_sql;
end;
with oracle 10g it works fine on Sql prompt and fetches the results but when called from ado.net it
intermitantly fetches and error "ORA-00604: error occurred at recursive SQL level 1 ORA-01003: no statement "
Please suggest
Thanks in advance.wild guess here,
but emppkg.empdetails type look's like a pl/sql type,
while it should be a sql type.
Amiel -
Creating database problem with ORA-01519: error while processing file '' ne
Dear all,
I am having rough time with creating database manually. can anyone help me with the following errors.
ALERT LOGFILE:-
Sun May 31 12:00:39 2009
Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Sun May 31 12:00:39 2009
Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
ORA-01519: error while processing file '' near line
CREATE DATABASE SCRIPT:-
create database ORACLE5
user sys identified by bala
user system identified by bala
logfile
group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
maxlogfiles 5
maxlogmembers 5
maxloghistory 1
maxdatafiles 50
maxinstances 1
datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
character set US7ASCII
NATIONAL CHARACTER SET AL16UTF16
INIT.ORA FILE:-
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Archive
log_archive_format=ARC%S_%R.%T
# Cache and I/O
db_block_size=8192
db_cache_size=25165824
db_file_multiblock_read_count=16
# Cursors and Library Cache
open_cursors=300
# Database Identification
db_domain=""
db_name=oracle5
# Diagnostics and Statistics
background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
# File Configuration
#db_create_file_dest=D:\oracle\product\10.1.0\oradata
db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
db_recovery_file_dest_size=2147483648
# Job Queues
job_queue_processes=10
# Miscellaneous
compatible=10.1.0.2.0
# Pools
java_pool_size=50331648
large_pool_size=8388608
shared_pool_size=83886080
# Processes and Sessions
processes=150
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# Shared Server
dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
# Sort, Hash Joins, Bitmap Indexes
pga_aggregate_target=25165824
sort_area_size=65536
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_tablespace=UNDOTBS1
control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")Hi,
undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
Bartek -
I receive the following error by creating dataabse as below sql:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file '/sisdev04/dbs/users01.dbf'
ORA-27039: create file failed, file size limit reached
Additional information: 1
CREATE DATABASE SISDEV04
LOGFILE GROUP 1 ('/sisdev04/dbs/log01a.dbf','/sisdev04/dbs/log01b.dbf') SIZE 10M,
GROUP 2 ('/sisdev04/dbs/log02a.dbf','/sisdev04/dbs/log02b.dbf') SIZE 10M
NOARCHIVELOG
CHARACTER SET ZHT16BIG5
NATIONAL CHARACTER SET ZHT16BIG5
DATAFILE '/sisdev04/dbs/system01.dbf'
SIZE 210M AUTOEXTEND OFF
, '/sisdev04/dbs/rbs01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/temp01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/users01.dbf'
SIZE 1050M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_index_ivr01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_ivr01.dbf'
SIZE 21M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_ems01.dbf'
SIZE 21M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_index_ems01.dbf'
SIZE 21M AUTOEXTEND OFF
I have issue df to check the directory sisuat04
/ >df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 98304 45664 54% 2446 10% /
/dev/hd2 2097152 78992 97% 30280 12% /usr
/dev/hd9var 65536 20536 69% 308 4% /var
/dev/hd3 294912 262432 12% 147 1% /tmp
/dev/hd1 49152 5712 89% 1290 21% /home
/dev/mfcobol 81920 25520 69% 608 6% /mfcobol
/dev/magiclv 81920 22304 73% 346 4% /usr/magic
/dev/sispro02lv 6553600 6347792 4% 18 1% /sisdev02
/dev/sispro03lv 6553600 6347784 4% 19 1% /sisdev03
/dev/sisappllv 229376 173288 25% 1846 7% /sisappl
/dev/lvbaklog 98304 85552 13% 68 1% /app/bak_log
/dev/noteslv0 1048576 541352 49% 2195 2% /notes
/dev/noteslv1 4194304 1479304 65% 5269 2% /notesrv
/dev/noteslv2 2097152 898128 58% 51 1% /notesrv/sitesch
/dev/lvoracle 2097152 237240 89% 8280 4% /opt/oracle
/dev/u01lv 4194304 128720 97% 11697 3% /u01
/dev/sisdev01lv 4096000 3021552 27% 27 1% /sisdev04
Is is still a not enough space problem?I receive the following error by creating dataabse as below sql:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file '/sisdev04/dbs/users01.dbf'
ORA-27039: create file failed, file size limit reached
Additional information: 1
CREATE DATABASE SISDEV04
LOGFILE GROUP 1 ('/sisdev04/dbs/log01a.dbf','/sisdev04/dbs/log01b.dbf') SIZE 10M,
GROUP 2 ('/sisdev04/dbs/log02a.dbf','/sisdev04/dbs/log02b.dbf') SIZE 10M
NOARCHIVELOG
CHARACTER SET ZHT16BIG5
NATIONAL CHARACTER SET ZHT16BIG5
DATAFILE '/sisdev04/dbs/system01.dbf'
SIZE 210M AUTOEXTEND OFF
, '/sisdev04/dbs/rbs01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/temp01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/users01.dbf'
SIZE 1050M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_index_ivr01.dbf'
SIZE 105M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_ivr01.dbf'
SIZE 21M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_ems01.dbf'
SIZE 21M AUTOEXTEND OFF
, '/sisdev04/dbs/ts_index_ems01.dbf'
SIZE 21M AUTOEXTEND OFF
I have issue df to check the directory sisuat04
/ >df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 98304 45664 54% 2446 10% /
/dev/hd2 2097152 78992 97% 30280 12% /usr
/dev/hd9var 65536 20536 69% 308 4% /var
/dev/hd3 294912 262432 12% 147 1% /tmp
/dev/hd1 49152 5712 89% 1290 21% /home
/dev/mfcobol 81920 25520 69% 608 6% /mfcobol
/dev/magiclv 81920 22304 73% 346 4% /usr/magic
/dev/sispro02lv 6553600 6347792 4% 18 1% /sisdev02
/dev/sispro03lv 6553600 6347784 4% 19 1% /sisdev03
/dev/sisappllv 229376 173288 25% 1846 7% /sisappl
/dev/lvbaklog 98304 85552 13% 68 1% /app/bak_log
/dev/noteslv0 1048576 541352 49% 2195 2% /notes
/dev/noteslv1 4194304 1479304 65% 5269 2% /notesrv
/dev/noteslv2 2097152 898128 58% 51 1% /notesrv/sitesch
/dev/lvoracle 2097152 237240 89% 8280 4% /opt/oracle
/dev/u01lv 4194304 128720 97% 11697 3% /u01
/dev/sisdev01lv 4096000 3021552 27% 27 1% /sisdev04
Is is still a not enough space problem? i think you have specified 1050m for users01.dbf file, your file system /sisdev04 has something like
1.5gb of free space. it failed because of lack of free space. may be you can reduce your datafile size or try to
create in another filesystem. -
ORA-2002 : error while writing to audit trail
Hi all ,
I am oracle 11g and on SPARC OS.
I enabled audit in my database by setting the parameter audit_trail=DB and then i restarted my instance.
On doing so the database started but whenever i am trying to connect using pl/sql developer , i am getting the following list of errors :
ORA-00604 : error occured at recursive SQL level 1
ora-00904 : "DBID" invalid identifier
Ora-02002 : error while writing to audit trail
ORA-00604 : error occured at recursive SQL level 1
ora-00904 : "DBID" invalid identifier
I checked on the net for ora-02002 and increased the size of the system tablespace from 750 M to 1000M.
My system tablespace is dictionary managed.
bounced the database also , but still getting the same errors.
please help
regards
KKukreja
Edited by: ~JuniorDBA~ on Dec 20, 2010 8:59 PMHi Nicolas,
here is the output
SQL> desc sys.aud$
Name Null? Type
SESSIONID NOT NULL NUMBER
ENTRYID NOT NULL NUMBER
STATEMENT NOT NULL NUMBER
TIMESTAMP# DATE
USERID VARCHAR2(30)
USERHOST VARCHAR2(128)
TERMINAL VARCHAR2(255)
ACTION# NOT NULL NUMBER
RETURNCODE NOT NULL NUMBER
OBJ$CREATOR VARCHAR2(30)
OBJ$NAME VARCHAR2(128)
AUTH$PRIVILEGES VARCHAR2(16)
AUTH$GRANTEE VARCHAR2(30)
NEW$OWNER VARCHAR2(30)
NEW$NAME VARCHAR2(128)
SES$ACTIONS VARCHAR2(19)
SES$TID NUMBER
LOGOFF$LREAD NUMBER
LOGOFF$PREAD NUMBER
LOGOFF$LWRITE NUMBER
LOGOFF$DEAD NUMBER
LOGOFF$TIME DATE
COMMENT$TEXT VARCHAR2(4000)
CLIENTID VARCHAR2(64)
SPARE1 VARCHAR2(255)
SPARE2 NUMBER
OBJ$LABEL RAW(255)
SES$LABEL RAW(255)
PRIV$USED NUMBER
SESSIONCPU NUMBERsince i took over the database , no one did anything ... i only truncated the aud$ table today.
But while going through the files i came across a SQL file that had this content :
more move_audit.sql
create table system.aud$
tablespace AUD_TSP
as select * from aud$;
create index system.i_aud1 on system.aud$(sessionid, ses$tid);
rename aud$ to aud$_temp;
create view aud$ as
select * from system.aud$;
connect system/XXXXX
grant all on aud$ to sys with grant option;
grant delete on aud$ to delete_catalog_role;Now I am not sure what has happened and who has done what,but when i checked on TOAD, system tablespace had aud$ table and there was no table in tablespace AUD_TSP.
thanks and regards
Kkukreja
Edited by: ~JuniorDBA~ on Dec 21, 2010 12:55 AM -
ORA-27092 Error while executing any query from client
Hello
I am getting following error while executing any query from client remotly.
IAMDBA@TEST_OAT.ABCD > select userid from dual;
select userid from dual
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/u01/prod/system/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 286209
But while local connection,its working.hi,
ulimit command- Limit user resources
su - oracle
ulimit -n (this command will show you the current value for ulimit the default value is 1024)
to increase its value:---
ulimit -n <some value> ( this command will change value for current session only)
example
ulimit -n 101062
once done check the value as:--
ulimit -n( for verification)
search in google for more explanation or revert back to me for any suggestions.... :)
Edited by: varun4dba on Jan 31, 2011 4:09 PM
Maybe you are looking for
-
I am running Windows 7 64bit. I downloaded the latest version of iTunes and ran the installer. This message pops up, I click OK and the installation continues. Then, when I try to launch iTunes I get this: "iTunes was not installed correctly. Please
-
Files don't play smoothly when exporting from Final Cut Pro
Hello, I have this strange problem that's haunting me for weeks (well months now)... I've made some videos, shot with a HD-camera (Sony, HDV HDR-FX1E (PAL)), 1080i), and I want to export it to the apple TV. The problem is that the videos on the apple
-
Is there no pre-sign button on the Apple Watch shipping notification
I have received the shipping notification email from Apple. It says the shipment requires a signature. The usual "Pre-sign for this shipment" button is missing. Is there no way to leave a signature for UPS delivery of an APPLE WATCH? I have always
-
I've upgraded SAP from 2007B PL:10 to 8.8 PL:16. But during AP Invoice creation the system shows "Object Reference not set to an instance of an object" This error comes for the creditors whose Withholding Tax is checked. Can anyone plz guide me the
-
Hi, I have discovered an interesting problem with the MouseMotionListener class. I have a window, say, a frame and in that I have a MouseMotionListener added to it. Now, in the MouseMoving method, I just print out the X and Y on the frame. Simple. Ho