Instance dead.. by os?
Hi all,
this night one db has shutted down unexpectedly.
This is what i got from trace:
*** SERVICE NAME:(SYS$BACKGROUND) 2007-06-15 02:00:38.058
*** SESSION ID:(325.1) 2007-06-15 02:00:38.058
error 4030 detected in background process
OPIRIP: Uncaught error 447. Error stack:
ORA-00447: fatal error in background process
ORA-04030: out of process memory when trying to allocate bytes (,)
and from alert:
Errors in file d:\oracle\product\10.1.0\admin\hubpdb\bdump\hubpdb_ckpt_6560.trc:
ORA-04030: Message 4030 not found; No message file for product=RDBMS, facility=ORA; arguments: [16908] [pga heap] [Get krha asynch mem]
Fri Jun 15 02:00:22 2007
CKPT: terminating instance due to error 4030
Version 10.1.0.4 on win 2003sp1 (i swear.. not my fault!)
At that hours rman was backing up the db.
I think that the machine run out of memory and os tried to "stole" it from db.
So oracle prevent data corruption by shutting down the instance.
Any ideas?
ps..
Actually everythings seem to be ok. I just wish to avoid this situation again..
Thanks
Acr
Version 10.1.0.4 on win 2003sp1 (i swear.. not my fault!)Is this a 32-bit system?
If yes i think you have a problem with the 2GB (or 3GB) limit. If i am right, you don't have any chance on windows (because of the implementation with threads!).
You can use the following query to determine the usage of memory (without process stack and code size):
select sum(bytes)/1024/1024 MB from
(select bytes from v$sgastat
union
select value bytes from
v$sesstat s,
v$statname n
where
n.STATISTIC# = s.STATISTIC# and
n.name = 'session pga memory'
Regards
Stefan
Similar Messages
-
Determining ORACLE_HOME of a dead Instance
Db version 10g Release 2
OS: AIX
Lets say a machine have 3 dead instances(oraprod45, oraprod46, oraprod47) and now i want to bring up oraprod45. But this machine doesn't have an oratab file and oraenv due to a slightly flawed installation. How can i know the ORACLE_HOME of oraprod45?
Message was edited by:
GarryBThanks everyone.
Two questions:
1)So which is the best way to determine ORACLE_HOME
of a dead instance?
Is this something you inherited and now have to get back on its feet with no good documentation?
If there is no oratab, I'd say the installation was more than 'slightly' flawed!
There's no simple formula. You'll have to do some detective work.
1) Do you have any reason to believe there is more than one Oracle home?
2) Where is your listener.ora and sqlnet.ora? They should be in $ORACLE_HOME/network/admin, so if you find them in a <something>/network/admin, the <something> should be the value of ORACLE_HOME.
3) While there are no guarantees, (see my reply to Jaffy) I'd still look at the .profile for the oracle os account and see if there are any clues there. If there are, and they match what you found in step 2, I'd be comfortable in going with that.
4) report back what you find and we'll go from there.
2) How can i make the listener automatically attach
to a newly created instance? ie. How to enable
Self-registration for a listener?Listeners don't attach to instances. They listen for and service connection requests. In 10g, instances self-register by default. -
Dead instances in corba mode on Mac OSX
Hello,
Since our transition to IDS CS5 we often experience that corba instances run into a dead-lock randomly.
With a dead instance, i mean that the process is still running, the ior file still exists and seems to be valid (the contentstring is the same as on startup), but the application object is lost. It occurs randomly somewhere during execution of our code and almost always on a different part of our code.
I can simulate this state of IndesignServer by running a corba instance on my MacBook Pro, closing the MBP and wait for about an hour. Then reopen it and trying to connect. Then i get:
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemExceptio n.java:2200)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemExceptio n.java:2221)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConne ctionImpl.java:205)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConne ctionImpl.java:218)
at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrC hannelContactInfoImpl.java:101)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientR equestDispatcherImpl.java:152)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.ja va:118)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at com.adobe.ids.basics._ApplicationStub.updateFonts(Unknown Source)
at be.nss.ids.advit.AdvitSession.<init>(AdvitSession.java:98)
at be.nss.documentserver.controller.action.OpenSubDocumentAction.execute(OpenSubDocumentActi on.java:50)
at be.nss.documentserver.controller.ActionQueue$ActionThread.run(ActionQueue.java:231)
Caused by: java.lang.NullPointerException
at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactor yImpl.java:59)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConne ctionImpl.java:188)
... 9 more
This is exactly what i get on our customers servers (which don't "go to sleep" obviously). Just setting my MacBook Pro to a very short sleep time (1 min.) doesn't invoke this error. This makes it hard to simulate the problem. Apparently the sleep invoked by closing the MBP and waiting an hour isn't the same as putting it asleep, all parameters on, after 1 min.
All OSX versions are 10.6
So i have two questions:
1) What are the possible causes of those dead-locks? Errors in our code (both java and our own IDS plugin) normally cause a real instance crash which is traceable.
2) Is there a way to re-establish a connection to a dead instance?
Thanks in advance for any input!
Bart Devos.No one any input? It becomes a real problem reported by several of our customers since we changed to CS5.
Can anyone point me into possible directions we should investigate?
What we checked already:
1) If no more than 1 thread accesses an instance at a time.
2) We checked out what the error log really meant. We found out that this problem was reported since java 1.4.20. We compile all code for 1.5, but customers work java 1.6.24/26. No idea if this is an issue.
3) We checked out the ORB string and found out that the connection was made with an ipaddress and not with a servername, excluding dns problems.
We are really stuck here.
Thanks in advance for any usefull input.
Bart Devos. -
Unable to delete dead instances
Due to somethin g wrong happened (shuch as an abnormal end or crash), it seems that the oidmon tables contain wrong information.
Now trying to stop oidmon also tries to stop non-existing processes. And so oidmon hangs.
Here are messages displayed in oidmon log:
2001/06/29::11:01:24: Could not delete the Instance
2001/06/29::11:01:24: OIDLDAPD Instance 2 deletion failed
2001/06/29::11:01:24: Cannot Stop server instances with PID 0
2001/06/29::11:01:24: Deleting OIDLDAPD instance 4 from Process table
2001/06/29::11:01:24: Instance cn=instance4,cn=osdldapd,cn=subregistrysubentry not found.
I'm looking for any method to refreshing info for oidmon, thus seeting its internal tables into consitent state.hi,
Try restarting your oidctl processes with
the argument flags=" -f" on the oidctl command line. Use other arguments to oidctl as you did previously, before the processes were killed abnormally.
eg,
oidctl connect=xxxxxx server=oidldapd instance=4 flags=" -f" start
The -f flag means "force" this command to overwrite oid info in the database. -
Database open but no processes? Ghost instance?
10.2.0.3.0 RH 5
customer had been doing some SAN work and caused a database problem, listener wouldnt start. Got called to look at it.
ok, lsnrctl status shows its up, I logged into database as sysdba query v$instance, all open and good.
SQL> select * from v$instance;
INSTANCE_NUMBER INSTANCE_NAME
HOST_NAME
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
1 DWH01
DWHBOX
10.2.0.3.0 08-MAY-12 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
SQL>ok, whats the problem? user cant login with a TNS 12530 error, thats strange lets look at the alert log, (this is a test datawarehouse instance with no arc log mode) ... nothing in it since last night some time.
ok, lets see what oracle processes are running. whats that? No oracle processes!
>
[root@DWHBOX ~]# ps -ef | grep pmon
[root@DWHBOX ~]#
>
no, that cant be right, I just logged on to the database, lets have a look at all oracle processes
>
ps -ef | grep ora
root 5067 4933 0 14:45 pts/4 00:00:00 su - oracle
oracle 5068 5067 0 14:45 pts/4 00:00:00 -bash
oracle 5090 5068 0 14:46 pts/4 00:00:00 sqlplus as sysdba
oracle 5091 5090 0 14:46 ? 00:00:00 oracleDWH01 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
root 5113 3065 0 14:46 pts/3 00:00:00 grep ora
root 15237 3823 0 Apr27 ? 00:00:04 sshd: oracle [priv]
oracle 15281 15237 0 Apr27 ? 00:00:06 sshd: oracle@pts/0
oracle 15282 15281 0 Apr27 pts/0 00:00:00 -bash
[root@DWHBOX ~]#
>
woooh, hold on, NO oracle processes at all except for the listener. I must have a typo, stop the listener and do an lsof | grep oracle to see what open files there are, if I can query v$instance then at least the controlfile must be open. (sits on /u01)
>
[root@DWHBOX ~]# lsof | grep oracle
[root@DWHBOX ~]#
>
nothing! I now officially have a ghost database. /shudder/
I know, lets go look at the v$process
>
oracle@DWHBOX ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Tue May 8 14:46:04 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Release 10.2.0.3.0 - Production
SQL>
SQL>
SQL> desc v$process
Name Null? Type
ADDR RAW(4)
PID NUMBER
SPID VARCHAR2(12)
USERNAME VARCHAR2(15)
SERIAL# NUMBER
TERMINAL VARCHAR2(30)
PROGRAM VARCHAR2(48)
TRACEID VARCHAR2(255)
BACKGROUND VARCHAR2(1)
LATCHWAIT VARCHAR2(8)
LATCHSPIN VARCHAR2(8)
PGA_USED_MEM NUMBER
PGA_ALLOC_MEM NUMBER
PGA_FREEABLE_MEM NUMBER
PGA_MAX_MEM NUMBER
SQL> select addr, program from v$process;
ADDR PROGRAM
7F2B2758 PSEUDO
7F2B2D10 oracle@DWHBOX (PMON)
7F2B32C8 oracle@DWHBOX (PSP0)
7F2B3880 oracle@DWHBOX (MMAN)
7F2B3E38 oracle@DWHBOX (DBW0)
7F2B43F0 oracle@DWHBOX (LGWR)
7F2B49A8 oracle@DWHBOX (CKPT)
7F2B4F60 oracle@DWHBOX (SMON)
7F2B5518 oracle@DWHBOX (RECO)
7F2B5AD0 oracle@DWHBOX (CJQ0)
7F2B6088 oracle@DWHBOX (MMON)
ADDR PROGRAM
7F2B6640 oracle@DWHBOX (MMNL)
7F2B6BF8 oracle@DWHBOX (D000)
7F2B71B0 oracle@DWHBOX (S000)
7F2B7768 oracle@DWHBOX (q000)
7F2B7D20 oracle@DWHBOX (QMNC)
7F2B82D8 oracle@DWHBOX (q001)
7F2B8890 oracle@DWHBOX (J000)
7F2B8E48 oracle@DWHBOX (TNS V1-V3)
>
theres the pmon, lets get the PID of pmon and track that down on the OS
>
SQL> select pid, program from v$process;
select pid, program from v$process
ERROR at line 1:
ORA-03113: end-of-file on communication channel
SQL>
>
Ouch, so trying to get the OS PID crashed my session, lets disconnect, sqlplus back in, but now Im on a dead database, so it looks like trying to query the PID killed whatever ghost instance was there
>
SQL> exit
Disconnected from Oracle Database 10g Release 10.2.0.3.0 - Production
[oracle@DWHBOX ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Tue May 8 14:47:35 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL>
>
startup as normal and we're open for business and pmon an all other processes are up.
Can anyone explain that?
Edited by: deebee_eh on May 8, 2012 3:31 PM
Corrected typo: ora 12530 was the original error reported, not 12503.nothing in the alert. no traces, dumps, nothing. A switch last night Mon May 7 22:10:05 2012, and the PID kill from that SQL session with error 472 which I know is something external killing the instance. Im not too bothered by this though, Ive never EVER seen an instance be open with out the corresponding OS processes
Thread 1 advanced to log sequence 71
Current log# 1 seq# 71 mem# 0: /u01/app/datafiles/DWH01/redo01.log
Sun May 6 07:25:55 2012
Thread 1 advanced to log sequence 72
Current log# 2 seq# 72 mem# 0: /u01/app/datafiles/DWH01/redo02.log
Mon May 7 17:00:58 2012
Thread 1 advanced to log sequence 73
Current log# 3 seq# 73 mem# 0: /u01/app/datafiles/DWH01/redo03.log
Mon May 7 22:10:05 2012
Thread 1 advanced to log sequence 74
Current log# 1 seq# 74 mem# 0: /u01/app/datafiles/DWH01/redo01.log
Tue May 8 14:47:22 2012
USER: terminating instance due to error 472
Instance terminated by USER, pid = 5091
Tue May 8 14:48:14 2012
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0 -
Dead Lock what made by another user!(patition table)
I have a question about Dead-Lock!
Our Situation is ..
User "A" made a Patition Table, ACNT_WONJANG
(without any Trigger,Function, Procedure)
When "B" - another user - tried to drop its Partition,
Dead-Lock invoked.
but A droped it's Partition well.
What can i Do?
this is the trace file.
/oracle/home/admin/ACNT/udump/ora_44478_acnt.trc
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
ORACLE_HOME = /oracle/home
System name: AIX
Node name: acnt
Release: 3
Version: 4
Machine: 000C962D4C00
Instance name: ACNT
Redo thread mounted by this instance: 1
Oracle process number: 15
Unix process pid: 44478, image: oracle@acnt (TNS V1-V3)
*** SESSION ID:(16.394) 2001-10-04 15:00:41.829
A self-deadlock among DDL and parse locks
is detected. In most cases, this self-deadlock
is handled internally.
This should be reported to Oracle Support
ONLY IF an error is signalled back to the
user on a command-line or screen.
The following information may aid in finding
user on a command-line or screen.
The following information may aid in finding
the problem.
ORA-04020: deadlock detected while trying to lock object
F03P.ACNT_WONJANG
session: 440786b4 request: X
LIBRARY OBJECT HANDLE: handle=43108348
name=F03P.ACNT_WONJANG
hash=76b93583 timestamp=NULL
namespace=TABL/PRCD/TYPE flags=KGHP/TIM/SML/[02000000]
kkkk-dddd-llll=0000-0001-0001 lock=S pin=S latch=0
lwt=43108360[43108360,43108360] ltm=43108368[43108368,43108368]
pwt=43108378[43108378,43108378] ptm=431083d0[431083d0,431083d0]
ref=43108350[43108350,43108350] lnd=431083dc[4310824c,425b7ec4]
LIBRARY OBJECT: object=431080d0
flags=NEX[0002] pflags= [00] status=VALD load=0
DATA BLOCKS:
data# heap pointer status pins change
0 431082d8 43108154 I/P/A 0 NONE
HEAP DUMP OF DATA BLOCK 0:
HEAP DUMP heap name="library cache" desc=0x431082d8
HEAP DUMP heap name="library cache" desc=0x431082d8
extent sz=0x224 alt=32767 het=8 rec=9 flg=2 opc=0
parent=30000030 owner=431080d0 nex=0 xsz=0x0
EXTENT 0
Chunk 431080c0 sz= 196 perm "perm "
alo=196
431080C0 500000C5 00000000 00000000 000000C4 [P...............]
431080D0 43108348 431080D4 431080D4 431080DC [C..HC...C...C...]
431080E0 431080DC 00000000 00000000 00020100 [C...............]
431080F0 00000000 00000000 00000000 00000000 [................]
43108100 43108144 00000000 00000000 00000000 [C..D............]
43108110 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
43108140 00000000 431082D8 00000000 43108154 [....C.......C..T]
43108150 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
43108170 00000000 00000000 00000019 00000000 [................]
43108180 00000000 [....]
Total heap size = 196
FREE LISTS:
Bucket 0 size=0
Total free space = 0
UNPINNED RECREATABLE CHUNKS (lru first):
Total free space = 0
UNPINNED RECREATABLE CHUNKS (lru first):
PERMANENT CHUNKS:
Chunk 431080c0 sz= 196 perm "perm "
alo=196
Permanent space = 196carlyfromal wrote:
Here's the thing I myself have an Ipad 3 that I got from Ebay that is activation locked and I have the same issue. Can't get the info. Well,since Apple conveniently decided to discontinue selling the Ipad 3 the only way I could get one was to buy a used one,so it looks to me like they could have some mercy and help a person unlock the thing. We're not dishonest people that go around stealing things,yet because of Apple's brilliant(I use that term sarcastically) idea to put this stupid new crap in place people like us who have to buy second-hand products have to suffer and get screwed out of money we had to save up to buy this stuff! And all anyone can come up with is "well boohoo" or "tough luck" or whatever! But,what about the rights of the rest of us?! Some of you may find this a tad rude, but oh well,tough luck!
On the other hand, there are those of us that appreciate the theft protection provided by the latest IOS.
There are certain things to watch out for when purchasing used devices of any sort, the first of which is to ensure that you're not buying stolen property. Since you are unable to obtain cooperation from the seller, perhaps your device was stolen! -
Multiple instances of same portlet on same page
Dead horse, I know, but I am afraid I still don't get it:
I use ONE JSP to extract data as XML, parse the data using XSL, render it. A portlet has some variables that may vary between instances of the same portlet on the same page. I am familiar with this document: http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/PRIMER.PORTLET.PARAMETERS.EVENTS.HTML
but still don't know how to make sure that every portlet gets it's 'own' parameters passed. I pass them and attempt to grap them in the jsp using request.getParameter().
I have played with making each parameter unique using the portlet instance name followed by a '.' and a name, e.g. 35024_LISTPORTLET_49519321.next_page=10.
Setting passAllUrlParams in provider.xml to true helps getting the parameters through, but the side effect is, of course, that all instances get mixed up. Setting it to false does nothing.
PLEASE, is there, somewhere, a document that tells us EXACTLY how to do this? JDev 10g, as10g.
Tnx.Have you read the Public Portlet Parameters Support section of the Portal Developer's Guide?
The question is who passes the parameter to your portlets. If the parameters are passed from within the portlet instance itself, use qualified private portlet parameters. If they're passed from the outside, use page parameters and public portlet parameters.
Hope this helps.
Peter -
Multiple instances of FileOutputStream
Hi, I'm learning how to use Java's multithreading features. I created a class called "ObjectMaker". An instance of this class serializes some objects into a file, using a FileOutputStream (inside an ObjectOutputStream) for writing. In the mean time an other object of another class deserializes those objects reading from the file. Each concurrent access to the file (for writing,reading) is synchronized. Here's the problem:[ u]if each writer has its own FileOutputStream, then the concurrent writing on the file doesn't work (despite of every writer is synchronized on the same object), and the reader aren't able to read anything from the file; if the FileOutputStream is static (every instance share the same FileOutputStream reference) everything works. I read on Documentation that some OS "allow a file to be opened for writing by only one FileOutputStream (or other file-writing object) at a time" .But it also says that I would recive an exception from FileOutputStream if I try to open a file for writing that is already open by another FileOutputStream....and It doesn't happen, no exception are thrown.Then here is the problem:It's possible to manage Multiple instances of FileOutputStream linked on the same file?
Hello Joseph,
Have u been successful on the installation.
There were no replies after yours.
Can you please let me know about installing 2 MDS instances on the same host.
If you have any document you followed please mail me to [email protected]
It will be more helpful as the dead line to this is killing me.
Regards,
VishnuM -
How many workbook can be broadcasted with 1 resgistered precalc instance
Hi all,
i did what you said now i have another question you have mentioned to register 10 instances of the precalculation server on 1 desktop machine, but SAP recommends to register 3 instances in the documentation from matthias nutt. Now the question :
Is there a restriction? How many workbooks can be scheduled and sended via email when having 1 precalculation instance registered in RSPRECADMIN?
Or does it depend on the workbook size and hardware configuration of the desktop? What is therefore recommended from SAP?
Thanks and kind regards,
MuratHi Murat,
We recommend to use only 3 concurrent Instances at once, due to the fact, that excel can get unstable if the number of Excel instances is increased. This comes due to the design of excel. Excel shares global ressources on the system, and communicates itself with RPC to these ressouces. Sometimes these ressources are locked because they are already in use, then Excel waits for the release of the lock and comes into a dead lock situtation because it is not notified when the lock is released.
Technically it is not avaoidable that some precalculations will fail in case massive load scenarios. This is more or less due to the office automation of excel.
I hope this helps.
Thanks,
Michael -
Frequenet dead locks in SQL Server 2008 R2 SP2
Hi,
We are experiencing frequent dead locks in our application. We are using MSSQL Server 2008 R2 SP2 version. When our application is configured for 5-6 app servers, this issue is occurring frequently.
But, when the same application is used with the MSSQL Server 2008 R2 or SQL Server 2012, we don't see the dead lock issue. From the error lock and sql trace, the error message is thrown for the database table JobLock. We have a stored procedure to insert/update
for the above table when the job moves from one service to other. The same procedure works fine when used with the 2008 R2 and SQL Server 2012 Version.
Is the above issue related to the hotfix from the below url?
http://support.microsoft.com/kb/2703275
Following error message is seen frequently in the log file.
INFO : 03/24/2014 10:26:30:290 PM: [00007900:00005932] [Xerox.ISP.Workflow.ManagedActivity.PersistInTransaction] System.Data.SqlClient.SqlException (0x80131904): Transaction (Process ID 62) was deadlocked on lock resources with another process and has been
chosen as the deadlock victim. Rerun the transaction.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteNonQuery(DbCommand command)
at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteNonQuery(DbCommand command, DbTransaction transaction)
at Xerox.ISP.DataAccess.Data.Utility.ExecuteNonQuery(TransactionManager transactionManager, DbCommand dbCommand)
at Xerox.ISP.DataAccess.Data.SqlClient.SqlActivityProviderBase.ActivityReady(TransactionManager transactionManager, Int32 start, Int32 pageLength, Nullable`1 ActivityID, Nullable`1 JobId, String ContentUrl, Nullable`1 PrevWorkStep, Nullable`1
CurrentWorkStep, String Principal, Nullable`1 Status, Nullable`1 ServerID, String HostName, Nullable`1 LockUserID, Nullable`1& ErrorCode, Byte[]& Activity_TS)
at Xerox.ISP.DataAccess.Domain.ActivityBase.ActivityReady(Nullable`1 ActivityID, Nullable`1 JobId, String ContentUrl, Nullable`1 PrevWorkStep, Nullable`1 CurrentWorkStep, String Principal, Nullable`1 Status, Nullable`1 ServerID, String HostName,
Nullable`1 LockUserID, Nullable`1& ErrorCode, Byte[]& Activity_TS, Int32 start, Int32 pageLength)
at Xerox.ISP.DataAccess.Domain.ActivityBase.ActivityReady(Nullable`1 ActivityID, Nullable`1 JobId, String ContentUrl, Nullable`1 PrevWorkStep, Nullable`1 CurrentWorkStep, String Principal, Nullable`1 Status, Nullable`1 ServerID, String HostName,
Nullable`1 LockUserID, Nullable`1& ErrorCode, Byte[]& Activity_TS)
at Xerox.ISP.Workflow.ManagedActivity.<>c__DisplayClass2f.<ActivityReady>b__2d()
at Xerox.ISP.Workflow.ManagedActivity.PersistInTransaction(Boolean createNew, PersistMethod persist)
ClientConnectionId:9e44a64f-5014-4634-9cee-4581e1b9c299
I look forward to the suggestions to get the issue resolved. Your input is much appreciated.
Thanks,
Keshava.If you are having deadlock trouble in your SQL Server instance, this recipe demonstrates how to make sure deadlocks are logged to the SQL ServerManagement Studio SQL log appropriately using
the DBCC TRACEON, DBCC TRACEOFF, and DBCC TRACESTATUS commands. These functions enable, disable, and check the status of trace flags.
To determine the cause of a deadlock, we need to know
the resources involved and the types of locks acquired and requested. For this kind of information, SQL Server provides
Trace Flag 1222 (this flag supersedes 1204, which was frequently used in earlier versions of SQL Server.)
DBCCTRACEON(1222,
-1);
GO
With this flag enabled, SQL Server will provide output in the form of a deadlock graph, showing the executing statements
for each session, at the time of the deadlock; these are the statements that were blocked and so formed the conflict or cycle that led to the deadlock.
Be aware that it is rarely possible to guarantee that deadlocks will never occur. Tuning for deadlocks
primarily involves minimizing the likelihood of their occurrence. Most of the techniques for minimizing the occurrence of deadlocks are similar to the general techniques for minimizing blocking problems. -
Restore using TSPITR Results Dead lock error
This is the step is followed but i am getting deadlock error .please give your valuable suggestion .
Product Used:oracle 11g in linux environmnet
1)Before taking backup get SCN number for restore.
Command applied: Select current_scn from v$database;
2)running Full backup of database
Command applied:
configure controlfile autobackup on;
backup database;
CROSSCHECK BACKUP;
exit;
3)Running level 0 incremental backup
Command applied:
BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 0 TAG ='WEEKLY' TABLESPACE TEST;
exit;
3) Running level 1 incremental backup
Command applied:
BACKUP AS COMPRESSED BACKUPSET INCREMENTAL LEVEL 1 TAG ='DAILY' TABLESPACE TEST;
4)Before Restore(TSPITR) following procedure are applied under sysdba privilege
Command applied:
SQL 'exec dbms_backup_restore.manageauxinstance ('TSPITR',1)';
5)TSPITR Restore command
Command applied:
run
SQL 'ALTER TABLESPACE TEST OFFLINE'
RECOVER TABLESPACE TEST UNTIL SCN 1791053 AUXILIARY DESTINATION '/opt/oracle/base/flash_recovery_area';
SQL 'ALTER TABLESPACE TEST ONLINE';
and i tried with this option also(the same error i was getting)
Command applied:
run
SQL 'ALTER TABLESPACE TEST OFFLINE';
SET UNTIL SCN 1912813;
RESTORE TABLESPACE TEST ;
RECOVER TABLESPACE TEST UNTIL SCN 1912813 AUXILIARY DESTINATION '/opt/oracle/base/flash_recovery_area';
SQL 'ALTER TABLESPACE TEST ONLINE';
The follwing error i get for above mentioned restore command
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Aug 17 18:11:18 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: NEW10 (DBID=2860680927)
RMAN> run
2> {
3> SQL 'ALTER TABLESPACE TEST OFFLINE';
4> RECOVER TABLESPACE TEST UNTIL SCN 1791053 AUXILIARY DESTINATION '/opt/oracle/base/flash_recovery_area';
5> SQL 'ALTER TABLESPACE TEST ONLINE';
6> }
7>
using target database control file instead of recovery catalog
sql statement: ALTER TABLESPACE TEST OFFLINE
Starting recover at 17-AUG-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=404 device type=DISK
RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
List of tablespaces expected to have UNDO segments
Tablespace SYSTEM
Tablespace UNDOTBS1
Creating automatic instance, with SID='BkAq'
initialization parameters used for automatic instance:
db_name=NEW10
db_unique_name=BkAq_tspitr_NEW10
compatible=11.2.0.0.0
db_block_size=8192
db_files=200
sga_target=280M
processes=50
db_create_file_dest=/opt/oracle/base/flash_recovery_area
log_archive_dest_1='location=/opt/oracle/base/flash_recovery_area'
#No auxiliary parameter file used
starting up automatic instance NEW10
Oracle instance started
Total System Global Area 292933632 bytes
Fixed Size 1336092 bytes
Variable Size 100666596 bytes
Database Buffers 184549376 bytes
Redo Buffers 6381568 bytes
Automatic instance created
Running TRANSPORT_SET_CHECK on recovery set tablespaces
TRANSPORT_SET_CHECK completed successfully
contents of Memory Script:
# set requested point in time
set until scn 1791053;
# restore the controlfile
restore clone controlfile;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log
sql 'alter system archive log current';
# avoid unnecessary autobackups for structural changes during TSPITR
sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
executing Memory Script
executing command: SET until clause
Starting restore at 17-AUG-10
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=59 device type=DISK
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/base/flash_recovery_area/NEW10/autobackup/2010_08_17/o1_mf_s_727280767_66nmo8x7_.bkp
channel ORA_AUX_DISK_1: piece handle=/opt/oracle/base/flash_recovery_area/NEW10/autobackup/2010_08_17/o1_mf_s_727280767_66nmo8x7_.bkp tag=TAG20100817T142607
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
output file name=/opt/oracle/base/flash_recovery_area/NEW10/controlfile/o1_mf_66o0wsh8_.ctl
Finished restore at 17-AUG-10
sql statement: alter database mount clone database
sql statement: alter system archive log current
sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
contents of Memory Script:
# set requested point in time
set until scn 1791053;
# set destinations for recovery set and auxiliary set datafiles
set newname for clone datafile 1 to new;
set newname for clone datafile 8 to new;
set newname for clone datafile 3 to new;
set newname for clone datafile 2 to new;
set newname for clone datafile 9 to new;
set newname for clone tempfile 1 to new;
set newname for datafile 7 to
"/opt/oracle/base/oradata/NEW10/test01.dbf";
# switch all tempfiles
switch clone tempfile all;
# restore the tablespaces in the recovery set and the auxiliary set
restore clone datafile 1, 8, 3, 2, 9, 7;
switch clone datafile all;
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
renamed tempfile 1 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_temp_%u_.tmp in control file
Starting restore at 17-AUG-10
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_%u_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00008 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_%u_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00003 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_undotbs1_%u_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00002 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_%u_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00009 to /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_%u_.dbf
channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnndf_TAG20100817T140128_66nl7174_.bkp
channel ORA_AUX_DISK_1: piece handle=/opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnndf_TAG20100817T140128_66nl7174_.bkp tag=TAG20100817T140128
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:02:45
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00007 to /opt/oracle/base/oradata/NEW10/test01.dbf
channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnnd0_WEEKLY_66nl9m8k_.bkp
channel ORA_AUX_DISK_1: piece handle=/opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnnd0_WEEKLY_66nl9m8k_.bkp tag=WEEKLY
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:06:55
Finished restore at 17-AUG-10
datafile 1 switched to datafile copy
input datafile copy RECID=6 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_66o0x1sf_.dbf
datafile 8 switched to datafile copy
input datafile copy RECID=7 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_66o0x1r9_.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=8 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_undotbs1_66o0x1vr_.dbf
datafile 2 switched to datafile copy
input datafile copy RECID=9 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_66o0x1vj_.dbf
datafile 9 switched to datafile copy
input datafile copy RECID=10 STAMP=727294911 file name=/opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_66o0x1rs_.dbf
contents of Memory Script:
# set requested point in time
set until scn 1791053;
# online the datafiles restored or switched
sql clone "alter database datafile 1 online";
sql clone "alter database datafile 8 online";
sql clone "alter database datafile 3 online";
sql clone "alter database datafile 2 online";
sql clone "alter database datafile 9 online";
sql clone "alter database datafile 7 online";
# recover and open resetlogs
recover clone database tablespace "TEST", "SYSTEM", "UNDOTBS1", "SYSAUX" delete archivelog;
alter clone database open resetlogs;
executing Memory Script
executing command: SET until clause
sql statement: alter database datafile 1 online
sql statement: alter database datafile 8 online
sql statement: alter database datafile 3 online
sql statement: alter database datafile 2 online
sql statement: alter database datafile 9 online
sql statement: alter database datafile 7 online
Starting recover at 17-AUG-10
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting incremental datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00007: /opt/oracle/base/oradata/NEW10/test01.dbf
channel ORA_AUX_DISK_1: reading from backup piece /opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnnd1_DAILY_66nmf6qs_.bkp
channel ORA_AUX_DISK_1: piece handle=/opt/oracle/base/flash_recovery_area/NEW10/backupset/2010_08_17/o1_mf_nnnd1_DAILY_66nmf6qs_.bkp tag=DAILY
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
starting media recovery
archived log for thread 1 with sequence 39 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_39_66nmc1dg_.arc
archived log for thread 1 with sequence 40 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_40_66nmcfw4_.arc
archived log for thread 1 with sequence 41 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_41_66nmcwcf_.arc
archived log for thread 1 with sequence 42 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_42_66nmddbw_.arc
archived log for thread 1 with sequence 43 is already on disk as file /opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_43_66o0wyys_.arc
archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_39_66nmc1dg_.arc thread=1 sequence=39
archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_40_66nmcfw4_.arc thread=1 sequence=40
archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_41_66nmcwcf_.arc thread=1 sequence=41
archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_42_66nmddbw_.arc thread=1 sequence=42
archived log file name=/opt/oracle/base/flash_recovery_area/NEW10/archivelog/2010_08_17/o1_mf_1_43_66o0wyys_.arc thread=1 sequence=43
media recovery complete, elapsed time: 00:00:50
Finished recover at 17-AUG-10
database opened
contents of Memory Script:
# make read only the tablespace that will be exported
sql clone 'alter tablespace TEST read only';
# create directory for datapump import
sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''
/opt/oracle/base/flash_recovery_area''";
# create directory for datapump export
sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''
/opt/oracle/base/flash_recovery_area''";
executing Memory Script
sql statement: alter tablespace TEST read only
sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/opt/oracle/base/flash_recovery_area''
sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/opt/oracle/base/flash_recovery_area''
Performing export of metadata...
EXPDP> Starting "SYS"."TSPITR_EXP_BkAq":
EXPDP> Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
EXPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE
EXPDP> Processing object type TRANSPORTABLE_EXPORT/GRANT/OWNER_GRANT/OBJECT_GRANT
EXPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX
EXPDP> Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
EXPDP> Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
EXPDP> Processing object type TRANSPORTABLE_EXPORT/TRIGGER
EXPDP> Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
EXPDP> Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
EXPDP> Master table "SYS"."TSPITR_EXP_BkAq" successfully loaded/unloaded
EXPDP> ******************************************************************************
EXPDP> Dump file set for SYS.TSPITR_EXP_BkAq is:
EXPDP> /opt/oracle/base/flash_recovery_area/tspitr_BkAq_82690.dmp
EXPDP> ******************************************************************************
EXPDP> Datafiles required for transportable tablespace TEST:
EXPDP> /opt/oracle/base/oradata/NEW10/test01.dbf
EXPDP> Job "SYS"."TSPITR_EXP_BkAq" successfully completed at 18:25:02
Export completed
contents of Memory Script:
# shutdown clone before import
shutdown clone immediate
# drop target tablespaces before importing them back
sql 'drop tablespace TEST including contents keep datafiles';
executing Memory Script
database closed
database dismounted
Oracle instance shut down
sql statement: drop tablespace TEST including contents keep datafiles
Removing automatic instance
shutting down automatic instance
target database instance not started
Automatic instance removed
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_temp_66o1k480_.tmp deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/onlinelog/o1_mf_3_66o1k0mg_.log deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/onlinelog/o1_mf_2_66o1jyt4_.log deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/onlinelog/o1_mf_1_66o1jx3w_.log deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_66o0x1rs_.dbf deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_sysaux_66o0x1vj_.dbf deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_undotbs1_66o0x1vr_.dbf deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_66o0x1r9_.dbf deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/datafile/o1_mf_system_66o0x1sf_.dbf deleted
auxiliary instance file /opt/oracle/base/flash_recovery_area/NEW10/controlfile/o1_mf_66o0wsh8_.ctl deleted
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 08/17/2010 18:25:36
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of sql command on default channel at 08/17/2010 18:25:25
RMAN-11003: failure during parse/execution of SQL statement: drop tablespace TEST including contents keep datafiles
ORA-00604: error occurred at recursive SQL level 1
ORA-00060: deadlock detected while waiting for resource
Recovery Manager complete.
please give your valuable suggestion .It should be more helpful for us.
Edited by: user10750009 on Aug 20, 2010 1:07 AM
Edited by: user10750009 on Aug 20, 2010 1:15 AMI want TSPITR ,during this operation i faced this deadlock error.
Before that we faced roll backsegment error for that we applied follwing workaround .
If i applied follwing workaround before every backup and restore .i didn't get any error .all things went successful.
spool /tmp/Createtest.log
connect / as sysdba
REM Perform startup in case we are still down
ALTER SYSTEM SET PROCESSES=500 SCOPE=SPFILE;
SHUT IMMEDIATE;
STARTUP MOUNT EXCLUSIVE;
ALTER DATABASE ARCHIVELOG;
ARCHIVE LOG START;
ALTER DATABASE OPEN;
connECT / as sysdba;
alter system set undo_management = MANUAL scope=spfile;
shutdown immediate;
startup;
Connect / as sysdba;
DROP TABLE TEST123;
create table test123 (t1 number, t2 varchar2(10));
begin
for i in 1.. 300000 loop
insert into test values (i,'AAAAAAAAAA');
end loop;
end;
delete test123;
commit;
alter system set undo_management = auto scope=spfile;
shutdown immediate ;
startup ;
The above workaround we applied before creating tablespace and datafile ,after that we face some dead lock error while restore TSPITR .Did you need any more information
Edited by: user10750009 on Aug 20, 2010 1:12 AM -
Hello. I'm not very knowledgeable when it comes to DBA work, but I've hit a snag and would appreciate a little advice. I have an Oracle XE install on my home computer for keeping track of business receipts and such. Recently I couldn't connect to APEX and started looking into it. When I tried to connect with SQL+, I would get the message:
ERROR:
OR-01033: ORACLE initialization or shutdown in progress
So I stopped and started the DB, checked to see the listener service was going, and still have the issue. I checked my alert_xe.log file, and it's... huge. Attached at the bottom, I included a fragment of my log file that consists of the last recent timestamp.
I do have a script that runs on my computer that does an EXP every night on my schema, but if I try an IMP, I get the same message (which makes sense since my DB apparently isn't running).
What would be your suggestions? I wanted some advice before I uninstalled and re-installed then imported my dmp backups.
Thanks to any necromancers who can help me bring this back from the dead!
Kerry.
Dump file e:\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log
Thu Oct 29 20:40:40 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Windows XP Version V5.1 Service Pack 2
CPU : 1 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:211M/511M, Ph+PgF:1012M/1247M, VA:1945M/2047M
Thu Oct 29 20:40:40 2009
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =10
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Thu Oct 29 20:40:52 2009
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sessions = 49
__shared_pool_size = 104857600
__large_pool_size = 8388608
__java_pool_size = 4194304
__streams_pool_size = 0
spfile = E:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DBS\SPFILEXE.ORA
sga_target = 146800640
control_files = E:\ORACLEXE\ORADATA\XE\CONTROL.DBF
__db_cache_size = 25165824
compatible = 10.2.0.1.0
db_recovery_file_dest = E:\oraclexe\app\oracle\flash_recovery_area
db_recovery_file_dest_size= 10737418240
undo_management = AUTO
undo_tablespace = UNDO
remote_login_passwordfile= EXCLUSIVE
dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
shared_servers = 4
job_queue_processes = 4
audit_file_dest = E:\ORACLEXE\APP\ORACLE\ADMIN\XE\ADUMP
background_dump_dest = E:\ORACLEXE\APP\ORACLE\ADMIN\XE\BDUMP
user_dump_dest = E:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
core_dump_dest = E:\ORACLEXE\APP\ORACLE\ADMIN\XE\CDUMP
db_name = XE
open_cursors = 300
os_authent_prefix =
pga_aggregate_target = 41943040
PSP0 started with pid=3, OS id=2988
MMAN started with pid=4, OS id=2992
PMON started with pid=2, OS id=2984
DBW0 started with pid=5, OS id=3004
LGWR started with pid=6, OS id=3008
CKPT started with pid=7, OS id=3012
SMON started with pid=8, OS id=3016
RECO started with pid=9, OS id=3020
CJQ0 started with pid=10, OS id=3024
MMON started with pid=11, OS id=3028
MMNL started with pid=12, OS id=3032
Thu Oct 29 20:40:55 2009
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Thu Oct 29 20:41:00 2009
alter database mount exclusive
Thu Oct 29 20:41:05 2009
Setting recovery target incarnation to 2
Thu Oct 29 20:41:05 2009
Successful mount of redo thread 1, with mount id 2582644764
Thu Oct 29 20:41:05 2009
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Thu Oct 29 20:41:05 2009
alter database open
Thu Oct 29 20:41:06 2009
Beginning crash recovery of 1 threads
Thu Oct 29 20:41:06 2009
Started redo scan
Thu Oct 29 20:41:07 2009
Completed redo scan
9180 redo blocks read, 514 data blocks need recovery
Thu Oct 29 20:41:07 2009
Started redo application at
Thread 1: logseq 797, block 5520
Thu Oct 29 20:41:09 2009
Recovery of Online Redo Log: Thread 1 Group 2 Seq 797 Reading mem 0
Mem# 0 errs 0: E:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_2MXYQN2G_.LOG
RECOVERY OF THREAD 1 STUCK AT BLOCK 28 OF FILE 2
Thu Oct 29 20:41:11 2009
Aborting crash recovery due to error 1172
Thu Oct 29 20:41:11 2009
Errors in file e:\oraclexe\app\oracle\admin\xe\udump\xe_ora_3080.trc:
ORA-01172: recovery of thread 1 stuck at block 28 of file 2
ORA-01151: use media recovery to recover block, restore backup if needed
ORA-1172 signalled during: alter database open...
Thu Oct 29 20:55:05 2009
db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Thu Oct 29 22:50:17 2009
WARNING: inbound connection timed out (ORA-3136)Billy Verreynne wrote:
Kamran Agayev A. wrote:
Let it be a lesson for you to take RMAN backup of your database and to be able to recover your database from almost any situation you areOn XE.. by an end-user with very little to no Oracle experience, never mind DBA experience!? Come on! That is a totally unrealistic expectation on your part.
Rather think how you can assist an end-user with an XE database to make regular backups of his database in case of a problem. Be constructive instead of pointing a finger and go "+lesson must be learned+".
What do you think he should be doing for backups? Run schema exports? If so, how does he backup APEX applications? DB exports? Rman? Run the database in archive log mode?
Remember, that XE is fully an end-user environment. That is the market that Oracle choose to aim XE at.. and that is the market that our "solutions" offered here should be aimed at.Hi Billy
As it's written in doc which Forstmann has suggested, it's possible to use RMAN in XE database. You're right, may be it's not so simple to make backups directly from RMAN utility, but it's possible:
In Oracle Database XE, the database backup and recovery facility is based upon the Recovery Manager (RMAN) utility that is integrated into the database. Although there is an RMAN command line client similar to SQL Command Line, you do not need to interact with it directly to back up or restore your database. Oracle Database XE includes backup and restore scripts that you access using menu choices on your desktop. These scripts perform a full backup and restore of the entire database, and store backup files in the flash recovery area
Just my 2 cents
P.S.By google-ing I've found a blog post for backing up XE and APEX. Hope this article might be helpful for OP
http://beyondoracle.wordpress.com/2008/06/19/basic-oraclexe-apex-backup/
Edited by: Kamran Agayev A. on Oct 30, 2009 12:16 PM -
Terminating instance due to error - CKPT process terminated with error
Hi Folks !
i have a problem with my oracle 10g it works under an debain 3.1. In my alert.log i have see an error-message, the database terminating.
Thu Feb 15 13:01:21 2007
Errors in file /u01/app/oracle/admin/tlp/bdump/tlp_pmon_9689.trc:
ORA-00469: CKPT process terminated with error
Thu Feb 15 13:01:21 2007
PMON: terminating instance due to error 469
Instance terminated by PMON, pid = 9689
A look into the trace file:
/u01/app/oracle/admin/tlp/bdump/tlp_pmon_9689.trc
Oracle Database 10g Release 10.2.0.1.0 - Production
ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1
System name: Linux
Node name: hyperion
Release: 2.6.18.1-vs2.1.1-rc48-vserver
Version: #1 SMP PREEMPT Wed Nov 15 16:53:41 CET 2006
Machine: i686
Instance name: tlp
Redo thread mounted by this instance: 1
Oracle process number: 2
Unix process pid: 9689, image: oracle@hyperion (PMON)
*** 2007-02-15 13:01:21.813
*** SERVICE NAME:(SYS$BACKGROUND) 2007-02-15 13:01:21.813
*** SESSION ID:(170.1) 2007-02-15 13:01:21.813
Background process CKPT found dead
Oracle pid = 7
OS pid (from detached process) = 9700
OS pid (from process state) = 9700
dtp = 0x2000c9ac, proc = 0x672b14c4
Dump of memory from 0x2000C9AC to 0x2000C9D8
2000C9A0 00000076 [v...]
2000C9B0 672B14C4 00000000 00000000 54504B43 [..+g........CKPT]
2000C9C0 00000200 000025E4 0A8BA210 00000001 [.....%..........]
2000C9D0 70F2A67F 00040081 [...p....]
Dump of memory from 0x672B14C4 to 0x672B1A78
672B14C0 00000102 00000000 00000000 [............]
672B14D0 00000000 00000000 65621FF8 67825F00 [..........be._.g]
672B14E0 673C0034 678250A4 00000000 67825108 [4.<g.P.g.....Q.g]
672B14F0 67825108 67825EF4 01000601 673AB4A0 [.Q.g.^.g......:g]
672B1500 673C0034 00000007 00000000 00000000 [4.<g............]
672B1510 00000000 674CB40C 674CC04C 00000000 [......LgL.Lg....]
672B1520 00000000 00000000 00000000 00000000 [................]
Repeat 3 times
672B1A70 00000003 00000005 [........]
error 469 detected in background process
ORA-00469: CKPT process terminated with error
What can i do ? Have you any ideas to fix the problem ?
Problem 2:
After the error message i start my server and see in my alert.log:
Starting background process QMNC
QMNC started with pid=17, OS id=17164
Thu Feb 15 14:33:45 2007
Errors in file /u01/app/oracle/admin/tlp/udump/tlp_ora_17122.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15
Thu Feb 15 14:33:45 2007
db_recovery_file_dest_size of 5120 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Thu Feb 15 14:33:46 2007
Completed: ALTER DATABASE OPEN
hyperion:/u01/app/oracle/logs# less /u01/app/oracle/admin/tlp/udump/tlp_ora_17122.trc
Node name: hyperion
Release: 2.6.18.1-vs2.1.1-rc48-vserver
Version: #1 SMP PREEMPT Wed Nov 15 16:53:41 CET 2006
Machine: i686
Instance name: tlp
Redo thread mounted by this instance: 1
Oracle process number: 15
Unix process pid: 17122, image: oracle@hyperion (TNS V1-V3)
*** SERVICE NAME:() 2007-02-15 14:33:39.169
*** SESSION ID:(159.7) 2007-02-15 14:33:39.169
Thread 1 checkpoint: logseq 204, block 3873, scn 6263056
cache-low rba: logseq 204, block 63015
on-disk rba: logseq 204, block 66596, scn 6301195
start recovery at logseq 204, block 63015, scn 0
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 1790Kb in 0.18s => 9.71 Mb/sec
Total physical reads: 4096Kb
Longest record: 20Kb, moves: 0/2889 (0%)
Change moves: 0/32 (0%), moved: 0Mb
Longest LWN: 299Kb, moves: 0/503 (0%), moved: 0Mb
Last redo scn: 0x0000.0060260a (6301194)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 2
Average hash chain = 477/472 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 8228/8877 = 0.9
*** 2007-02-15 14:33:39.382
KCRA: start recovery claims for 477 data blocks
*** 2007-02-15 14:33:39.398
KCRA: blocks processed = 477/477, claimed = 477, eliminated = 0
*** 2007-02-15 14:33:39.403
Recovery of Online Redo Log: Thread 1 Group 2 Seq 204 Reading mem 0
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 2
Average hash chain = 477/472 = 1.0
Max compares per lookup = 2
Avg compares per lookup = 7619/8700 = 0.9
Error in executing triggers on database startup
*** 2007-02-15 14:33:45.811
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15
Any ideas ?
Thanks
BlueYour basic problem seems to be you have a trigger, which wants to use OLAP functionality, but OLAP is not installed or not available for whatever reason
Error in executing triggers on database startup <================
*** 2007-02-15 14:33:45.811
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15
So check your database startup triggers.
Werner -
My Ipod classic 160gb is dead,It only responds when I plug it in to cpu via usb cable then the screen blinks.When I try to reset it the Apple logo appears but the apple logo blinks on and off to as long as i hold the buttons down,when i realease the reset buttons it just blinks back and fourth to the blank gray screen,it worked fine yesterday night this morning its tanked.is this unit completely dead or can something be done at home?
Thank you for your help
IceI wrote this long time ago, have a read and see whether it can be soloved
If a sad iPod icon or an exclamation point and folder icon appears on your iPod’s screen, or with sounds of clicking or HD whirring, it is usually the sign of a hard drive problem and you have the power to do something about it now. Your silver bullet of resolving your iPod issue – is to restore your iPod to factory settings.
http://docs.info.apple.com/article.html?artnum=60983
If you're having trouble, try these steps at different levels one at a time until the issue is resolved. These steps will often whip your iPod back into shape.
Make sure you do all the following “TRYs”
A. Try to wait 30 minutes while iPod is charging.
B. Try another FireWire or USB through Dock Connector cable.
C. Try another FireWire or USB port on your computer .
D. Try to disconnect all devices from your computer's FireWire and USB ports.
E. Try to download and install the latest version of iPod software and iTunes
http://www.apple.com/itunes/download/
For old and other versions of iPod updater for window you can get here
http://www.ipodwizard.net/showthread.php?t=7369
F. Try these five steps (known as the five Rs) and it would conquer most iPod issues.
http://www.apple.com/support/ipod/five_rs/
G. Try to put the iPod into Disk Mode if it fails to appear on the desktop
http://docs.info.apple.com/article.html?artnum=93651
If none of these steps address the issue, you may need to go to Intermediate level listed below in logical order. Check from the top of the lists to see if that is what keeping iPod from appearing on your computer in order for doing the Restore.
Intermediate Level
A. Try to connect your iPod with another computer with the iPod updater pre-installed.
B. Still can’t see your iPod, put it in Disk Mode and connect with a computer, instead of doing a Restore on iPod Updater. Go and format the iPod instead.
For Mac computer
1. Open the disk utility, hope your iPod appears there (left hand side), highlight it
2. Go to Tab “Partition”, click either “Delete” or “Partition”, if fails, skip this step and go to 3
3. Go to Tab “Erase” , choose Volume Format as “MAC OS Extended (Journaled), and click Erase, again if fails, skip it and go to 4
4. Same as step 3, but open the “Security Options....” and choose “Zero Out Data” before click Erase. It will take 1 to 2 hours to complete.
5. Eject your iPod and do a Reset
6. Open the iTunes 7 and click “Restore”
For Window computer
Go to folder “My Computer”
Hope you can see your iPod there and right click on the iPod
Choose “Format”. Ensure the settings are at “Default” and that “Quick Format” is not checked
Now select “Format”
Eject your iPod and do a Reset
Open the iTunes 7 and click “Restore”
In case you do not manage to do a “Format” on a window computer, try to use some 3rd party disk utility software, e.g.“HP USB Disk Storage Format Tool”.
http://discussions.apple.com/thread.jspa?threadID=501330&tstart=0
C. Windows users having trouble with their iPods should locate a Mac user. In many cases when an iPod won't show up on a PC that it will show up on the Mac. Then it can be restored. When the PC user returns to his computer the iPod will be recognized by the PC, reformatted for the PC, and usable again. By the way, it works in reverse too. A Mac user often can get his iPod back by connecting it to a PC and restoring it.
Tips
a. It does not matter whether the format is completed or not, the key is to erase (or partly) the corrupted firmware files on the Hard Drive of the iPod. After that, when the iPod re-connected with a computer, it will be recognized as an fresh external hard drive, it will show up on the iTunes 7.
b. It is not a difficult issue for a Mac user to find a window base computer, for a PC user, if they can’t find any Mac user, they can go to a nearest Apple Shop for a favor.
c. You may need to switch around the PC and Mac, try to do several attempts between “Format” and “Restore”
http://discussions.apple.com/thread.jspa?messageID=2364921�
Advance Level
A. Diagnostic mode solution
If you have tried trouble shooting your iPod to no avail after all the steps above, chances are your iPod has a hardware problem. The iPod's built-in Diagnostic Mode is a quick and easy way to determine if you have a "bad" iPod.
You need to restart your iPod before putting it into Diagnostic Mode. Check that your hold switch is off by sliding the switch away from the headphone jack. Toggle it on and off to be safe.
Press and hold the following combination of buttons simultaneously for approximately 10 seconds to reset the iPod.
iPod 1G to 3G: "Menu" and "Play/Pause"
iPod 4G+ (includes Photo, Nano, Video, and Mini): "Menu" and "Select"
The Apple logo will appear and you should feel the hard drive spinning up. Press and hold the following sequence of buttons:
iPod 1G to 3G: "REW", "FFW" and "Select"
iPod 4G+ (includes Photo, Nano, Video, and Mini): "Back" and "Select"
You will hear an audible chirp sound (3G models and higher) and the Apple logo should appear backwards. You are now in Diagnostic Mode. Navigate the list of tests using "REW" and "FFW". The scroll wheel will not function while in diagnostic mode. For further details on Diagnostic mode can be found at http://www.methodshop.com/mp3/ipodsupport/diagnosticmode/
Try to do the 5in1, HDD R/W and HDD scan tests. Some successful cases have been reported after the running the few tests under the Diagnostic mode. In case it does not work in your case, and the scan tests reports show some errors then it proves your iPod has a hardware problem and it needs a repairing service.
B. Format your iPod with a start disk
I have not tried this solution myself, I heard that there were few successful cases that the users managed to get their iPod (you must put your iPod in disk mode before connecting with a computer) mounted by the computer, which was booted by a system startup disk. For Mac, you can use the Disk Utility (on the Tiger OS system disk), for PC user, you can use the window OS system disk. Try to find a way to reformat your iPod, again it does not matter which format (FAT32, NTFS or HFS+) you choose, the key is to erase the corrupted system files on the iPod. Then eject your iPod and do a Reset to switch out from Disk Mode. Reboot your computer at the normal way, connect your iPod back with it, open the iPod updater, and hopefully your iPod will appear there for the Restore.
If none of these steps address the issue, your iPod may need to be repaired.
Consider setting up a mail-in repair for your iPod http://depot.info.apple.com/ipod/
Or visit your local Apple Retail Store http://www.apple.com/retail/
In case your iPod is no longer covered by the warranty and you want to find a second repairing company, you can try iPodResQ or ifixit at your own risk
http://www.ipodresq.com/index.php
http://www.ifixit.com/
Just in case that you are at the following situation
Your iPod warranty is expired
You don’t want to pay any service charges
You are prepared to buy a new one
You can’t accept the re-sell value of your broken iPod
Rather than leave your iPod as paper-weight or throw it away.
You can try the following, but again, only do it as your last resort and at your own risk.
Warning !!!! – It may or may not manage to solve your problem, and with a risk that you may further damage your iPod, which end up as an expensive paper weight or you need to pay more higher repairing cost. Therefore, please re-consider again whether you want to try the next level
Last Resort Level
1. . Disconnecting the Hard Drive and battery inside the iPod – Warning !! Your iPod warranty will be waived once you open the iPod.
In Hong Kong there are some electronic shops offering an iPod service for Sad iPod, the first thing they do is to open up the iPod’s case and disconnecting the battery and the Hard Drive from the main board of the iPod. Wait for 5-10 minutes and reconnecting them back. The reason behind which I can think of is to do a fully reset of a processor of the iPod. In case you want do it itself and you believe that you are good on fixing the electronics devices and have experience to deal with small bits of electronic parts, then you can read the following of how to open the iPod case for battery and HDD replacement (with Quicktimes)
http://eshop.macsales.com/tech_center/index.cfm?page=Video/directory.html
2.Press the reset button on the Hard Drive inside the iPod – Suggestion from Kill8joy
http://discussions.apple.com/thread.jspa?messageID=2438774#2438774
Have I tried these myself? No, I am afraid to do it myself as I am squeamish about tinkering inside electronic devices, I have few experiences that either I broke the parts (which are normally tiny or fragile) or failed to put the parts back to the main case. Therefore, I agree with suggestion to have it fixed by a Pro.
2. Do a search on Google and some topics on this discussion forum about “Sad iPod”
Exclamation point and folder and nothing else
Spank your iPod
http://www.youtube.com/watch?v=3ljPhrFUaOY
http://discussions.apple.com/thread.jspa?messageID=3597173#3597173
Exclamation point and folder and nothing else
http://discussions.apple.com/thread.jspa?messageID=2831962#2831962
What should I do with my iPod? Send it or keep it?
http://discussions.apple.com/thread.jspa?threadID=469080&tstart=0
Strange error on iPod (probably death)
http://discussions.apple.com/thread.jspa?threadID=435160&start=0&tstart=0
Sad Face on iPod for no apparent reason
http://discussions.apple.com/thread.jspa?threadID=336342&start=0&tstart=0
Meeting the Sad iPod icon
http://askpang.typepad.com/relevant_history/2004/11/meeting_the_sad.html#comment -10519524
Sad faced iPod, but my computer won’t recognize it?
http://discussions.apple.com/thread.jspa?messageID=2236095#2236095
iPod Photo: unhappy icon + warranty question
http://discussions.apple.com/thread.jspa?messageID=2233746#2233746
4th Gen iPod Users - are we all having the same problem?
http://discussions.apple.com/message.jspa?messageID=2235623#2235623
Low Battery, and clicking sounds
http://discussions.apple.com/thread.jspa?messageID=2237714#2237714
Sad faced iPod, but my computer won’t recognize it
http://discussions.apple.com/thread.jspa?messageID=2242018#2242018
Sad iPod solution
http://discussions.apple.com/thread.jspa?threadID=412033&tstart=0
Re: try to restore ipod and it says "can't mount ipod"
http://discussions.apple.com/thread.jspa?threadID=443659&tstart=30
iPod making clicking noise and is frozen
http://discussions.apple.com/thread.jspa?messageID=2420150#2420150
Cant put it into disk mode
http://discussions.apple.com/thread.jspa?messageID=3786084#3786084
I think my iPod just died its final death
http://discussions.apple.com/thread.jspa?messageID=3813051
Apple logo & monochrome battery stay
http://discussions.apple.com/thread.jspa?messageID=3827167#3827167
My iPod ism’t resetting and isn’t being read by my computer
http://discussions.apple.com/thread.jspa?messageID=4489387#4489387
I am not suggesting that you should follow as well, but just read them as your reference. You are the person to make the call.
Finally, I read a fair comments from dwb, regarding of slapping the back of the iPod multiple times
Quote “This has been discussed numerous times as a 'fix'. It does work, at least for a while. In fact I remember using the same basic trick to revive Seagate and Quantam drives back in the mid to late 1980's. Why these tiny hard drives go bad I don't know - could be the actuator gets stuck in place or misaligned. Could be the platter gets stuck or the motor gets stuck. 'Stiction' was a problem for drives back in the 80's. Unfortunately the fix can cause damage to the platter so we temporarily fix one problem by creating another. But I know of two instances where a little slap onto the table revived the iPods and they are still worked a year or more later.”UnQuote -
APEX error: Found dead shared server
Hi,
I frequently encounter an error when working with APEX. If I submit any change to APEX, fi a change on some page item, APEX asks me to whether I'd like to save the wwv_flow_accept URL. I then get a file save dialog. This doesn't happen all the time, but something like 2 out of 10 times I submit something.
Looking at the database logs, I see an entry in alert.log with this information:
<pre>
Fri May 22 17:56:36 2009
Errors in file c:\oraclexe\app\oracle\admin\xe\bdump\xe_s004_1948.trc:
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_npierr+487] [PC:0x5F22C3] [ADDR:0x4] [UNABLE_TO_READ] []
Fri May 22 17:56:40 2009
found dead shared server 'S004', pid = (18, 1)
</pre>
Looking into the respective trace file gives me this information:
<pre>
Dump file c:\oraclexe\app\oracle\admin\xe\bdump\xe_s004_1948.trc
Fri May 22 17:56:36 2009
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Windows XP Version V5.1 Service Pack 3
CPU : 1 - type 586, 1 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:727M/1511M, Ph+PgF:1181M/2133M, VA:1428M/2047M
Instance name: xe
Redo thread mounted by this instance: 1
Oracle process number: 18
Windows thread id: 1948, image: ORACLE.EXE (S004)
*** ACTION NAME:(PAGE 4311) 2009-05-22 17:56:36.625
*** MODULE NAME:(APEX:APPLICATION 4000) 2009-05-22 17:56:36.625
*** CLIENT ID:(CKH_DEV:2151496271973569) 2009-05-22 17:56:36.625
*** SESSION ID:(29.4) 2009-05-22 17:56:36.625
*** 2009-05-22 17:56:36.625
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_npierr+487] [PC:0x5F22C3] [ADDR:0x4] [UNABLE_TO_READ] []
Current SQL statement for this session:
COMMIT
----- PL/SQL Call Stack -----
object line object
handle number name
267D174C 1275 package body APEX_030200.WWV_FLOW
267D174C 5421 package body APEX_030200.WWV_FLOW
267D174C 13366 package body APEX_030200.WWV_FLOW
26521088 30 anonymous block
----- Call Stack Trace -----
memory dump follows
</pre>
Has anybody an idea what is going wrong on my machine here?
Best regards,
JürgenHi,
I took a bit of time to dig deeper into this issue. I came to the conclusion that there is a bug in Oracle XE:
If you connect to Oracle XE database using the EPG path and if you create a report that gets its data over a database link, the shared server processes used to connect to the database break.
What I did to produce this error:
I installed Oracle XE Universal Edition on a Windows XP system
I then updated APEX to the latest version 3.2
At the database I simply created a database link pointing to the same schema the APEX-application is running at. I tested the database link.
I then produced a simple test application with just one Report (I also tried a PPR-report with the same result) that displays orders with a query in line with this:
<pre>
select o.order_id, i.order_item_id, i.quantity, p.product_name, i.unit_price, i.unit_price * i.quantity amount
from demo_orders@ckh o, demo_order_items@ckh i, demo_product_info@ckh p
where o.order_id = i.order_id
and i.product_id = p.product_id
order by o.order_id, i.order_item_id
</pre>
When I ran this application, I was sometimes able to see the report without an error, sometimes a shared server process broke. You can watch the processes breaking by opening the admin/bdump directory and see how the database writes trace files for the shared server processes.
Interesting to see is that the error happens not only when you try to see the report. If you hit the edit page link while running the page or if you submit the page definition with the link query in it, the same is likely to happen. You can see this error happening when APEX offers you to download the call to wwv_flow or the f-procedure. The contents of this download then is:
<pre>IBMPC/WIN_NT-8.1.0</pre>
with some binary information in front of the message.
Another bug I'd like to add came up when I was lucky to see the report with the PPR-template. I tried pagination but this wouldn't work. Looking into this, I found the following link:
<pre>
javascript:html_PPR_Report_Page(this,'R2060428410112776','javascript:$a_report('2060428410112776','16','15','15');')
</pre>
To my understanding this can't work at all if you look a the apostrophes. So how to proceed with this???
This to me is a severe problem, as I wanted to utilize APEX as a frontend for a production database to report the contents. I was informed by Varad that a way around this is to use an Apache access to Oracle XE but as far as I'm informed, this forces me into a licenced version in order to be able to run mod_plsql.
I read about the mod_owa-approach, but the programmers state that this is not compatible with APEX. So my question is: Do you have any suggestion on how to proceed with this?
Thanks,
Jürgen
Edited by: j.sieben on May 27, 2009 5:41 PM
Maybe you are looking for
-
Multiple Apple Id's on Supervised ipads
I've prepared (using Apple Configurator) our school ipads and now want to give a group to our preschool teachers. I've created an apple id on the computer that is the school Apple ID and I've loaded a bunch of free apps onto the pads (still need to
-
Hi, I'm working with java.net.URL to code a simple program that read a file and get the archive described in this file. Actualy, the file is an HTML document done by a third party, and the program just have to read this file and download all the othe
-
Email issue receiving multiple messages from same source
For some reason, when I get two emails at once from a course I'm taking, they show up on my iphone, but only one shows in my macbook inbox. Once I open it in my macbook, it deletes the other on my iphone. ***?
-
Mass Photo Upload using Who's Who
Hi, I want to upload Mass Photos using Who's Who .Pls. suggest if any one having this information Thanks & Regards, Hemant V. Mahale
-
Syncing PSE 10 albums in iTunes 11
In iTunes 11, why can't photos sync with Selected albums in PSE 10? All photos and albums is the default choice and the Selected albums option is grayed out. This feature used to work before I upgraded iTunes and PSE (from PSE 7). All the albums wer