Running shutdown abort
When calling shutdown immediate and it lasts long
because of rolling back some transaction, I call
shutdown abort and start the instance, the crash recovery
succeeds, is there any reason for shutting down normal
again to last long too (there are no transactions to roll back)?
Hi,
any reason for shutting down normal do you mean shutdown normalWhen shutting down normal, Oracle waits for connected users to willingly disconnect (you can kill the sessions too though). Check if you've gor jobs running (DBA_JOBS_RUNNING) because they 'connect' to the database in order to run. This could be the reason why it takes a long time.
For example if I bounce one of my main DBs, once it's open, at least 5 jobs will start running. If I issue shutdown normal it'll wait for these job to finish their tasks.
Regards,
Yoann.
Similar Messages
-
How to startup database after shutdown abort
Hi.
I had a havy load transaction, coudn't kill, so I run shutdown abort,
now I can't open database, that is massage I get:
"ORA-16038: log 3 sequence# 52 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1:
'/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_48fpv6q1_.log'
ORA-00312: online log 3 thread 1:
'/u01/app/oracle/flash_recovery_area/ORCL/onlinelog/o1_mf_3_48fpv95v_.log'
What to do?Upss sorry:
Check your flashrecovery area directory, it's full and your redo logs cannot be archived
release the space..
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
Edited by: Kamran Agayev A. on Mar 5, 2009 8:27 PM -
Hi,
I wrote a procedure to be run before reinstalling a database. As I am not interested in rolling back, or waiting for transactions to finish, I am using SHUTDOWN ABORT to drop users. Everything works well in ORACLE 9i but it cannot restart in 10g - error:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor.
The procedure looks like:
SHUTDOWN ABORT
STARTUP RESTRICT
declare
cursor cnt_usr is
Select username from dba_users where username in (....some user names);
str_cmd varchar2(400):='';
begin
FOR usr IN cnt_usr LOOP
BEGIN
str_cmd := 'DROP USER '|| usr.username || ' CASCADE ' ;
dbms_output.put_line ('Executing: '|| str_cmd);
EXECUTE IMMEDIATE str_cmd;
EXCEPTION
WHEN OTHERS THEN str_cmd := ' ';
END;
END LOOP;
end;
ALTER SYSTEM DISABLE RESTRICTED SESSION;
exit;
Any idea what may cause the error?
Thank you
Dan> You do know that Abort means to kill the database.
Incorrect. It simply means that the database is shutdown in an inconsistent state - i.e. with "open" transactions and thus "dirty" data.
However, Oracle is designed as a very robust database and this is not a problem. It simply gets the database into a consistent state again on the next startup.
The risk is that something or someone interferes (mucks up) Oracle data files before the next db start - without the redo logs for example, the instance will have a hard time trying to recover the database and get it into a consistent state.
The danger is thus not Oracle, but the Idiot Factor one tends to get with cowboy-type administrators.
What is questionable though is the OP's script that requires the database to be shutdown and started up for a series of drop schemas. That is using a Very Large Hammer to drive in a Very Small Nail. It is a total overkill - not too mention impacting database availability.. And I do not think that our environment is so special/unique that it the exception to measure Oracle instance uptime in 1000's of hours. -
Shutdown abort during switch over?
Hello,
I seem to notice a different behaviour between 11.2.0.1 and 11.2.0.2 during switchover on Linux 64 bit.
On primary I'm connected in sqlplus
ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY;
Database altered.
exit
In alert.log:
Fri Dec 03 11:52:50 2010
Process (ospid 15296) is suspended due to switchover to physical standby operation.
Enter again in sqlplus
SQL> SHUTDOWN IMMEDIATE;
ORA-01092: ORACLE instance terminated. Disconnection forced
in alert.log
Fri Dec 03 11:53:23 2010
Performing implicit shutdown abort due to switchover to physical standby
Shutting down instance (abort)
License high water mark = 811
USER (ospid: 16022): terminating the instance
Instance terminated by USER, pid = 16022
Fri Dec 03 11:53:25 2010
Instance shutdown complete
ORA-1092 : opitsk aborting process
remaining inside sql session:
SQL> STARTUP MOUNT;
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
exit and restart sqlplus
SQL> STARTUP MOUNT;
ORACLE instance started.
Total System Global Area 2739171328 bytes
Fixed Size 2229640 bytes
Variable Size 1207962232 bytes
Database Buffers 1509949440 bytes
Redo Buffers 19030016 bytes
in alert.log
Fri Dec 03 11:55:02 2010
Starting ORACLE instance (normal)
****************** Huge Pages Information *****************
Huge Pages memory pool detected (total: 1500 free: 1500)
DFLT Huge Pages allocation successful (allocated: 1313)
And then normal election to primary for the dr RDBMS.
But I didn't notice this "shutdown abort" when using 11.2.0.1.
The same happens if at the beginning I remain in sqlplus sesison and try to run "startup mount"
Is this expected?
Thanks in advance,
GianlucaIf you use IMMEDIATE, an ABORT will be performed anyway as of 11.2.0.2 and you would see the following in the alert
Performing implicit shutdown abort due to switchover to physical standby
Shutting down instance (abort)
So the answer is Yes.
You can confirm this yourself by reviewing :
11.2 Data Guard Physical Standby Switchover Best Practices using SQL*Plus [ID 1304939.1]
Best Regards
mseberg
Wow, this question is way old! Please open your own question user user11311455, you caught me before I had coffee.
Edited by: mseberg on Aug 17, 2011 8:09 AM -
Loss of all controlfile,database is automatic shutdown abort?
Your database is configured in NOARCHIVELOG mode. All the control files have been lost due to a hard disk failure but the data files are not lost. You have the closed whole database backup available to you. Which two statements are true in this scenario? (Choose two.)
A) The instance aborts.
B) The database cannot be recovered.
C) The database can be recovered by restoring the control files from the backup.
D) The database remains opened and you have to shut it down with the ABORT option.
E) The database can be restored till the point of the last closed whole database backup.
noarchivelog mode , before open database i had rman backup full database;
idle> conn / as sysdba
Connected.
idle> alter database open;
Database altered.
idle> conn anbob/anbob
Connected.
anbob@ANBOB> create table testdelctl(id int);
Table created.
anbob@ANBOB> insert into testdelctl values(999);
1 row created.
anbob@ANBOB> commit;
Commit complete.
anbob@ANBOB> conn system/oracle
Connected.
system@ANBOB> select * from v$controlfile;
STATUS
NAME
IS_ BLOCK_SIZE FILE_SIZE_BLKS
/oracle/oradata/anbob/control01.ctl
NO 16384 430
/oracle/oradata/anbob/control02.ctl
NO 16384 430
/oracle/oradata/anbob/control03.ctl
NO 16384 430
system@ANBOB> !rm /oracle/oradata/anbob/control*.ctl
system@ANBOB> !ls /oracle/oradata/anbob/
redo01.log redo03.log system01.dbf undotbs01.dbf users01.dbf
redo02.log sysaux01.dbf temp01.dbf undotbs2.dbf
system@ANBOB> select open_mode from v$database;
select open_mode from v$database
ERROR at line 1:
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/oracle/oradata/anbob/control01.ctl'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3
system@ANBOB> select status from v$instance;
STATUS
OPEN
sys@ANBOB> conn anbob/anbob
Connected.
anbob@ANBOB> select * from testdelctl;
ID
999
anbob@ANBOB> insert into testdelctl values(0);
1 row created.
anbob@ANBOB> commit;
Commit complete.
anbob@ANBOB> conn / as sysdba
Connected.
sys@ANBOB> alter systme checkpoint;
alter systme checkpoint
ERROR at line 1:
ORA-00940: invalid ALTER command
sys@ANBOB> alter system checkpoint;
System altered.
sys@ANBOB> select status from v$instance;
STATUS
OPEN
sys@ANBOB> select * from v$version where rownum=1
2 ;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
sys@ANBOB> shutdown immediate
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/oracle/oradata/anbob/control01.ctl'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3
sys@ANBOB> shutdown abort
ORACLE instance shut down.
sys@ANBOB> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes
Variable Size 96471284 bytes
Database Buffers 67108864 bytes
Redo Buffers 2973696 bytes
ORA-00205: error in identifying control file, check alert log for more info
sys@ANBOB> select status from v$instance;
STATUS
STARTED
[oracle@aix ~]$ rman target/
Recovery Manager: Release 10.2.0.1.0 - Production on Thu Jul 14 22:32:12 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: anbob (not mounted)
RMAN> restore controlfile;
Starting restore at 14-JUL-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 07/14/2011 22:32:27
RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
RMAN> restore controlfile from autobackup;
Starting restore at 14-JUL-11
using channel ORA_DISK_1
recovery area destination: /oracle/flash_recovery_area
database name (or database unique name) used for search: ANBOB
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: /oracle/flash_recovery_area/ANBOB/autobackup/2011_07_14/o1_mf_s_756511643_71xy4xjm_.bkp
channel ORA_DISK_1: control file restore from autobackup complete
output filename=/oracle/oradata/anbob/control01.ctl
output filename=/oracle/oradata/anbob/control02.ctl
output filename=/oracle/oradata/anbob/control03.ctl
Finished restore at 14-JUL-11
RMAN> alter database open;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 07/14/2011 22:32:52
ORA-01507: database not mounted
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> alter database open;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 07/14/2011 22:33:12
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
RMAN> alter database open resetlogs;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 07/14/2011 22:33:19
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle/oradata/anbob/system01.dbf'
RMAN> recover database;
Starting recover at 14-JUL-11
Starting implicit crosscheck backup at 14-JUL-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
Crosschecked 3 objects
Finished implicit crosscheck backup at 14-JUL-11
Starting implicit crosscheck copy at 14-JUL-11
using channel ORA_DISK_1
Finished implicit crosscheck copy at 14-JUL-11
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /oracle/flash_recovery_area/ANBOB/autobackup/2011_07_14/o1_mf_s_756511643_71xy4xjm_.bkp
using channel ORA_DISK_1
starting media recovery
archive log thread 1 sequence 19 is already on disk as file /oracle/oradata/anbob/redo03.log
archive log thread 1 sequence 20 is already on disk as file /oracle/oradata/anbob/redo01.log
archive log filename=/oracle/oradata/anbob/redo03.log thread=1 sequence=19
archive log filename=/oracle/oradata/anbob/redo01.log thread=1 sequence=20
media recovery complete, elapsed time: 00:00:03
Finished recover at 14-JUL-11
RMAN> alter database open resetlogs;
database opened
RMAN> exit
Recovery Manager complete.
o[oracle@aix ~]$ ora
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 14 22:34:23 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
sys@ANBOB> !ls /oracle/oradata/anbob/
control01.ctl control03.ctl redo02.log sysaux01.dbf temp01.dbf undotbs2.dbf
control02.ctl redo01.log redo03.log system01.dbf undotbs01.dbf users01.dbfconn anbob
sys@ANBOB> conn anbob
Enter password:
Connected.
anbob@ANBOB> select * from tab;
TNAME TABTYPE CLUSTERID
TESTCHAR TABLE
TT TABLE
TESTTRUN TABLE
TESTADDM TABLE
TEST TABLE
TESTFUNIDX TABLE
TEAM TABLE
MEMB TABLE
TESTENC TABLE
TESTREC TABLE
BIN$p/SuvHy7sn7gQKjA9QF/dQ==$0 TABLE
DETP TABLE
TESTDELCTL TABLE
DEPT TABLE
TESTFLS TABLE
15 rows selected.
anbob@ANBOB> select * from testdelctl;
ID
999
0
why,loss of all controlfile,the database not abort?Satish Kandi wrote:
The files, which are in use by a process, are not actually deleted when one issues rm command.
Its only when the process terminates that the locks are released and file is actually deleted at operating system level.I concur!
This behavior is *NIX only.
Windows explicitly prevents open files from being deleted.
Edited by: sb92075 on Jul 14, 2011 9:18 PM -
Can a "shutdown abort" cause a fractured block?
Hey there, simple question: Can a "shutdown abort" cause a fractured block?
I'm currently doing some postmortem work on an old DB (EBS R12 OBA) installation and what might lead to a fractured block. It appears that once a fractured block is detected, Oracle Support automatically shuffles the issue off as a "serious issue within the OS/HW layer". I suppose as a DBA this means they can wash their hands of the issue and pass it on to someone else.
So far it appears that an OS level app could compromise the write of logical blocks to OS blocks. It also appears that logical volume configuration (pertaining to an older AIX install) could lead to fractured blocks. Yet another article indicates that an HBA I/O error could lead to this issue. And of course file-system corruption.
But...going back to the original question, can a shutdown abort on a database introduce a fractured block?It cannot. A shutdown abort or any abnormal termination means that active transactions are terminated without COMMIT or ROLLBACK. When you start the database after a SHUTDOWN ABORT or any other abnormal termination, Oracle says the active transactions failed and rolls them back. You will be left with the database in a consistent state as if those active transactions never occurred. I suppose you could say that until recovery is complete the block could be in a fractured state meaning that the contents could be inconsistent. But once the database is opened, the block is consistent and not fractured.
HTH,
Brian -
Database is hang during shutdown abort (Urgent Production Issue)
Hi Gurus
In my production system while shutdown immediate , database was hang.
When we logged in system and gave shutdown abort its again hang.
Pls suggest me what could be the reason and how it can be solved
ThanksTue Oct 21 05:01:09 2008
Shutting down instance: further logons disabled
Tue Oct 21 05:45:19 2008
ksvcreate: Process(q005) creation failed
Tue Oct 21 05:45:30 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:45:42 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:45:54 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:46:06 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:46:18 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:46:30 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:46:42 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:46:54 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:47:06 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:47:18 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:47:30 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:47:42 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:47:54 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:48:06 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:48:18 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:48:30 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:48:42 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:48:54 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:49:06 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:49:18 2008
ksvcreate: Process(q000) creation failed
Tue Oct 21 05:49:24 2008
Shutting down instance (abort)
License high water mark = 26
Termination issued to instance processes. Waiting for the processes to exit
Tue Oct 21 05:49:35 2008
Instance termination failed to kill one or more processes
Tue Oct 21 06:06:43 2008
Instance terminated by USER, pid = 20613 -
If shutdown immediate hangs database waits one hour for shutdown abort
we have schedules cold backup for our 11g database on redhat 5.3.
there is a shell script written with shutdown immediate command.
If database hangs during shutdown immediate database waits one hour for auto shutdown abort.
but this happens once or twice in a month
can we do this auto shutdown abort earlier than one hour ??user13376823 wrote:
we have schedules cold backup for our 11g database on redhat 5.3.
Since you're shutting down the database for cold backup so ensure it should be shutdown properly by shutdown or shutdown immediate cmd not by abort cmd.
Consistent backup:-
A backup taken when the database is mounted (but not open) after a normal shutdown. The checkpoint SCNs in the datafile headers match the header information in the control file. None of the datafiles has changes beyond its checkpoint. Consistent backups can be restored without recovery.
http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1007616 -
ASM instance shutdown abort automatic on 10gr2 RAC
Hi all, I have a oracle 10gR2 RAC on solaris9 with three nodes.the node2 and node3 work right,but the ASM instance on node1 often shutdown abort automatic and no any erros in alertlog file.
why ?
Fri Nov 3 10:17:39 2006
Shutting down instance (abort)
License high water mark = 6
Instance terminated by USER, pid = 15327Does anyone know ?
-
whats the worst thing that can happen when you kill oracle procee kill -9 or do shutdown abort ?
will oracle always get away with instance recovery ?
or it could corrupt redo log?
will there be need for recovery or restore?whats the worst thing that can happen when you kill oracle procee kill -9 or do shutdown abort ?Database will shut down in inconsistent state and in next startup it need the instance recovery which is done automatically by SMON process.
will oracle always get away with instance recovery ?
or it could corrupt redo log? What you do mean by this line? Not clear to me what you want to ask
will there be need for recovery or restore?No need to restore and recovery is required in case of instance crash.
--neeraj -
Dear All,
I want to make build an application (.exe) from a VI and I don´t want the front panel to show the running, running continuously, abort execution and pause buttons (VI Toolbar Buttons). The purpose is to make a SCADA application without the risk of accidental STOP.
Maybe the question is too trivial but I am new to LabVIEW and I don´t find the way to do it (I unchecked the "Show Abort Button", from the VI properties menuo of the Build Specifications but nothing happens).
Thank you very much
Javier
Solved!
Go to Solution.Just hide the entire toolbar.
LabVIEW Champion . Do more with less code and in less time . -
I get a popup window on shutdown: abort installation?
I get a popup window on shutdown asking if I want to abort installation. I don't know what program is trying to install. But that generally stops the shutdown from completing. How do I find what application is being installed, and eliminate it?
Running 10.10.2 on Macbook proThis has been going on for a while, I have no idea what it might be. The window does not state what is trying to be installed. Aborting the installation sometimes results in a shutdown, but also can block the shutdown, so I get a blank screen with the cursor - no spinning wheel.
I just looked at the activity monitor, but have no idea how to read that. The following is just an example of part of what it shows.
Activity Monitor 4.0 1.16 9 2 2139 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
Firefox 0.9 16:19.59 52 14 466 janstittleburg 70 KB 280 KB 70 216 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
FMCore 0.4 1:18.61 15 25 353 janstittleburg 13 KB 79 KB 716 717 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
distnoted 0.2 33.55 7 0 216 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
Mail 0.2 2:07.01 14 7 621 janstittleburg 11 KB 39 KB 90 109 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
Photoshop 0.1 6:56.10 22 2 1066 janstittleburg 40 KB 12 KB 317 317 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
Logitech Control Center Daemon 0.0 1.00 3 0 335 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
Suitcase Fusion 5 0.0 7.01 18 1 224 janstittleburg 39 KB 396 bytes 396 396 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 32 bit No No
No - 0 bytes 0 bytes 0 bytes No
NETserver 0.0 1.29 2 0 382 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 32 bit No No
No - 0 bytes 0 bytes 0 bytes No
AdobeCrashDaemon 0.0 0.19 1 0 1068 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
mdworker 0.0 1.00 4 0 2059 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
Notification Center 0.0 1.36 3 0 337 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
mdworker 0.0 0.11 3 0 2062 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
DataDetectorsDynamicData 0.0 0.14 2 0 435 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes Yes
No - 0 bytes 0 bytes 0 bytes No
Preview 0.0 4.30 3 0 1538 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
iCloud Photos 0.0 0.67 7 0 343 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
TabletDriver 0.0 0.10 3 0 392 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
CalNCService 0.0 0.56 2 0 297 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes Yes
No - 0 bytes 0 bytes 0 bytes No
storelegacy 0.0 0.04 2 0 441 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
com.apple.hiservices-xpcservice 0.0 0.01 2 0 1351 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
com.apple.BKAgentService 0.0 0.03 2 0 1541 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes Yes
No - 0 bytes 0 bytes 0 bytes No
accountsd 0.0 0.54 2 0 300 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
storedownloadd 0.0 0.05 2 0 444 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
diagnostics_agent 0.0 0.31 2 0 349 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
mdworker 0.0 0.15 3 0 1832 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
IMDPersistenceAgent 0.0 0.06 2 0 303 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
mdworker 0.0 14.86 4 0 447 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
com.apple.ColorSyncXPCAgent 0.0 0.01 2 0 1069 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
CoreServicesUIAgent 0.0 0.40 3 0 306 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
loginwindow 0.0 1.60 2 0 70 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
UserEventAgent 0.0 2.04 3 0 214 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
com.apple.audio.SandboxHelper 0.0 0.01 2 0 1602 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
tccd 0.0 0.77 2 0 263 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes Yes
No - 0 bytes 0 bytes 0 bytes No
ContainerMetadataExtractor 0.0 0.08 2 0 407 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
storeaccountd 0.0 0.30 4 0 312 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
Alert Detector 0.0 0.32 3 0 410 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
Adobe Acrobat Pro 0.0 0.00 1 0 220 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 32 bit No No
No - 0 bytes 0 bytes 0 bytes No
com.apple.iCloudHelper 0.0 0.07 3 0 2135 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
secd 0.0 0.77 2 0 269 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
com.apple.wifi.proxy 0.0 0.26 2 0 318 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
Calculator 0.0 0.65 3 0 223 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
helpd 0.0 0.02 2 0 1228 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
iconservicesagent 0.0 0.28 2 0 272 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes Yes
No - 0 bytes 0 bytes 0 bytes No
ScopedBookmarkAgent 0.0 0.42 2 0 560 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
CalendarAgent 0.0 6.77 4 0 275 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No Yes
No - 0 bytes 0 bytes 0 bytes No
SystemUIServer 0.0 7.08 4 0 229 janstittleburg 3 KB 0 bytes 719 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
lsuseractivityd 0.0 0.77 3 0 284 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
cloudd 0.0 5.44 9 0 293 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes Yes
No - 0 bytes 0 bytes 0 bytes No
Dock 0.0 3.29 7 0 228 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
nsurlstoraged 0.0 1.26 2 0 289 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No
fontd 0.0 4.99 3 0 249 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit No No
No - 0 bytes 0 bytes 0 bytes No
cfprefsd 0.0 4.97 5 0 218 janstittleburg 0 bytes 0 bytes 0 0 0 bytes 0 bytes
0 bytes 0 bytes 0 bytes 64 bit Yes No
No - 0 bytes 0 bytes 0 bytes No -
Detect and Prevent SHUTDOWN ABORT
Hello all,
Is there any way to pre-detect the database when (for some reason) it is about to shutdown with the abort option?
My concern, is whether there exist any way that can be used to notify the user (even the sysdba) that such event happenedHello back,
This is what I've found the day the db went down, and the trigger was not fired
Wed Jul 27 04:32:38 2011
Errors in file d:\oracle\admin\db_name\bdump\db_name_lgwr_1988.trc:
ORA-00345: redo log write error block 180877 count 2
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\db_name\REDO01.LOG'
ORA-27072: skgfdisp: I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
Wed Jul 27 04:32:40 2011
Errors in file d:\oracle\admin\db_name\bdump\db_name_lgwr_1988.trc:
ORA-00340: IO error processing online log 1 of thread 1
ORA-00345: redo log write error block 180877 count 2
ORA-00312: online log 1 thread 1: 'D:\ORACLE\ORADATA\db_name\REDO01.LOG'
ORA-27072: skgfdisp: I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
LGWR: terminating instance due to error 340
Wed Jul 27 04:32:43 2011
Errors in file d:\oracle\admin\db_name\bdump\db_name_pmon_7312.trc:
ORA-00340: IO error processing online log of threadI do not know what the real reason could be.
I just thought, that "ringing a bell" when the db goes down would have been a solution while looking at the source
cousing the error. -
Run shutdown oc4j instance automatically when user Turn off/Log off
Hi All,
Can you help me anyone to run the shutdown oc4j instance automatically when user Turn off/Log off the application or the computer?
I want to use any Schema level trigger if possible to solve the issue.
I am using oracle Developer Suite 10g and Database 10g as well.
ArifAh, sorry I misunderstood your question (probably not enough coffee in the morning); anyway there are folders for scripts which should be executed on startup / shutdown or logon / logoff:
Startup
%SYSTEMROOT%\System32\GroupPolicy\Machine\Scripts\StartupShutdown
%SYSTEMROOT%\System32\GroupPolicy\Machine\Scripts\ShutdownLogon
%SYSTEMROOT%\System32\GroupPolicy\User\Scripts\LogonLogoff
%SYSTEMROOT%\System32\GroupPolicy\User\Scripts\LogoffWrite a script to startup / shutdown your OC4J (probably calls to startinst.bat and stopinst.bat) and place them in the apropriate folders.
cheers -
Does the SCAN feature in 11gR2 provide session failover?
I setup a two-node RAC environment (11.2.0.2), and I can successfully connect to it using Single Client Access Name (SCAN). My clients' tnsnames.ora is as simple as:
RAC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rac)
I was told by the senior DBA that SCAN provides session failover. By that I mean: suppose there are two nodes, and I have a client establish a connection through sqlplus in another machine (client version 11.2.0.2 as well), eg:
sqlplus system/password@rac
I then use something like "SELECT host_name, instance_name FROM v$instance" to figure out which instance I am connected to and I shutdown that instance by running "shutdown abort" there. The expected behavior is for that client to automatically switch to the surviving node (*in the same session*).
However, it doesn't work that way. Instead, the next SQL statement issued in that sqlplus session results in a "ORA-03113: end-of-file on communication channel." I managed to have it failover automatically, without adding anything (eg: FAILOVER_MODE) in the clients' tnsnames files by creating a service with TAF using srvctl:
srvctl add service -d rac -s ractaf -P BASIC -m BASIC -e SELECT -z 5 -w 120
But I have been told this step is not necessary with 11gR2, and session failover should occur automatically if I installed the grid infrastructure and set up SCAN correctly. But I haven't been able to find anything in the documentation indicating this is the case. So, does the SCAN feature in 11gR2 provide session failover?
Edited by: 894946 on Nov 3, 2011 10:16 AMI think you are right because session failover is a service property linked to cluster database instances and not a scan listener feature that basically establish connection with right instance.
Maybe you are looking for
-
Classification overview Data for the functional location in Emigall
Hi, I am trying to upload the functional location for the connection object. and during that i would like to upload the Classification data through Emigall Can i do that in emigall and do we have a function module or a BAPI for it.to do that. Can any
-
Can't open new project in Logic after updating to Snow Leopard
I've been having a few problems with Logic 9 since updating to Snow Leopard (10.6.8 ) a couple of days ago. Every time i click on "new" and try and start a new project - logic freezes and i get the rotating circle sign and Logic stops responding - e
-
Keeping iMac G5 on all the time.
Hi everyone, New to the G5 iMac world, but not new to Mac. Do you think that leaving the computer on withe sleep setting off is a bad thing? I have some apps that don't like sleep mode, as I end up having to reload them and what not. I suppose if the
-
Apps crashing when being launched
Hi there I am having problems with apps crashing when being launched. This has been happening for a week or so to just a few apps (Google Chrome, Open Office etc) and so far I have just been trashing the apps and re-installing them but it now seems t
-
Is JavaFX new version of Java ME
I am trying to decide which platform to use for developing application on Windows Mobile (one of the rugged PC models), which performs some data collection over serial port. Is JavaFX a new platform meant to replace Java ME? From initial reading of J