Get error ORA-20505 and ORA-01403 when UPDATING record
Hi,
I'm running APEX 3.2.1, on Oracle XE 10.2.0.1, on Sun Ultra20 (Intel-based) running Windows Server 2003.
I created a small, department database - to keep track of contacts, equipment, etc.
Initially, I used a NUMBER as the PRIMARY KEY in both the CONTACTS table and EQUIPMENT tables. I created a CONTACTS interactive report and a CONTACT DETAILS form, where the EDIT button on a row in the CONTACTS report brings up the individual record to modify. Same thing for EQUIPMENT - interactive report page and form page.
This all worked fine!
Then, I decided to change the PRIMARY KEY for the CONTACTS table to a STRING - with CONTACT_FIRST_NAME and CONTACT_LAST_NAME as the primary key. I figured I this would prevent duplicate entries. After the change, inserts work. Updates work, IF a change is made to ANY field EXCEPT first name or last name.
UPDATES fail - if user modifies EITHER the first name or last name - in APEX. But, update SUCCEEDS if done in SQL Developer. Obviously, I missing a subtle nuance in APEX, but I can't figure it out.
I've included DEBUG trace and version information below.
Thanks,
Andy
ORA-20505: Error in DML: p_rowid=Adam1, p_alt_rowid=CONTACT_FIRST_NAME, p_rowid2=Adam, p_alt_rowid2=CONTACT_LAST_NAME. ORA-01403: no data found
0.02: A C C E P T: Request="SAVE"
0.02: Metadata: Fetch application definition and shortcuts
0.02: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
0.02: alter session set nls_language="AMERICAN"
0.02: alter session set nls_territory="AMERICA"
0.02: NLS: CSV charset=WE8MSWIN1252
0.02: ...NLS: Set Decimal separator="."
0.02: ...NLS: Set NLS Group separator=","
0.02: ...NLS: Set date format="DD-MON-RR"
0.02: ...Setting session time_zone to -06:00
0.02: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
0.02: ...NLS: Set date format="DD-MON-YYYY"
0.03: Fetch session state from database
0.03: ...Check session 1896858759858984 owner
0.03: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
0.03: ...NLS: Set date format="DD-MON-YYYY"
0.03: ...Check for session expiration:
0.03: ...Metadata: Fetch Page, Computation, Process, and Branch
0.03: Session: Fetch session header information
0.03: ...Metadata: Fetch page attributes for application 101, page 21
0.05: ...Validate item page affinity.
0.05: ...Validate hidden_protected items.
0.05: ...Check authorization security schemes
0.05: Session State: Save form items and p_arg_values
0.05: ...Session State: Save "P21_CONTACT_FIRST_NAME" - saving same value: "Adam"
0.06: ...Session State: Saved Item "P21_CONTACT_LAST_NAME" New Value="Adam Jr"
0.06: ...Session State: Save "P21_CONTACT_COMPANY" - saving same value: "Atempo"
0.06: ...Session State: Save "P21_CONTACT_JOB_TITLE" - saving same value: "Sr Sw Engr"
0.06: ...Session State: Save "P21_CONTACT_JOB_ROLE" - saving same value: "Engineering"
0.06: ...Session State: Save "P21_CONTACT_STATUS" - saving same value: "Active"
0.06: ...Session State: Save "P21_CONTACT_PRODUCT" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_PHONE" - saving same value: "222-333-4444"
0.06: ...Session State: Save "P21_CONTACT_MOBILE" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_FAX" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_EMAIL" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_STREET" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_CITY" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_STATE" - saving same value: "CO"
0.06: ...Session State: Save "P21_CONTACT_ZIP" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_COUNTRY" - saving same value: "United States"
0.06: ...Session State: Save "P21_CONTACT_NOTES" - saving same value: ""
0.06: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.06: Branch point: BEFORE_COMPUTATION
0.06: Computation point: AFTER_SUBMIT
0.06: Tabs: Perform Branching for Tab Requests
0.06: Branch point: BEFORE_VALIDATION
0.06: Perform validations:
0.08: ...Item in validation equals expression 2: P21_CONTACT_JOB_ROLE
0.08: ...Item in validation equals expression 2: P21_CONTACT_STATUS
0.08: ...Item Not Null Validation: P21_CONTACT_PHONE
0.08: ...Item in validation equals expression 2: P21_CONTACT_STATE
0.08: ...Item in validation equals expression 2: P21_CONTACT_COUNTRY
0.08: Branch point: BEFORE_PROCESSING
0.08: Processing point: AFTER_SUBMIT
0.08: ...Process "Process Row of ISR_CONTACTS": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:ISR_CONTACTS:P21_CONTACT_FIRST_NAME:CONTACT_FIRST_NAME:P21_CONTACT_LAST_NAME:CONTACT_LAST_NAME|IU
0.08: Show ERROR page...
0.08: Performing rollback...
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Database
NAME XE
CREATED 06/08/2010 05:22:50 PM
RESETLOGS_TIME 07/09/2010 10:09:59 AM
PRIOR_RESETLOGS_CHANGE# 193066
PRIOR_RESETLOGS_TIME 06/08/2010 05:22:52 PM
LOG_MODE ARCHIVELOG
CHECKPOINT_CHANGE# 4436025
ARCHIVE_CHANGE# 4387159
OPEN_RESETLOGS NOT ALLOWED
VERSION_TIME 07/09/2010 10:08:44 AM
OPEN_MODE READ WRITE
PROTECTION_MODE MAXIMUM PERFORMANCE
PROTECTION_LEVEL MAXIMUM PERFORMANCE
REMOTE_ARCHIVE ENABLED
DATABASE_ROLE PRIMARY
ARCHIVELOG_CHANGE# 4458138
SWITCHOVER_STATUS SESSIONS ACTIVE
DATAGUARD_BROKER DISABLED
GUARD_STATUS NONE
FORCE_LOGGING NO
CGI Environment
PLSQL_GATEWAY WebDb
GATEWAY_IVERSION 2
SERVER_SOFTWARE Oracle Embedded PL/SQL Gateway/10.2.0.1.0
GATEWAY_INTERFACE CGI/1.1
SERVER_PORT 8080
SERVER_NAME XDB HTTP Server
REQUEST_METHOD GET
QUERY_STRING p=4500:36:1896858759858984:::::
PATH_INFO /f
SCRIPT_NAME /apex
REMOTE_ADDR 10.135.65.180
SERVER_PROTOCOL HTTP/1.1
REQUEST_PROTOCOL tcp
REMOTE_USER ANONYMOUS
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 (.NET CLR 3.5.30729)
HTTP_HOST isr-si-project:8080
Maybe because you're changing primary key...and then updating record with primary key that doesn't exist.
Similar Messages
-
IPad 2 gets error 1611 after going into recovery when updating to iOS 5
Last week I got a new iPad 2. Everytime I try to update my iPad 2 to 5.0.1, iTunes switches to restoring my iPad at a certain moment. This goes on for quite a while, until it stops and gives me an error 1611. After this my iPad stays unrecoverable in recovery mode, because it keeps giving a 1611 error. In the end I resorted to using Tiny Umbrella to get my iPad out of recovery mode again.
While I can live with using 4.3.5, it is fairly annoying I can't use the most recent iOS version. DOes anybody have a solution for me?
I already checked for iTunes updates, cleared apple out fo the hosts file, shut off my AV and I am using the original cable. Also I am using 64 bits iTunes on Windows 7.Look at http://support.apple.com/kb/HT4097
Also, make sure you have a good USB connection - plug directly into your computer.
Once when I had a restore problem, I downloaded iTunes again & reinstalled.
Cheers, Tom -
ORA-1403 and ORA-20505 updating the PK in the form
I have a application based on one table and the primary key is the column NAME , every think was running ok , but now I am getting the error ORA-20505 and ORA-1403 when I edit a row and change the value for NAME ( still unique ) and click in apply the changes botton.
the table has only one row , this should be simple, I can insert ant update in sqlplus.
Thanks.user459480,
Rather than trying to work around this I suggest you add a non-update-able primary key column and then put a unique constraint on the name column. The application is using the value of the PK column "name" to find the record and now you are going around and changing it. No wonder it gives you a 1403 which means "I can't find what you told me to go get".
You might get over this hump but there will be more and bigger humps ahead if you continue down this path. Adding a number type column as a pk with a sequence and trigger is a small price to pay for the stability of a real primary key (ie immutable).
Greg -
Report Errors REP-1051 and REP-1070 when saving
I just created a new report. I'm now getting errors REP-1051 and REP-1070 when I attempt to save the .rdf to my local hard drive (or anywhere else for that matter). Permissions where I try to save it are OK, in fact if I remove the SQL and insert "select * from dual", it saves nicely. Is there a query size limit of which I'm unaware? The SQL runs corrrectly, compiles correctly, etc. I just can't seem to save my work. Thank you in advance.
REP-1051 and REP-1070 What are the messages for these codes?
Which version and OS are you using?
How are you calling your report? -
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-00604 and ORA-12705 when adding datasource in Mapviewer
Hi,
I am trying to add a datasource using standalone OC4J Mapviewer and I'm having some problems.
I'm using Oracle8i on Windows 2000 Server. Windows 2000 is in Spanish.
When I add the datasource I get the following XML error
<?xml version="1.0" encoding="UTF-8" ?>
<oms_error>Message:[MapperConfig] no se puede agregar el origen de datos de mapa. Wed Oct 12 21:29:58 ART 2005 Severity: 0 Description: at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.java:528) at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.java:308) at oracle.lbs.mapserver.oms.addDataSource(oms.java:937) at oracle.lbs.mapserver.oms.doPost(oms.java:329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)</oms_error>
The part in spanish means: Map Datasource cannot be added.
In the console I get ORA-00604 and ORA-12705
I know that ora-12705 has something to do with NLS_LANG.
I put the following query in sql*plus:
select *
from v$nls_parameters
where parameter in ('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET');
And got AMERICAN.AMERICA.WE8ISO8859P1
I also changed the NLS_LANG variables in the registry to the same characterset. (One of them was in spanish characterset).
I don't know what else to do! Pleas help!Yes, you are in the wrong forum, but it sounds like you have your environment variable (or registry entry) for ORA_NLS33 pointing at the wrong directory.
Steve -
ORA-00001 and ORA-06512 error on DBMS_WM.ResolveConflicts
We are getting unique constraint error in Production Database. We are able to merge most of the workspaces with no issues. One workspace is givign errors on merge.
Here is the code
begin
dbms_wm.gotoworkspace('denialletterspoc_onmzpulp');
dbms_wm.setdiffversions('denialletterspoc_onmzpulp','LIVE');
dbms_wm.SetConflictWorkspace('denialletterspoc_onmzpulp');
commit;
DBMS_WM.BeginResolve('denialletterspoc_onmzpulp');
DBMS_WM.ResolveConflicts(
workspace => 'denialletterspoc_onmzpulp',
table_name => 'MCM_MESSAGE',
where_clause => ' id in (8403026,10134822,8259485,8259488,8426289,8426287,10186643,8426288) ',
keep => 'CHILD'
exception when others then
DBMS_WM.RollbackResolve('denialletterspoc_onmzpulp');
raise;
end;
ORA-00001: unique constraint (T2.MCM_MESSAGE_PK) violated
ORA-06512: at line 16
I looked at the date in XXX_lt tables and it does not look suspecious. Please help us understand
ORA-00001 and ORA-06512 error.
Amit GangwarHi, Ben
Our OWM_VERSION is 10.2.0.4.3.
I tried disable and enable constraint MCM_MESSAGE_PK. But didn't fix our issue.
Split where clause from " id in (...) " syntax to " id = ... " syntax will reduce performance heavily. And I did some test that " id in (...) " syntax works well in our dev env.
I opened our trace file and get below plsql block. When I perform it get same error with our original codes. Please notice the part of "forall wm_indx in WM_rowids.first .. WM_rowids.last execute immediate 'begin insert into T2.MCM_MESSAGE_lt ... ...", error occurred here. But if I change the "forall" syntax to normal " for ... loop" syntax then no error here. Can you give me some advice or suggestion?
DECLARE
WM_rowids wmsys.lt_ctx_pkg.rowidTabType;
WM_rowids_vt wmsys.lt_ctx_pkg.rowidTabType;
WM_curver wmsys.lt_ctx_pkg.int_tab;
WM_vtRow wmsys.lt_ctx_pkg.int_tab;
WM_nextver wmsys.lt_ctx_pkg.nextver_tab;
WM_found integer := 0;
BEGIN
dbms_wm.gotoworkspace('denialletterspoc_onmzpulp');
dbms_wm.setdiffversions('denialletterspoc_onmzpulp','LIVE');
dbms_wm.SetConflictWorkspace('denialletterspoc_onmzpulp');
/* update the auxilliary table of snapshots */
/* These are rows in the current version that have already been resolved once */
update T2.MCM_MESSAGE_aux st
set (snapShotChild, snapShotParent, versionParent) =
(select p.WM_childds, p.WM_parentds, p.WM_parentver
from T2.MCM_MESSAGE_pkc p
where p.ID = st.ID),
value = '0',
wm_opcode = 'CC'
where st.versionChild = 614
and (ID) in (select ID
from T2.MCM_MESSAGE_pkc p
where (id in (8403026,
10134822,
8259485,
8259488,
8426289,
8426287,
10186643,
8426288)));
select distinct WM_ridchild bulk collect
into WM_rowids
from T2.MCM_MESSAGE_pkc
where (id in (8403026,
10134822,
8259485,
8259488,
8426289,
8426287,
10186643,
8426288))
and WM_childver != 614;
if (WM_rowids.first is not null) then
WM_found := 1;
forall wm_indx in WM_rowids.first .. WM_rowids.last
update T2.MCM_MESSAGE_lt
set retireTime = wmsys.owm_9ip_pkg.activeTimeForDML,
nextver = wmsys.lt_ctx_pkg.getNextVer(nextver,
614,
version,
'denialletterspoc_onmzpulp',
'CRS_LEAF',
22)
where rowid = WM_rowids(wm_indx)
returning wmsys.lt_ctx_pkg.getCurNextVer bulk collect into WM_nextver;
/* These are the rows that have not yet been resolved after the latest BeginResolve */
forall wm_indx in WM_rowids.first .. WM_rowids.last execute immediate
'begin insert into T2.MCM_MESSAGE_lt(ID,DPS_APPLICATION_ID,TYPE_ID,NAME,PRIVILEGED,CAMPAIGN_ID,TEXT,FILE_NAME,GRAPHIC_WIDTH,GRAPHIC_HEIGHT,DESCRIPTION,ACTIVE,INCLUDE_IN_LIBRARY,MESSAGE_FILTER_ID,OP_USER_ID,OP_WORKSPACE,OP_TIME,version,createtime,retiretime,nextver,delstatus,ltlock)
(select t1.ID,t1.DPS_APPLICATION_ID,t1.TYPE_ID,t1.NAME,t1.PRIVILEGED,t1.CAMPAIGN_ID,t1.TEXT,t1.FILE_NAME,t1.GRAPHIC_WIDTH,t1.GRAPHIC_HEIGHT,t1.DESCRIPTION,t1.ACTIVE,t1.INCLUDE_IN_LIBRARY,t1.MESSAGE_FILTER_ID,t1.OP_USER_ID,t1.OP_WORKSPACE,t1.OP_TIME,614, wmsys.owm_9ip_pkg.activeTimeForDML, null,:1, sign(delstatus)*(abs(delstatus)+1),
wmsys.lt_ctx_pkg.checkngetlock(''C'', t1.ltlock, t1.nextver, ''denialletterspoc_onmzpulp'', 0,
''MODIFY'', t1.version, t1.delstatus, 0, 1)
from T2.MCM_MESSAGE_lt t1
where t1.rowid = :2); end;'
using WM_nextver(wm_indx),
WM_rowids(wm_indx)
end if;
if (WM_found = 1) then
wmsys.lt_ctx_pkg.update_modified_tables('T2',
'MCM_MESSAGE',
614,
'denialletterspoc_onmzpulp',
22);
end if;
if (WM_found = 1) then
forall wm_indx in WM_rowids.first .. WM_rowids.last
delete from T2.MCM_MESSAGE_aux
where (ID) in (select ID
from T2.MCM_MESSAGE_lt
where rowid = WM_rowids(wm_indx))
and childState = 'denialletterspoc_onmzpulp';
end if;
/* now insert new syncing information about these rows */
execute immediate 'insert into T2.MCM_MESSAGE_aux (
select ID,
p.WM_childstate, p.WM_parentstate,
p.WM_childds, 614, p.WM_parentds, p.WM_parentver, ''0'',''CC''
from T2.MCM_MESSAGE_pkc p
where ( id in (8403026,10134822,8259485,8259488,8426289,8426287,10186643,8426288) ) )';
END;
Thanks
Amos -
Getting ORA-17629 and ORA-17627 during setting up of data guard
Hi All,
I am working on data guard setup, and getting ORA-17629 and ORA-17627. The orapwd file was copied to DR server, but still getting the same error when doing a duplicate database command.
RMAN> run{
2> allocate channel c1 type disk;
3> allocate channel c2 type disk;
4> allocate auxiliary channel a1 type disk;
5> allocate auxiliary channel a2 type disk;
6> duplicate target database for standby from active database
7> spfile
8> set db_unique_name='DRTELPRD'
9> set standby_file_management='AUTO'
10> set FAL_CLIENT='DRTELPRD'
11> set FAL_SERVER='TELRPD'
12> nofilenamecheck;
13> }
allocated channel: c1
channel c1: SID=950 device type=DISK
allocated channel: c2
channel c2: SID=942 device type=DISK
allocated channel: a1
channel a1: SID=97 device type=DISK
allocated channel: a2
channel a2: SID=96 device type=DISK
Starting Duplicate Db at 26-AUG-11
contents of Memory Script:
backup as copy reuse
file 'e:\app\product\11.1.0\db_1\DATABASE\PWDtelprd.ORA' auxiliary format
'e:\app\product\11.1.0\db_1\DATABASE\PWDdrtelprd.ORA' file
'E:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPFILETELPRD.ORA' auxiliary format
'E:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEDRTELPRD.ORA' ;
sql clone "alter system set spfile= ''E:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPF
ILEDRTELPRD.ORA''";
executing Memory Script
Starting backup at 26-AUG-11
RMAN-03009: failure of backup command on c1 channel at 08/26/2011 14:44:17
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01031: insufficient privileges
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
released channel: c1
released channel: c2
released channel: a1
released channel: a2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/26/2011 14:44:17
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on c2 channel at 08/26/2011 14:44:17
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01031: insufficient privileges
ORA-17629: Cannot connect to the remote database server
RMAN>Thanks for your instructions. It worked very good. But, I am getting errors for redo01.log files. The redo log files are not created.
ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1: 'E:\ORACLE\ORADATA\TELPRD\REDO01.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Errors in file e:\app\diag\rdbms\drtelprd\drtelprd\trace\drtelprd_mrp0_352.trc:
ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1: 'E:\ORACLE\ORADATA\TELPRD\REDO01.LOG'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Clearing online redo logfile 1 E:\ORACLE\ORADATA\TELPRD\REDO01.LOG
Clearing online log 1 of thread 1 sequence number 3418
Errors in file e:\app\diag\rdbms\drtelprd\drtelprd\trace\drtelprd_mrp0_352.trc:
ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1: 'E:\ORACLE\ORADATA\TELPRD\REDO01.LOG' -
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 -
How to resolve ora error ORA-00604 and ORA-00036.
I am getting this error in alert.log:
ORA-00604: ERROR OCCURED AT RECURSIVE SQL LEVEL 51
ORA-00036: MAXIMUM NUMBER OF RECURSIVE SQL LEVELS (50) EXCEEDED.Did someone create an 'after servererror' trigger?
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4018285967344
Read the part where he provides a query to find the trigger:
select owner, trigger_name
from dba_triggers
where trigger_type = 'AFTER EVENT'; -
Work around/Alternate solution for Oracle error ORA-01460 and ORA-02063
After the installation of Oracle.DataAccess version 2.111.7.20, I get the following error.(the code worked fine with Oracle.DataAccess version 9.2.0.700 )
I have attached the error as well as the sample code.
ORA-01460 and ORA-02063 are known bugs in the new ODP but would like to know if there is any Work around/Alternate solution for this problem(other than
the use of stored procs)..
Thanks!
Error:
ORA-01460: unimplemented or unreasonable conversion requested
ORA-02063: preceding line from BSREAD_STAGINGRO at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck)
at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, Boolean bCheck)
at Oracle.DataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
at Oracle.DataAccess.Client.OracleCommand.ExecuteReader()
SampleCode
private bool isValidFieldData(string clientName, string fieldNumber, string uniqueID, string clientID)
using (OracleConnection mBSConnection = new OracleConnection(mBSConnectionString))
OracleDataReader oRdr = null;
OracleCommand Valid_FieldData_Command = null;
try
Valid_FieldData_Command = new OracleCommand();
Valid_FieldData_Command.Connection = mBSConnection;
Valid_FieldData_Command.CommandText = "SELECT uniqueid FROM EXTDB.BSData WHERE agencyid = :agencyid and agencyname=:agencyname AND fieldnumber =:fieldnumber AND uniqueid = :uniqueid";
Valid_FieldData_Command.Parameters.Add(":agencyid", OracleDbType.Varchar2, 255).Value = agencyID;
Valid_FieldData_Command.Parameters.Add(":agencyname", OracleDbType.Varchar2, 255).Value = agencyName;
Valid_FieldData_Command.Parameters.Add(":fieldnumber", OracleDbType.Varchar2, 255).Value = fieldNumber;
Valid_FieldData_Command.Parameters.Add(":uniqueid", OracleDbType.Varchar2, 255).Value = uniqueID;
mBSConnection.Open();
oRdr = Valid_FieldData_Command.ExecuteReader(); ->Error occurs here
The error occurs whenever the length of any of the parameter is increased. But there is no specific length where it is breaking down.
For example in this case, it breaks down with the given error if
agencyID > 8
agencyName > 6
fieldNumber > 9
uniqueid > 6The problem was mapping input parameter type.
VARCHAR2-type mapping input parameter works with String-type PF parameter. But CHAR-type won't. -
ORA-01843 and ORA-02291 when installing AIA 2.0 on Linux server
Hello,
When installing AIA 2.0 on a RHEL 4.7 Linux server, even if OUI does say the installion is successful, the installActions log are not that good...
We've got some ORA-01843 and ORA-02291 errors when running the createDiagnosticsCAVSData.sql.
[exec] createBSRIntegScenarioTables:
[exec] [echo] ----Creating createCAVSTables--------------
[exec] [sql] Executing resource: /exec/applis/tbaia/products/AIA/seeddata/DatabaseObjects/createBSRIntegScenarioTables.sql
[exec] [sql] 152 of 152 SQL statements executed successfully
[exec]
[exec] createDiagnosticsCAVSData:
[exec] [echo] ----Creating createCAVSTables--------------
[exec] [sql] Executing resource: /exec/applis/tbaia/products/AIA/seeddata/DatabaseObjects/createDiagnosticsCAVSData.sql
[exec] [sql] Failed to execute: Insert into CAVS_DEFINITIONS (DEFINITION_ID,TYPE,DESCRIPTION,STATE,SERVICE_TYPE,URL_WSDL,URL_ENDPOINT,SOAP_ACTION,SOAP_TRANSPORT_TYPE,MESSAGE_REQUEST,MESSAGE_RESPONSE,DELAY,VERSION,PROJECT_NAME,PROJECT_VERSION,EBS_NAME,EBS_VERSION,PROCESS_NAME,PROCESS_VERSION,SERVICE_NAME,SERVICE_VERSION,MESSAGE_NAME,MESSAGE_VERSION,PIP_NAME,PIP_VERSION,APPLICATION_NAME,APPLICATION_VERSION,TEST_PRIORITY,REFERENCE_ID_EXTERNAL,AUDITED_ON,AUDITED_BY) values (501,'Test','BPEL Transformation Diagnostics','Unlocked','Synchronous',null,'http://dvedvb40:7777/orabpel/default/AIADiagnosticsTransformBpelProcess/1.0','process','HTTP','<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body xmlns:ns1="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"> <ns1:PCM_OP_BILL_DEBIT_inputFlist> <ns1:BAL_GRP_OBJ>Test</ns1:BAL_GRP_OBJ> <ns1:DEBIT elem="523"> <ns1:BAL_OPERAND>1000</ns1:BAL_OPERAND> <ns1:TYPE>881</ns1:TYPE> </ns1:DEBIT> <ns1:DESCR>Sample Input</ns1:DESCR> <ns1:END_T>2007-07-31T12:00:00.000+5:30</ns1:END_T> <ns1:POID>A123</ns1:POID> <ns1:PROGRAM_NAME>100</ns1:PROGRAM_NAME> <ns1:SERVICE_OBJ>NA</ns1:SERVICE_OBJ> <ns1:SESSION_OBJ>NA</ns1:SESSION_OBJ> <ns1:START_T>2007-07-31T11:00:00.000+5:30</ns1:START_T> <ns1:STR_VERSION>527</ns1:STR_VERSION> <ns1:STRING_ID>528</ns1:STRING_ID> <ns1:SUB_BALANCES elem="530"> <ns1:CONTRIBUTOR_STR>Diagnostics</ns1:CONTRIBUTOR_STR> <ns1:ROLLOVER_DATA>1</ns1:ROLLOVER_DATA> <ns1:VALID_FROM>2007-07-31T11:00:00.000+5:30</ns1:VALID_FROM> <ns1:VALID_TO>2007-07-31T11:00:00.000+5:30</ns1:VALID_TO> </ns1:SUB_BALANCES> </ns1:PCM_OP_BILL_DEBIT_inputFlist> </soap:Body> </soap:Envelope>','<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <PCM_OP_BILL_DEBIT_outputFlist xmlns:ns0="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes" xmlns="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes"> <ns0:POID>Transformed POID value : A123</ns0:POID> <ns0:RESULTS elem="Transformed Element value : 523"/> </PCM_OP_BILL_DEBIT_outputFlist> </env:Body> </env:Envelope>',null,0,null,null,null,null,'Diagnostics Transformation',null,'DiagTransformationBPEL','1.0',null,null,'AIA Diagnostics',null,null,null,null,null,to_date('01-OCT-07','DD-MON-RR'),'oc4jadmin')
[exec] [sql] java.sql.SQLException: ORA-01843: not a valid month
[exec] [sql] Failed to execute: Insert into CAVS_DEFINITION_NSXPATHS (DEFINITION_ID,NAMESPACE_ALIAS,NAMESPACE) values (501,'env','http://schemas.xmlsoap.org/soap/envelope/')
[exec] [sql] java.sql.SQLException: ORA-02291: integrity constraint (AIA.DEFINITION_NSXPATHS_D_FK) violated - parent key not found
[exec] [sql] *1 of 43 SQL statements executed successfully*
Any advice to solve this issue?
Thanks in advance.
Regards,
K.
Edited by: KaRiNe_Fr on 3 juin 2009 01:55 createDiagnosticsCAVSData.sql instead of createBSRIntegScenarioTables.sql...Hello,
me again...
Is this table CAVS_DEFINITIONS important to be populated for the rest of the AIA installation?
The installation keeps on failing and it is a real issue for us...
If of any use, here are some results from SQL requests onto our AIA database:
SQL> SELECT * FROM NLS_DATABASE_PARAMETERS ;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8ISO8859P15
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD.MM.YYYY
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
PARAMETER VALUE
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.4.0
20 rows selected.
SQL> select to_date('01-OCT-07','DD-MON-RR') from dual;
TO_DATE('
01-OCT-07
Regards,
KaRiNe.
Edited by: KaRiNe_Fr on 3 juin 2009 01:59 -
ORA-01401 and ORA-12899 : "too large for column" error messages
I posted this already in the Database - General forum.
Sorry for the double post.
For the past 8hours, I have been googling about
the related ORA-01401 and ORA-12899 error
messages.
I noticed that ORA-01401 had been removed from the list
of error messages in Oracle 10g documentation.
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10744/e900.htm#sthref30
And, ORA-12899 has been added.
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10744/e12700.htm
1. Is there an official Oracle document (e.g. release notes) stating such facts? If so, please provide the link.
2. Why did Oracle change the error code and not just update ORA-01401?
3. Someone posted in http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:7143933880166
Even if installed Oracle is 10g, when he tried to "insert a 100 into a number(2).",
he supposedly got ORA-01401. So, is ORA-01401 still part of 10g or not?
I have yet to confirm this myself.
Sorry for being meticulous. Our customer just wants to know the
information for the 2nd question. It's hard to convince them without
showing official documents.
Thanks!1)
Well, go to Metalink and check out Note 119119.1 (B.4) and Note:287754.1
2)
Such details are seldom published. One guess is what they changed altered the reason behind the message so using the same code would be a bad idea.
3)
If you are referring to the occurrence of ora-1401 from a select on a XE db, that may be a bug. -
I receive error messages when I am downloading free iphone apps. I get error message 9810 and 9834. Can anyone advise how to resolve this problem? The problem doesn't exist when I'm downloading apps for which I pay.
Hi,
See Here:
http://support.apple.com/kb/TS1276
From Here:
http://support.apple.com/kb/TS1424 -
I'm in UK but am getting Errors 503, 105007 and 105002 when trying to update
I'm in UK but am getting Errors 503, 105007 and 105002 when trying to publish updates to 2 websites. System maintenance is going on right now in US and Australia but nothing about Europe. its Sunday 1900 here ( UTC+1)
I was getting the same errors about 20 hours ago too - surely maintenance in US won't affect Europe and wouldn't prevent publishing for 24 hours?
Any suggestions = I guess the Adobe help desk will be SNAFUFrom BC Blog Post:
Partner registration, Trial site creation Muse Publish, APIs, FTP and some admin section will not be available for 4 hours on all data centers.
If you see the errors after maintenance is complete contact BC Support.
Maybe you are looking for
-
How do I print just part of a sheet in numbers
I'm new to MAC and was told that it is so intuitive... I havn't found that to be true..I guess that it is "intuitive" to someone who wasn't brought up on TRSDOS and Windows... Visicalc, 123, and Excel... They all seemed so easy to understand... W
-
Time Capsule or Airport Extreme
I have a 1st generation Time Capsule that I use as the main wireless access point in my house. All devices connect to it: laptops, iPads, iPods, iPhones, televisions, playstations, etc. I also have gigabit switch plugged into the Time Capsule, and
-
Displaying Months in Matrix Report like Jan-01 Feb-01
How can I display Months like Jan-01 Feb-01 in Matrix Report of Oracle Report 6i. I tried using to_char(myDate,'Mon-YY') but it displayed months in Alphabetical Order like Apr-01 Aug-01 and so on. I need something like this. Item Jan-01 Feb-01 Mar-01
-
Parsing issue (split, replaceall)
I am working on a project for school and I am unable to get a decent PrintWriter statement to work the way I would like. The structure of my classes force me to access an object array through another object array. When I go to print it out in PrintWr
-
My iPod has some sort of lock on it. In itunes a lock appers next to where it shows the amount of free space you have left on your ipod. I can't transfer songs to it and all of my old songs so up in a faded white color, that I can't move either. This