ORA-7445[qkarid()+872] error
Hi,
I am using Binary XML DB .
Here is the DB banner info.
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
I am getting ORA-7445[qkarid()+872] error while executing a query
SELECT XMLCast(XMLQuery('$p/PurchaseOrder/Reference' PASSING OBJECT_VALUE AS "p"
RETURNING CONTENT)
AS VARCHAR2(30)) "Reference"
FROM purchaseorder
WHERE XMLExists('$p/PurchaseOrder[User="SBELL"]' PASSING OBJECT_VALUE AS "p") for update wait 60;
Please advise
Thanks
Update to 11.2.0.3.0 and see if it goes away. If that is not poissble open a tar with Oracle Support
c:\xdb\examples\SXI_Generator>sqlplus SXIGEN/SXIGEN
SQL*Plus: Release 11.2.0.3.0 Production on Mon Mar 5 12:48:17 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> desc PURCHASEORDER
Name Null? Type
TABLE of SYS.XMLTYPE STORAGE BINARY
SQL> SELECT XMLCast(XMLQuery('$p/PurchaseOrder/Reference' PASSING OBJECT_VALUE AS "p"
2 RETURNING CONTENT)
3 AS VARCHAR2(30)) "Reference"
4 FROM purchaseorder
5 WHERE XMLExists('$p/PurchaseOrder[User="SBELL"]' PASSING OBJECT_VALUE AS "p") for update wait 60;
Reference
SBELL-20100408134226318PDT
SBELL-20100419204001680PDT
SBELL-20100420220510663PDT
SBELL-20100422220520735PDT
SBELL-20100427173413101PDT
...Edited by: mdrake on Mar 5, 2012 12:48 PM
Similar Messages
-
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 -
Linux 2.6.18-274.18.1.el5
oracle 11.2.0.1.0
<msg time='2013-01-18T08:06:13.452+09:00' org_id='oracle' comp_id='rdbms'
msg_id='1983831653' type='INCIDENT_ERROR' group='Access Violation'
level='1' host_id='jpbcpwebdb01lnx.jp.fid-intl.com' host_addr='10.161.70.102'
prob_key='ORA 7445 [ph2csql_analyze()+1148]' upstream_comp='' downstream_comp=''
ecid='' errid='55778' detail_path='/apps/oracle/diag/rdbms/p2asiasb/p2asiasb/trace/p2asiasb_ora_9406.trc'>
<txt>Errors in file /apps/oracle/diag/rdbms/p2asiasb/p2asiasb/trace/p2asiasb_ora_9406.trc (incident=55778):
ORA-07445: exception encountered: core dump [ph2csql_analyze()+1148] [SIGSEGV] [ADDR:0x0] [PC:0x265E8F2] [Address not mapped to object] []
</txt>
</msg>
Even run flush share_pool, no luck.
Could you please help?Hi,
Please check
ORA-7445 [ph2csql_analyze] on Active Data Guard (Doc ID 1364370.1)
A temporary workaround is to bounce the standby instance or manually flush the shared pool.
Thanks,
Krishna -
Ora 7445 error happend on 11g r1
I found many ora 07445 error on my database:
Details ID Description Data Dumped Active Status Timestamp [Sorted in descending order]
[Select to show information] Show
111129 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 4:42:27 PM CST
[Select to show information] Show
111369 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 4:38:05 PM CST
[Select to show information] Show
111330 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 4:37:58 PM CST
[Select to show information] Show
111081 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 4:26:51 PM CST
[Select to show information] Show
111025 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 4:19:36 PM CST
[Select to show information] Show
111282 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 3:37:35 PM CST
[Select to show information] Show
111393 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 2:50:21 PM CST
[Select to show information] Show
111497 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 2:02:42 PM CST
[Select to show information] Show
111217 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 1:15:24 PM CST
[Select to show information] Show
111113 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 12:28:06 PM CST
[Select to show information] Show
111281 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 11:41:20 AM CST
[Select to show information] Show
111593 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 11:08:03 AM CST
[Select to show information] Show
111569 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 10:57:24 AM CST
[Select to show information] Show
111329 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 10:50:01 AM CST
[Select to show information] Show
111121 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 10:36:48 AM CST
[Select to show information] Show
110777 ORA 7445 [ttci2u()+3660] [ttci2u()+3660] [SIGSEGV] [ADDR:0x0] [PC:0x105698A0C] [Address not mapped to object] [] [] [] Yes Yes Ready February 2, 2010 3:52:08 AM CST
How to resolve?
Edited by: user3799828 on Feb 2, 2010 1:14 AM
Edited by: user3799828 on Feb 2, 2010 1:15 AMLookup MOS document 310737.1 for this. You are better off raising an SR with Oracle support as others have indicated.
-
Hi,
I have a specific problem on one notebook. It's a windows 2000 SP4. The installation log does not contain an obvious error message. But after installation, the database homepage doesn't start.
When looking in the alert file I find those ORA 7445 and ORA 472 errors. When starting up the database using sqlplus and stepping through nomount , mount, open, it seems that the database is running for a short period and then again ends up with the above errors.
Any ideas?Hi
ORA 7445 indicates that oracle has detected a core dump when attempting a particular operation. To identify a bug you need to look at the first argument after the 7445 error as this identifies the module where the exception was raised. Use this together with the stack produced to identify a bug if possible. The ORA-600/ORA-7445 Troubleshooter will help identify bugs known to core dump in the identified module. https://metalink.oracle.com/metalink/plsql/f?p=130:14:1905955764385093414::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,153788.1,1,0,1,helvetica
Also look into the Customer Introduction to ORA-7445 Errors at https://metalink.oracle.com/metalink/plsql/f?p=130:14:1905955764385093414::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,211909.1,1,0,1,helvetica
-Priya -
After I log in EM, I find some errors:
Hide 204903 ORA-7445 [sdbgrfuio_is_owner()+12] [ACCESS_VIOLATION] [ADDR:0x32931A40] [PC:0x65AED38] [UNABLE_TO_READ] Yes No Ready October 20, 2009 12:03:08 PM CST
EM is too slow. How to improve its speed?YE wrote:
After I log in EM, I find some errors:
Hide 204903 ORA-7445 [sdbgrfuio_is_owner()+12] [ACCESS_VIOLATION] [ADDR:0x32931A40] [PC:0x65AED38] [UNABLE_TO_READ] Yes No Ready October 20, 2009 12:03:08 PM CST
EM is too slow. How to improve its speed?You need to create a Service Request at metalink -
ORA 7445 - [FFFFFFFF7E5DE234]
[i]ORA-07445: exception encountered: core dump ORA-07445: exception encountered: core dump [FFFFFFFF7E5DE234] [SIGSEGV] [Address not mapped to object] [0x123FA07000000] [] [][SIGSEGV] [Address not mapped to object] [0x123FA07000000] [] []
A little background about ORA-7445 much like Ora-600 Error
It's generic error most likely caused by a Bug.
If you can't obtain support from Oracle try to upgrade your Oracle version.
What is an ORA-7445 error?
An ORA-7445 error is raised by an Oracle server process when it has received a fatal signal from the operating system. The error may be raised in either a foreground or background process. The process will normally
write an error to the alert log
write a trace file in either user_dump_dest or background_dump_dest
create a core dump in core_dump_dest
There are many 'illegal' operations that the operating system can trap; a common example is a process writing to an invalid memory location. To protect the system, the offending process will be sent a fatal signal.
Typically, the signals seen are SIGBUS (signal 10, bus error) and SIGSEGV (signal 11, segmentation violation).
There are other UNIX signal and exception that may happen; However, they are likely cause by OS program than a Oracle problem.
Example of other signals are : SIGINT, SIGKILL, SIGSYS. A complete list is available at (Note 1038055.6
An ORA-7445 is a generic error, and can occur from anywhere in the Oracle code. The precise location of the error is identified by the trace file it produces. -
Hi,
oracle 9.2.0.8
os:solaris
one of my (OLAP) prod DB was down with ora-7445.can any one please help.
thanks ,
Sam.sam995972 wrote:
log info:
Thu Apr 3 16 00:42:54 2013
ARCH: Completed archiving log 3 thread 1 sequence 135381
Thu Apr 3 16 00:43:03 2013
Completed checkpoint up to RBA [0x210d6.2.10], SCN: 0x09f8.7497c3b
Completed checkpoint up to RBA [0x210d5.2.10], SCN: 0x09f8.7497c35
Completed checkpoint up to RBA [0x210d4.2.10], SCN: 0x09f8.747b09d
Thu Apr 3 16 00:52:01 2013
Errors in file /ora/admin/JP00DP/udump/JP00DP_ora_16715.trc:
ORA-07445: exception encountered: core dump [0000000101CA36F8] [SIGBUS] [Invalid address alignment] [0xA9875D0008000B] [] []
Thu Apr 3 16 00:52:06 2013
Errors in file /ora/admin/JP00DP/bdump/JP00DP_pmon_17895.trc:
ORA-07445: exception encountered: core dump [0000000101CA33F8] [SIGBUS] [Invalid address alignment] [0xA9875D0008000B] [] []
Thu Apr 3 16 00:52:06 2013
Errors in file /ora/admin/JP00DP/bdump/JP00DP_pmon_17895.trc:
ORA-07445: exception encountered: core dump [0000000101E55984] [SIGBUS] [Invalid address alignment] [0xA9875D0008000B] [] []
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [0000000101CA33F8] [SIGBUS] [Invalid address alignment] [0xA9875D0008000B] [] []
Thu Apr 3 16 00:52:11 2013according to above info it is a BUG.
if you have extended support plz contact support.oracle.com -
please find below errors which occer frequentily in my database
Errors in file d:\oracle\admin\opera\udump\opera_ora_3472.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x8AAA15] [ADDR:0x18] [UNABLE_TO_READ] []
ORA-00600: internal error code, arguments: [kgassg_2], [], [], [], [], [], [], []
My Db version is 10.2.0.3
Please help to resolve such errors.
Thanks in adv.
Best regards,
BhavikDear Bhavik,
Point one:
1) You need to work on
600 is thrown while generating the trace file for 7445
so you need work on ora-7445
2) Please open the d:\oracle\admin\opera\udump\opera_ora_3472.trc
paste the call stack in this thread
3)
Also look for any TNS error in alert log
BTW, Are you from HYD?
Kind Regards,
Rakesh jayappa -
Error: ORA-16778: redo transport error for one or more databases
Hi all
I have 2 database servers"Primary database and physical standby" in test environment( before going to Production)
Before Dataguard broker configuration , DG setup was running fine , redo was being applied and archived on phy standby.
but while enabling configuration i got "Warning: ORA-16607: one or more databases have failed" listener.ora & tnsnames.ora are updated with global_name_DGMGRL
Please help me how can i resolve this issue .Thanks in advance.
[oracle@PRIM ~]$ dgmgrl
DGMGRL for Linux: Version 10.2.0.1.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys
Password:
Connected.
DGMGRL> show configuration
Configuration
Name: test
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database
show database
^
Syntax error before or at "end-of-line"
DGMGRL> remove configuration
Warning: ORA-16620: one or more databases could not be contacted for a delete operation
Removed configuration
DGMGRL> exit
[oracle@PRIM ~]$ connect sys/sys@prim as sysdba
bash: connect: command not found
[oracle@PRIM ~]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:52:30
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
[oracle@PRIM ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:52:48
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 08-OCT-2006 19:52:48
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PRIM_DGMGRLL" has 1 instance(s).
Instance "PRIM", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@PRIM ~]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:54:46
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
[oracle@PRIM ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 08-OCT-2006 19:54:59
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
[oracle@PRIM ~]$ dgmgrl
DGMGRL for Linux: Version 10.2.0.1.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect /
Connected.
DGMGRL> create configuration test as
primary database is PRIM
connect identifier is PRIM
;Configuration "test" created with primary database "prim"
DGMGRL> add database STAN as
connect identifier is STAN
maintained as physical;Database "stan" added
DGMGRL> show configuration
Configuration
Name: test
Enabled: NO
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
DISABLED
DGMGRL> enable configuration
Enabled.
DGMGRL> show configuration
Configuration
Name: test
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database
Current status for "test":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database verbose prim
Database
Name: prim
Role: PRIMARY
Enabled: YES
Intended State: ONLINE
Instance(s):
PRIM
Properties:
InitialConnectIdentifier = 'prim'
LogXptMode = 'ASYNC'
Dependency = ''
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '180'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '30'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/u01/app/oracle/oradata/STAN, /u01/app/oracle/oradata/PRIM'
LogFileNameConvert = '/u01/app/oracle/oradata/STAN, /u01/app/oracle/oradata/PRIM'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'PRIM'
SidName = 'PRIM'
LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=PRIM)(PORT=1521))'
StandbyArchiveLocation = '/u01/app/oracle/flash_recovery_area/PRIM/archivelog/'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = '%t_%s_%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "prim":
Error: ORA-16778: redo transport error for one or more databases
DGMGRL> show database verbose stan
Database
Name: stan
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: ONLINE
Instance(s):
STAN
Properties:
InitialConnectIdentifier = 'stan'
LogXptMode = 'ASYNC'
Dependency = ''
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '180'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '30'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/u01/app/oracle/oradata/PRIM, /u01/app/oracle/oradata/STAN'
LogFileNameConvert = '/u01/app/oracle/oradata/PRIM, /u01/app/oracle/oradata/STAN'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'STAND'
SidName = 'STAN'
LocalListenerAddress = '(ADDRESS=(PROTOCOL=tcp)(HOST=STAND)(PORT=1521))'
StandbyArchiveLocation = '/u01/app/oracle/flash_recovery_area/STAN/archivelog/'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = '%t_%s_%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "stan":
Error: ORA-12545: Connect failed because target host or object does not exist
DGMGRL>This:
Current status for "stan":
Error: ORA-12545: Connect failed because target host or object does not exist
says that your network setup is not correct. You need to resolve that first.
As for Broker setup steps how about the doc or our Data Guard 11g Handbook?
It's 3 DGMGRL commands so I am not sure what 'steps' you need?
Larry -
Recieving ORA-01722 invalid number error while creating a materialized view
Hi,
I am receiving a ORA-01722 invalid number error while creating a materialized view. when run the select statement of the view i don't get any error, but when i use the same select statement to create a materialized view i receive this error. Could any please help in resolving this error. Here is the code i am using to create a materialized view.
CREATE MATERIALIZED VIEW MV_EBS_CH_CLOSED
REFRESH FORCE ON DEMAND
AS
SELECT DISTINCT kr.request_id, org.org_unit_name,
ebs_ch_ticket_type (kr.request_id) ticket_type,
DECODE
(kr.status_code,
'CLOSED_SUCCESS', kr.last_update_date,
'IN_PROGRESS', (SELECT MAX (start_time)
FROM ebs_ch_datastore ecd1
WHERE kr.request_id = ecd1.request_id
AND workflow_step_name =
'Final BA Review and Deployment Exit Criteria')
) closed_date,
substr(krhd.visible_parameter12,1,10) siebel_start_date,
kr.creation_date itg_start_date
FROM kcrt_requests kr,
kcrt_request_types krt,
kcrt_req_header_details krhd, kcrt_request_details krd1,
(SELECT koum.user_id user_id,
DECODE (koup.org_unit_name,
'IT Implementations', 'CHS - Service Management BA',
koup.org_unit_name
) org_unit_name
FROM krsc_org_unit_members koum, krsc_org_units koup
WHERE 1 = 1
AND 'Y' = koup.enabled_flag
AND koum.org_unit_id = koup.org_unit_id
AND EXISTS (
SELECT 'X'
FROM krsc_org_units kouc
WHERE koup.org_unit_id = kouc.org_unit_id
START WITH kouc.parent_org_unit_id =
ANY (SELECT org_unit_id
FROM krsc_org_units krsc_org_units1
WHERE 'Clearinghouse' =
org_unit_name)
CONNECT BY kouc.parent_org_unit_id =
PRIOR kouc.org_unit_id)
UNION
SELECT kou.manager_id user_id,
DECODE
(kou.org_unit_name,
'IT Implementations', 'CHS - Service Management BA',
kou.org_unit_name
) org_unit_name
FROM krsc_org_units kou
WHERE 'Y' = kou.enabled_flag
START WITH kou.parent_org_unit_id =
(SELECT org_unit_id
FROM krsc_org_units krsc_org_units2
WHERE 'Clearinghouse' = org_unit_name)
CONNECT BY kou.parent_org_unit_id = PRIOR kou.org_unit_id) org
WHERE krt.request_type_id = kr.request_type_id
AND krt.request_type_name IN ('Bug Fix', 'IT Enhancement')
and kr.REQUEST_ID = krd1.request_id
and krd1.batch_number = 1
AND kr.request_id = krhd.request_id
AND org.user_id in (krd1.parameter4, krd1.parameter5, krd1.parameter7)
AND ( 'CLOSED_SUCCESS' = kr.status_code
OR 'IN_PROGRESS' = kr.status_code
AND kr.request_id IN (
SELECT request_id
FROM (SELECT DISTINCT request_id,
MAX
(start_time)
closed_date
FROM ebs_ch_datastore
WHERE 'Final BA Review and Deployment Exit Criteria' =
workflow_step_name
GROUP BY request_id))
Thanks,
Shaik MohiuddinThis error occurs when you try to create a materialized view , but if you run the sql the results are perfectly fine. Well it happend to me also and to fix this I made sure all the coulmns have the same data type which are used in joins or in where clause.
use
where
to_number(col1)=to_number(col2) and to_number(col3)=to_number(col4)
hope this helps.. -
How to determine offending column in ORA-01722: invalid number error ...
When an error like
ORA-01722: invalid number error
occurs and you are dealing with many columns that could be the 'culprit', does anyone have a method by which
you can quickly determine offending column?SQL PLus will tell you:
SQL> create table t
2 (col1 number
3 ,col2 number
4 ,col3 number
5 ,col4 number
6 ,col5 number
7 );
Table created.
SQL> create table x
2 (col1 varchar2(10)
3 ,col2 varchar2(10)
4 ,col3 varchar2(10)
5 ,col4 varchar2(10)
6 ,col5 varchar2(10)
7 );
Table created.
SQL> insert into x values ('1','2','x','4','5');
1 row created.
SQL> insert into t(col1,col2,col3,col4,col5)
2 select col1,col2,col3,col4,col5 from x;
select col1,col2,col3,col4,col5 from x
ERROR at line 2:
ORA-01722: invalid numberAnd if you rearrange your sql like this, sql plus will give you the line number of the offending column:
SQL> insert into t
2 (col1
3 ,col2
4 ,col3
5 ,col4
6 ,col5
7 )
8 select col1
9 ,col2
10 ,col3
11 ,col4
12 ,col5
13 from x;
,col3
ERROR at line 10:
ORA-01722: invalid number -
Please help: Case Statement - ORA-01722: invalid number Error
Hi All,
I'm trying to use Case statement to recode Cancelled statuses into two groups
'Reject' if the difference between first date and last date is less than 29 and
'Accept' if the difference between first date and last date is greater than 30
Here is my 'test' data:
STATUS FIRST_DATE LAST_DATE
Transfer 10/08/2011 10/09/2011
Mover 10/08/2011 15/09/2011
Cancel 10/08/2011 16/09/2011
Cancel 10/08/2011 5/09/2011
Here is the syntax
select a.*,
(CASE WHEN a.STATUS ='Cancel' THEN (round(a.LAST_DATE-a.FIRST_DATE))
ELSE 0
END) CAN_DAYS,
(CASE WHEN 'CAN_DAYS' >29 THEN 'Reject'
WHEN 'CAN_DAYS' <30 THEN 'Accept'
END) Reject_Accept
from test a
The first CASE statement works fine and gives me this
STATUS FIRST_DATE LAST_DATE CAN_DAYS
Transfer 10/08/2011 10/09/2011 0
Mover 10/08/2011 15/09/2011 0
Cancel 10/08/2011 16/09/2011 37
Cancel 10/08/2011 5/09/2011 26
but the second CASE produces ORA-01722: invalid number Error. It is something to do with the CAN_DAYS data type, Oracle doesn't see it as Numeric i think.
The result i want to see would be
STATUS FIRST_DATE LAST_DATE CAN_DAYS Reject_Accept
Transfer 10/08/2011 10/09/2011 0
Mover 10/08/2011 15/09/2011 0
Cancel 10/08/2011 16/09/2011 37 Accept
Cancel 10/08/2011 5/09/2011 26 Reject
Could someone please help me to fix the syntax?
Thank you in advance,This seems to give you your desired results...
with test as
( select 'Transfer' as status, to_date('10/08/2011') as first_date, to_date('10/09/2011') as last_date from dual union all
select 'Mover' , to_date('10/08/2011') , to_date('15/09/2011') from dual union all
select 'Cancel' , to_date('10/08/2011') , to_date('16/09/2011') from dual union all
select 'Cancel' , to_date('10/08/2011') , to_date('05/09/2011') from dual
select status
, first_date
, last_date
, CAN_DAYS
, CASE
WHEN CAN_DAYS = 0 THEN NULL
WHEN CAN_DAYS < 30 THEN 'Reject'
WHEN CAN_DAYS >= 30 THEN 'Accept'
END Reject_Accept
from ( select status
, first_date
, last_date
, CASE
WHEN STATUS ='Cancel' THEN round(LAST_DATE-FIRST_DATE)
ELSE 0
END CAN_DAYS
from test
; -
ORA-01722: invalid number error. In Update
create or replace procedure San_Test (sInNum varchar2, outMsg out varchar2)
is
begin
update mtest set
mname = 'Success'
where id in (sInNum);
commit;
outMsg :='Success';
exception
when others then
outMsg :='Err';
dbms_output.put_line(sqlerrm);
end;
This is my test sp where i am getting ORA-01722: invalid number error.
Which is because the column data type is Number of ID and i have sInNum parameter as varchar2.. How can i achieve this ?
I don't have other way to do this please help.Great demonstration for SQL INJECTION, was that part of your OCP training?
CREATE TABLE mtest (id NUMBER, mname VARCHAR2(255));
INSERT INTO mtest VALUES (1, 'test');
INSERT INTO mtest VALUES (2, 'test2');
COMMIT;
CREATE OR REPLACE PROCEDURE san_test (sinnum VARCHAR2, outmsg OUT VARCHAR2)
IS
mnum VARCHAR2 (10);
strsql VARCHAR2 (250);
BEGIN
mnum := REPLACE (sinnum, '''', '');
strsql :=
'update mtest set
mname = ''Success''
where id in (' || mnum || ')';
EXECUTE IMMEDIATE strsql;
COMMIT;
outmsg := 'Success';
EXCEPTION
WHEN OTHERS
THEN
outmsg := 'Err';
DBMS_OUTPUT.put_line (SQLERRM);
END;
SELECT *
FROM mtest;
ID MNAME
1 test
2 test2And now for the fun part:
SET SERVEROUTPUT ON
DECLARE
v_put_msg VARCHAR2(255);
BEGIN
san_test('1) OR (1=1', v_put_msg);
dbms_output.put_line(v_put_msg);
COMMIT;
END;
SELECT *
FROM mtest;
ID MNAME
1 Success
2 SuccessC. -
ORA-01722: invalid number (Error in Application after upgrade to 3.0)
Dear All,
After upgrading to 3.0 I am no longer able to login to my application. The error I am seeing is:
ORA-01722: invalid number
Error Could not process show_hide_memory.show_hide_collection_output procedure !
Please help me pin-point the issue and fixed it.
This happens in some applications but in others it doesn't...
Regards,
Pawel.I believe I have found the source of the problem!
This is coming from the sample application which was used for the show/hide of regions example.
The code behind the above procedure is:
CREATE OR REPLACE
PACKAGE show_hide_memory AS
PROCEDURE show_hide_collection;
PROCEDURE show_hide_collection_output;
END;
CREATE OR REPLACE PACKAGE BODY show_hide_memory AS
PROCEDURE show_hide_collection AS
l_arr apex_application_global.vc_arr2;
l_found boolean := FALSE;
l_collection_name VARCHAR2(255) := 'SHOW_HIDE_COLLECTION';
BEGIN
IF(wwv_flow_collection.collection_exists(p_collection_name => l_collection_name) = FALSE) THEN
htmldb_collection.create_or_truncate_collection(p_collection_name => l_collection_name);
END IF;
l_arr := apex_util.string_to_table(p_string => v('TEMPORARY_ITEM'), p_separator => ']');
-- If the array member count of l_arr < 3, then the following code will raise an exception
FOR c1 IN
(SELECT seq_id
FROM apex_collections
WHERE collection_name = l_collection_name
AND c001 = l_arr(1)
AND c002 = l_arr(2)
AND c003 = l_arr(3))
LOOP
-- It exists, so delete it
apex_collection.delete_member(p_collection_name => l_collection_name, p_seq => c1.seq_id);
l_found := TRUE;
END LOOP;
IF l_found = FALSE THEN
apex_collection.add_member(p_collection_name => l_collection_name, p_c001 => l_arr(1), p_c002 => l_arr(2), p_c003 => l_arr(3));
END IF;
COMMIT;
END show_hide_collection;
PROCEDURE show_hide_collection_output AS
BEGIN
htp.prn('<script type="text/javascript">' || CHR(10));
htp.prn('<!--' || CHR(10));
htp.prn('window.onload=function(){' || CHR(10));
FOR c1 IN
(SELECT c003
FROM apex_collections
WHERE collection_name = 'SHOW_HIDE_COLLECTION'
AND c001 = wwv_flow.g_flow_id
AND c002 = wwv_flow.g_flow_step_id)
LOOP
htp.prn('htmldb_ToggleWithImage(''' || c1.c003 || 'img'',''' || c1.c003 || 'body'');' || CHR(10));
END LOOP;
htp.prn('}' || CHR(10));
htp.prn('//-->' || CHR(10));
htp.prn('</script>' || CHR(10));
END show_hide_collection_output;
END;
I guess now I have to find the bug in the above code !
Maybe you are looking for
-
I had an iPhone 4, and I have just gotten an iPhone 5. How do I restore all of my content and settings from iCloud. The sales lady skipped through that option when she "set up" my phone...
-
How do I get my Safari screen from 1/2 back to full page?
I had opened calculator and must have inadvertently hit a key, because all of sudden my safari screen went to 1/2 a page. I tried some of the comments I found here, but nothing worked. How do I get it back to full screen?
-
Customer Invoices with doc types
Hi All, I want to look for customer invoices based on document types. For ex., all invoices posted using doc type XX. How and where can I look for this information. Any transaction with this criteria or using tables? Regards, Satya
-
IPhone 5 green glow at bottom of screen when 'woken up'
Got my black 16GB iPhone 5 from phones4u on the 17th November 2012. 2 weeks after I had it, I noticed a green glow appear at the bottom of the screen when I pressed one of the buttons to wake it up. This only happened when the phone had been locked f
-
hi., This is satish we requesting to all. I need user exits materials. It is very important me so please any one send the link or pdf file. thanking you all