Apex_collection.create_collection_from_query, dbms_Sql and ORA-29470 on 11g
Hi there,
I was very happy to know that you can pass a DBMS_SQL cursor to the procedure apex_collection.create_collection_from_query but my contentment lasted only until I actually tried it.
I am using Apex 4.0.2.00.06 on DB 11.1.0.7.0 and when I tried to run a simple page based on it I got:
ORA-20104: create_collection_from_query Error:
ORA-20104: create_collection_from_query ExecErr:
ORA-29470: Effective userid or roles are not the same as when cursor was parsedThis post explains the reason why:
11g Security Error: wwv_flow_collection.create_collection_from_query_b
As it is an old post which doesn't mention the Apex version, I was wondering if there have been any new workarounds for this issue?
If not, does it mean that functionality is useless in 11g? What about people that for one reason or another has been using it (not my case fortunately)?
Thanks
Luis
Luis,
for your example in the other post it isn't necessary to use a cursor, but you can use a SQL Statement in a String like this
APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY
( p_collection_name => 'MY_NEW_COLLECTION'
, p_query =>
' SELECT EXTRACTVALUE
( VALUE(USERXML)
, ''/User/Mail''
, ''xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" ''
FROM APEX_COLLECTIONS COLL
, TABLE
( XMLSEQUENCE
( EXTRACT
( XMLTYPE.createXML(CLOB001)
, ''/env:Envelope/env:Body/getUserInfo/User''
, ''xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" '
) USERXML
WHERE COLLECTION_NAME = 'MY_WS_COLL'
...brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
BuilderPlugin: http://builderplugin.oracleapex.info
Work: http://www.click-click.at
Similar Messages
-
Gathering Table Statistics throws errors ORA-20001 and ORA-06512 on 11g
Hi Forum!
I try to gather statistics on a 11.2.0.1 DB for a Siebel application.
The script which generates the statistics errors out and I don't know why. so I tried to query sys.dba_tab_statistics manually, but event then I receive an error:
select * from sys.dba_tab_statistics
ORA-20001: BIN$PV5XQQHLSAYJ0KPMEY1MHG==$0 is an invalid identifier
ORA-06512: in "SYS-DBMS_STATS", Zeile 2082
ORA-06512: in "SYS-DBMS_STATS", Zeile 2098
ORA-06512: in "SYS-DBMS_STATS", Zeile 26789
Any ideas?
Edited by: Penky on Oct 10, 2011 2:51 PMPenky wrote:
Note that I even get the error when doing a straight select * from dba_tab_statistics which I think should work fine, no?Is that:
select * from dba_tab_statisticsor
select * from sys.dba_tab_statisticsIt's unusual for a SYS view to error, unless that's a specific bug in that version of the database, though I wonder if there are other schemas, such as SYS which have got something in their recycle bin (not that anyone should have been creating and/or dropping things in SYS)? -
I am very new to collections and I am having an issue creating my first collection. When I execute the following code I get ORA-00900 invalid sql.
apex_collection.create_collection_from_query ('TEST', 'select * from apex_collections', 'NO');
Any guidance is greatly appreciated. I am running Oracle 11g and APEX 4.1.0.00.32.Sorry bad example. I have tried several tables. One only had a few columns and just text and numbers. This is the table I am trying to load into the collection. It does not seem to matter what I put in as the sql, it always comes back invalid sql.
My table looks like this.
Name Null Type
MATERIAL_ID NOT NULL NUMBER
MATERIAL_NAME NOT NULL VARCHAR2(75)
MATERIAL_DESCRIPTION VARCHAR2(500)
CATEGORY_ID NOT NULL NUMBER
SUBCATEGORY_ID NUMBER
QTY NOT NULL NUMBER(2)
REQUESTED_QTY NUMBER(2)
I have to be doing something really simple wrong. -
Apex_collection.create_collection_from_query ---- ORA-01008
I am creating a collection from a query and am having trouble referencing my page items in the query. I have already tried &My_ITEM. / V('My_ITEM') / :MY_ITEM with no success.
Error Message recieved:
ORA-20104: create_collection_from_query Error:ORA-20104: create_collection_from_query ExecErr:ORA-01008: not all variables bound
Sample of my apex_collection query :
BEGIN
apex_collection.create_collection_from_query(
p_collection_name => 'TEST',
p_query => 'SELECT CASE
WHEN d.visits = 0
THEN 0
ELSE ROUND (d.tot_usage / d.visits)
END THHP
FROM (SELECT SUM (CASE
WHEN b.fac_produsage = 0
THEN 0
ELSE ROUND(d.fac_prodsize
* (SELECT TO_NUMBER (piyc_codeval)
FROM schema.table1 z
WHERE table1_codetype = ''PRODUOM_CONV''
AND z.table1_codedesc = ltrim(rtrim(d.fac_produom)))
/ d.fac_prod_useratio) * b.fac_produsage
END ) tot_usage,
MAX (b.fac_ptcaredays) visits,
b.fac_datasdate || b.fac_dataedate period,
a.fac_unitcode || a.fac_unitdesc area,
d.fac_prodtype prodtype
FROM schema.table2_facdata b,
schema.table3_facusers c,
schema.table4_facunits a,
schema.table5_facprod d
WHERE c.fac_id = b.fac_id
AND b.facprod_id = d.facprod_id
AND b.fac_id = d.fac_id
AND a.fac_unitcode = b.fac_unitcode
AND a.fac_id = b.fac_id
AND b.fac_datasdate >= :P14_fac_datasdate -- page item
AND b.fac_dataedate <= :P14_fac_datasdate -- page item2
AND a.fac_unittype = :P14_fac_unittype -- page item3
GROUP BY b.fac_datasdate || b.fac_dataedate,
a.fac_unitcode , a.fac_unitdesc) d ',
p_generate_md5 => 'YES');
end;
Any Suggestions??Working Solution:
http://kr.forums.oracle.com/forums/thread.jspa?threadID=580016 -
Hi,
i'm getting ora-22922 nonexistent LOB value with
apex_collection.create_collection_from_query('coll_name','select a,b,c from testtable','NO');
what is going wrong?
please help !!
thx in advance !!!Hi Dila,
unless you let us know what
TESTTABLEexactly is, we probably can't help you. -
Problem: apex_collection.create_collection_from_query
Hi;
I've the following procedure:declare
p_collection_name varchar2(1000) := 'EDIT_CAT';
begin
IF (apex_collection.collection_exists(p_collection_name))
THEN
apex_collection.delete_collection(p_collection_name);
END IF;
apex_collection.create_collection_from_query(
p_collection_name => p_collection_name,
p_query => 'select * from hd_category');
end;I alsways get the fllowing error:
ORA-20104: create_collection_from_query Error:ORA-20104: create_collection_from_query ParseErr:ORA-00942: table or view does not exist
But the table 'HD_CATEGORY' exists and setting up a normal select statement is working fine.
Dows anybody know what's wrong with this?
Thanks for any help
chrissyHi Scott,
Sorry for my error in the first thread ... it's no procedure it's a process ...
My code is, like you suggested, an anonymus block and it is an application process on demand.
What I'm trying to do is to build the collection every time a record will be in edit.
What I don't understand is, why I have to grant the SELECT privileg for the table. I can make a select on it, but not for the collection. Also my application schema user has the dba role, isn't there SELECT privilege included? I'm not firm in such things.
At the moment I got it running, with a cursor and the normal apex_collection.create_collection and apex_collection.add_member.
Thanks
chrissy -
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 -
Instance terminted with ORA-00445 and ORA-00494
Hi Folks,
Oracle 11g Instance terminated after ORA-00445 and ORA-00494. Not sure what is the problem didnot have this problem before. Can any body pls help?
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Below is the message found in alertlog.
Archived Log entry 17939 added for thread 1 sequence 17973 ID 0xee1270c6 dest 1:
Thu Apr 19 02:32:15 2012
WARNING:io_getevents timed out 600 sec
Thu Apr 19 02:32:17 2012
WARNING:io_getevents timed out 600 sec
Thu Apr 19 02:33:32 2012
WARNING:io_getevents timed out 600 sec
Thu Apr 19 02:35:56 2012
Process 0x0xdfb80810 appears to be hung while dumping
Current time = 1203097316, process death time = 1203032607 interval = 60000
Attempting to kill process 0x0xdfb80810 with OS pid = 7563
OSD kill succeeded for process 0xdfb80810
Thu Apr 19 02:36:32 2012
WARNING:io_getevents timed out 600 sec
Thu Apr 19 02:38:11 2012
Errors in file /apps/opt/oracle/admin/diag/rdbms/vchsit2/vchsit2/trace/vchsit2_smco_8548.trc (incident=76297):
ORA-00445: background process "W000" did not start after 120 seconds
Incident details in: /apps/opt/oracle/admin/diag/rdbms/vchsit2/vchsit2/incident/incdir_76297/vchsit2_smco_8548_i76297.trc
Thu Apr 19 02:38:11 2012
Errors in file /apps/opt/oracle/admin/diag/rdbms/vchsit2/vchsit2/trace/vchsit2_arc2_7523.trc (incident=76329):
ORA-00494: enqueue [CF] held for too long (more than 900 seconds) by 'inst 1, osid 7315'
Incident details in: /apps/opt/oracle/admin/diag/rdbms/vchsit2/vchsit2/incident/incdir_76329/vchsit2_arc2_7523_i76329.trc
Thu Apr 19 02:38:11 2012
Fatal NI connect error 12537, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
Time: 19-APR-2012 02:38:11
Tracing not turned on.
Tns error struct:
ns main err code: 12537
TNS-12537: TNS:connection closed
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (2743) as a result of ORA-609
Thu Apr 19 02:38:12 2012
Trace dumping is performing id=[cdmp_20120419023812]
Killing enqueue blocker (pid=7315) on resource CF-00000000-00000000 by (pid=7523)
by killing session 6.1
Killing enqueue blocker (pid=7315) on resource CF-00000000-00000000 by (pid=7523)
by terminating the process
ARC2 (ospid: 7523): terminating the instance due to error 2103
Instance terminated by ARC2, pid = 7523
Thu Apr 19 10:43:07 2012Hi;
Please see:
ORA-00445: Background Process "xxxx" Did Not Start After 120 Seconds [ID 1345364.1]
Regard
Helios -
ORA-28500 Oracle 11g Gateway problem
Hi,
I have installed Oracle database 11g and configured Oracle Gateway 11g on Linux operating system.
I have created a database link through which i access data from SQL Server. By this below command,
select * from tablename@sqlserver; Where sqlserver is the db link.
It fetches the data but after some time connection automatically breaks and displayed below error message.
ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from SQLSERVER
Below is the log file
SQLFetch: row: 100, column 3, bflsz: 41, bflar: 23, (bfl: 23, mbl: 40)
SQLFetch: row: 100, column 4, bflsz: 16, bflar: -1
SQLFetch: row: 100, column 4, bflsz: 16, bflar: SQL_NULL_DATA
SQLFetch: row: 100, column 5, bflsz: 16, bflar: 16
SQLFetch: row: 100, column 5, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 100, column 6, bflsz: 4, bflar: 2
SQLFetch: row: 100, column 6, bflsz: 4, bflar: 2, (bfl: 2, mbl: 3)
SQLFetch: row: 100, column 7, bflsz: 2, bflar: 2
SQLFetch: row: 100, column 7, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 100, column 8, bflsz: 2, bflar: 2
SQLFetch: row: 100, column 8, bflsz: 2, bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 100, column 9, bflsz: 4, bflar: 4
SQLFetch: row: 100, column 9, bflsz: 4, bflar: 4, (bfl: 4, mbl: 4)
+100 rows fetched+
Exiting hgoftch, rc=0 at 2011/10/11-09:09:50
Entered hgoftch, cursor id 1 at 2011/10/11-09:09:50
hgoftch, line 130: Printing hoada @ 0x10b55db0
MAX:9, ACTUAL:9, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
+4 INTEGER N 4 4 0/ 0 0 0 0 IsrCode+
+4 INTEGER Y 4 4 0/ 0 0 0 0 ParIsrCode+
+12 VARCHAR Y 16 40 0/ 0 0 0 200 IsrName+
+91 DATE Y 0 16 0/ 0 0 -1 0 StartDate+
+91 DATE N 16 16 0/ 0 0 0 0 EndDate+
+12 VARCHAR Y 2 3 0/ 0 0 0 200 IsoCtry+
+5 SMALLINT Y 2 2 0/ 0 0 0 0 FyeMonth+
+5 SMALLINT Y 2 2 0/ 0 0 0 0 SIC+
+4 INTEGER Y 4 4 0/ 0 0 0 0 NAICS+
Entered hgopoer at 2011/10/11-09:09:56
hgopoer, line 233: got native error 104 and sqlstate 01000; message follows...
+[Oracle][ODBC SQL Server Driver][libssclient24]ConnectionRead (recv()). {01000,NativeErr = 104}[Oracle][ODBC SQL Server Driver][libssclient24]General network error. Check your network documentation. {08S01,NativeErr = 11}+
Exiting hgopoer, rc=0 at 2011/10/11-09:09:56
hgoftch, line 730: calling SQLFetch got sqlstate 01000
+0 rows fetched+
Exiting hgoftch, rc=28500 at 2011/10/11-09:09:56 with error ptr FILE:hgoftch.c LINE:730 FUNCTION:hgoftch() ID:Fetch resultset data
Waiting for urgent response.
Regards,
Rizi# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dg4msql)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(PROGRAM = dg4msql)
# sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /u01/app/oracle
GATEWAY Parameters
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[]:1433//qqq
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
# custom init parameters
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
HS_NLS_NCHAR=UCS2 -
Form with view having instead-of-trigger gives FRM-40501 and ORA-02014
I created a data-entry from with a 'view' as datas-source block. This view gives crosstab query results with a data from a single base-table but it is complex and uses decode and aggregate funciton 'max' just to create group by in a crosstab query. I have created a instead of trigger on this view to update or insert a record in base table. A test to update base table works fine at SQl prompt. A test to insert at SQL shows '1 row created' but in fact when I query the database, it does not show newly inserted row. Also, when I compile and run this form, I get FRM-40501 and ORA-02014. Help!!!
I know that DML operations on a view with DECODE, aggregate functions or group by can not be performed but I thought the "instead of" trigger on the view to update the base table should eleminate this restriction and hence pusued further but now stuck!
BTW: I can post details of base table, view, and instead of trigger, if you want to see them to further decipher the problem. Just let me know. Thanks!
VERSIONS: Forms in developer suite v10.1.2.0.2 on Windows XP 64 bit desktop - ; Backend database: 9.2.0.8 on Windows 2003 EE server
Edited by: user8647268 on Aug 19, 2009 1:19 PM
Edited by: user8647268 on Aug 19, 2009 1:25 PMI just forgot to ask you one question: In my experience with forms, I have captured before_value and after_value and implemented logic based on results many times. This form I am working on is kinda first multi-record form where I have a tabular page with date and about 7 other columns forming a grid of cells, which users wanted. Each line is a record from a view. I tried relying on forms to do DML on underlying table and since the underlying table is a paritioned table, I ran into FRM-40509 and ORA-00936, where returning ROWID becomes problematic. I found a note 167550.1 which says to set Key mode to 'Updateable' or 'Non-Updateable' but not 'Unique' or 'Automatic' as a solution #1. Solution#1 failed i.e. the errors persisted. The note also says in that case, implement Solution #2, which is to write explicit trigger to do each of the DML on view. Here I run into kinda problem: In a tabular form with say 31 records each row having 7 cells which is like capturing 217 before values..that is too many. Addressing them with ':old.xxx' or ':new.xxx' which works in instead of trigger, does not work in trigger inside forms. Without checking these before and after values, it inserts rows with nulls for empty cells where we wnated it to skip and do nothing. So iam looking for a way to capture before value using some kinda standard form mechanism..Do you have any suggestions! (Sorry for long explanation but that is the only way to do it..)
-
ORA-27101: shared memory realm does not exist and ORA-01139: RESETLOGS
HI ALL,
After the oracle has installed on a solaries server successfully, i am unable to login into oracle database.
Below are the errors messages :
1) ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 Error: 2: No such file or directory
2) Media recovery complete.
alter database open resetlogs
ERROR at line 1:
ORA-01139: RESETLOGS option only valid after an incomplete database recovery.
and When i try to login into oracle as root .
this is the error :
sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Feb 12 15:52:49 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ld.so.1: oracle: fatal: libskgxp10.so: open failed: No such file or directory
ERROR:
ORA-12547: TNS:lost contact
my Operating system details :
SunOS Blade3-Chassis2 5.10 Generic_142900-03 sun4v sparc SUNW,Netra-CP3060
Anyone please help me here. waiting for your reply.
Below are the ORACLE_SID Details :
1) echo $ORACLE_SID ----- > ems
2)ps -eaf | grep smon -------> ora_smon_ems
do you need any data?
Edited by: user8959150 on Feb 11, 2010 7:19 PMHi
We mostly receive this error message ( ORA-27101: shared memory realm does not exist and ORA-01139)
When our SGA_MAX_SIZE is greater than 1.7 G.b on
You again configure your sga size
and sga_max_size paramete will not greater than 1.7 G.b
Hope your database will work correctly.
for test purpose you set all your init.ora parameter
db_cache_size=512m
db_keep_cache_size=64m
db_recycle_cache_size=16m
java_pool_size=8m
large_pool_size=16m
shared_pool_size=256m
shared_pool_reserved_size=64m
sga_max_size=1600m
sga_max_size will not be grater than combination of of db_cache_size db_keep_cache_size,db_recycle_cache_sizejava_pool_size+share_pool_size+share_pool_reserved_size
Hope it will work fine.
Regard
Abdul Hameed Malik
[email protected] -
Ora 600 and ora 7445 error in oracle 10g r2
hi all,
we are using Oracle 10g r2.
os is windows 2003 server,
ram is 4 gb.
front end is java .
we got a below mentioned errors.
i got the RA-00600: internal error code, arguments: [qerghFetch:inc], [], [], [], [], [], [], [],
and ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x61F04AC9] [ADDR:0xC] [UNABLE_TO_READ] []
and Error 0 in kwqmnpartition(), aborting txn errors.
for aug 3 11.42.47 we got a ora 600 error after that through front end (java) users can't able to connect the database.the not able to executed the query session disconnected error.
what is reason for theis error . how it will rectifiy.?
pls advice.Below i attached the alret log message .
Sun Aug 02 04:04:24 2009
Error 0 in kwqmnpartition(), aborting txn
Sun Aug 02 05:48:10 2009
Error 0 in kwqmnpartition(), aborting txn
Sun Aug 02 05:49:10 2009
Error 0 in kwqmnpartition(), aborting txn
Sun Aug 02 07:38:49 2009
Thread 1 advanced to log sequence 1732
Current log# 3 seq# 1732 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
Sun Aug 02 07:44:14 2009
Error 0 in kwqmnpartition(), aborting txn
Sun Aug 02 07:45:14 2009
Error 0 in kwqmnpartition(), aborting txn
Sun Aug 02 22:00:26 2009
Thread 1 advanced to log sequence 1733
Current log# 1 seq# 1733 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG
Mon Aug 03 07:08:15 2009
Thread 1 advanced to log sequence 1734
Current log# 2 seq# 1734 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG
Mon Aug 03 09:28:23 2009
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 09:30:27 2009
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 11:42:47 2009
Errors in file e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_6012.trc:
ORA-00600: internal error code, arguments: [qerghFetch:inc], [], [], [], [], [], [], []
Mon Aug 03 13:20:00 2009
Thread 1 advanced to log sequence 1735
Current log# 3 seq# 1735 mem# 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
Mon Aug 03 16:07:07 2009
Errors in file e:\oracle\product\10.2.0\em_2\rdbms\trace\orcl_ora_4756.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x61F04AC9] [ADDR:0xC] [UNABLE_TO_READ] []
Mon Aug 03 16:07:11 2009
Process m000 died, see its trace file
Mon Aug 03 16:07:11 2009
ksvcreate: Process(m000) creation failed
Mon Aug 03 16:08:37 2009
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 16:10:40 2009
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 17:25:05 2009
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 17:27:11 2009
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 17:32:19 2009
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 17:33:24 2009
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 18:52:08 2009
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 18:54:09 2009
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 19:05:33 2009
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Mon Aug 03 19:09:02 2009
Errors in file e:\oracle\product\10.2.0\em_2\rdbms\trace\orcl_ora_5132.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x7C34126B] [ADDR:0x0] [UNABLE_TO_WRITE] []
Mon Aug 03 19:10:27 2009
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txn
Error 0 in kwqmnpartition(), aborting txnHi reshumakur
As this is your PRODUCTION system THEN_ The best help to offer in case of ORA-600, and ORA-7445 is to open SR with metalink. Submit with the SR the following
1- Alert log
2- Trace files (in ur case e:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_6012.trc: and e:\oracle\product\10.2.0\em_2\rdbms\trace\orcl_ora_4756.trc:)
3- Describe what was happening when you had these errors.
Try to avoid free help when you have ORA-600 and ORA-07445. This errors could be becuase of BUGS. Oracle Support will know this from the call stack in the trace file.
Then Do your best to patch 10.2.0.4 and the latest CPU patch.
Good Luck -
Deploy 10g forms and reports in Oracle 11g
Hi, I'm working in 10g forms and reports development. However, in my company want to migrate to Oracle 11g.
My doubt is: May I deploy 10g forms and reports in Oracle 11g installation (Weblogis server + Oracle Fusion Middleware)?
Thanks.I downloaded developer suite.does this developer suite includes 10g database also.becoz there are two disks for the developer suite whereas there was only one disk for oracle 10g datbase that i downloaded earlier and installed.if this developer suite includes database,reports and forms then do i need to uninstall the previous data base 10g that i installed.please help me regarding this.
thanking you all -
I have a new installed database running in ARCIHVELOG mode on SUSE 10SP3. Catalog is not used. When I try to restore the database from a level 0 backup based on SCN, ORA-01180 and ORA-01110 were raised out today. Please help me through this. Thx. The senario follows:
1. I got the current SCN by "select dbms_flashback.get_system_change_number from dual". Say it's 12345;
2. I did a level 0 hot backup with current control file, archived logs and parameter files. Everything went well;
3. Some other DMLs are applied to the database;
4. I want to do a SCN-based incomplete recovery for this database to SCN 12345. Then I
1) shutdown immediate;
2) startup nomount;
3) restore the control file from backupset;
5) startup mount;
6) catalog start with "[backupset path]";
7) restore database until scn 12345.
Just at step 4.7, ORA-01180 and ORA-01110 were raised out, saying cannot create data file 1. Note: Backup files are existing and file permissions are all OK.
Then I issues "list incarnation of database". There is just one record with incarnation id 1.
So I queried v$log_history, found serveral record there. The most recent one has NEXT_SCN later than 12345, say 12400. Then I tried to restore database until this SCN. It WORKED! The restore and recovery succeeded.
My questions are:
1. Why cannot I restore the database to a previous SCN, say 12345, but 12400 is OK?.
2. If the database was RESETLOG prior to my recovery, should I reset database to the incarnation where I took my backup? What can I do if there is no that incarnation information in my control file?
Waiting for your suggestion.Hi guys. There is one update.
This issue is caused by the incorrect SCN vs. backup set. I got this SCN before the backup started. According to Oracle docs, it's not allowed for an SCN based recovery.
Now, I changed the sequence of my operations, so that SCN is got once backup is done, which is exact the "most recent sequence# and least SCN" mentioned by some thread in this forum. It works now.
Anyone could explain why the SCN got prior to the level 0 backup is not recognized by restore/recovery phase? Thanks. -
ORA-03113 and ORA-03114 problems
Hi,
I'm experimenting Oracle8i. I'm installing 8.1.7 to RedHat Linux 7.0 out of box without recompiling the kernel. I set the SHMMAX to 0.5*258MB memory on the machine by echoing the number to /proc/sys/kernel/shmmax.
I checked that the system meets the requirements of Oracle's Installation Guide except SEMOPM. The RedHat Linux 7.0 sets it to 32, but Oracle requires 100.
I chose Oracle8i EE Typical Installation. The installation was ok to the point of running root.sh. Several syntax errors occur from root.sh. But they are minor syntax errors. I checked the code, regardless of errors, the scripts accomplished what it intends to do. The installation continued. I choose automatic configure Net8 when it ran Net8 Configuration Assistant and the Net8 Configuration was completed successful.
When it started Oracle Database Configuration Assistant, it created a database. But when it initialized the database, error messages ORA-03114 and ORA-03113 appeared many times. Each time, I chose to ignore. The final message was "Database creation completed with warnings."
After installation, I ran svrmgrl
$svrmgrl
SVRMGR> connect INTERNAL
Connected.
SVRMGR> startup
ORA-03113 end-of-file on communication channel
Checking the meaning of error messages, it says that if ORA-03113 occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server.
During installation, I chose Local naming method. There are following files in $ORACLE_HOME/network/admin/
listener.ora
sqlnet.ora
tnsnames.ora
shrept.lst
To my layman's eye, they looked ok. I can even telnet to the linux machine with database name, although I don't know how the machine has acquired the alias without any changes to /etc/named.conf nor any changes to any files in /var/named directory.
Please tell me what is correctly installed Net8? or what went wrong and how I should fix the problem.
Thanks,
Wayne
nullI seem to have 8.1.7 creating a database with RH Linux 7.1 now. This was an important clue, since 7.1 hiccups 65% into the link phase of installation, thereby requiring the stubs patch to be run at that time, whereas 7.0 runs quite happily through the install & link without using the patch.
HOWEVER... before invoking dbassist to create the database under 7.1, you apparently need to export ASSUME_LD_LIBRARY = 2.2.5, etc., again, as you would do for the first time installing under RH 7.0.
null
Maybe you are looking for
-
How to print a company logo on top right corner in pdf
Hello together, how can I print a company logo in a PDF-Document (Print Version; 0Analysis_Pattern_Export) on the top right corner. I created a own web template which just contains the company logo and included this template in the ZAnalysis_Pattern_
-
Can't access my account. Rescue Email and Secuirty Questions dont work.
Can't access my account. Rescue Email and Secuirty Questions dont work.
-
I tried syncing my iPod Classic and accidentally created duplicates of ALL my songs. I have hundreds of songs in my iTunes library. None of the new music I purchased successfully syncing and now my iPod Classic only has a small number of songs to lis
-
How do I change the user log in screen background on Lion?
Note:I'm talking about the screen for Users Log where multiple users log in. Right now the default is a solid grey. there has to be a way to change it to something more esthetically pleasing.
-
Problem login denied as sys as sydba
Hi, I was able to login as sys/passwd@dbname. But when I tried to connect sys/passwd@dbname as sysdba, I got this error : ORA-01017: invalid username/password; logon denied I was doing this using SQL*Plus and on the server where the database resides.