Control file lock time in rac
Hi all,
Database version 11.2.0.2
Os version Red hat 5.3
Two node RAC
What is the default control file lock time in rac environment i am getting error after 120 seconds.
The default lock time in single instance is 900 seconds.
Does in rac this time lowered to 120 seconds.
error in alert log file
Errors in file /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/trace/LFGoimdb2_arc2_27691.trc (incident=15905):
ORA-00240: control file enqueue held for more than 120 seconds
After hitting this error I have observed that another node evicts this node.
The above link state that it is a bug in previous versions but i am in recent version 11.2.0.2.5 and this bug is resolved in this version.
Similar Messages
-
Control File Date/Time Field
Hello all,
Im using SQL Loader to load a text file into a database table. Im having an issue with one of the fields that contains date and time. Here's what I have:
Data:
Customer 1|850510|C2117-2972A|2011-07-07 00:00:00|21172972|BA
Customer 2|850511|C2118-2972A|2011-04-07 00:00:00|21172972|BA
Customer 3|850512|C2119-2972A|2011-12-07 00:00:00|21172972|BA
Customer 4|850513|C2120-2972A|2011-11-07 00:00:00|21172972|BA
Customer 5|850514|C2121-2972A|2011-10-07 00:00:00|21172972|BA
Customer 6|850515|C2122-2972A|2011-02-07 00:00:00|21172972|BA
Customer 7|850516|C2123-2972A|2011-01-07 00:00:00|21172972|BA
Control File:
LOAD DATA
APPEND
INTO TABLE MYTBL
FIELDS TERMINATED BY "|"
TRAILING NULLCOLS
response_key "response_seq.NEXTVAL",
response_dt "sysdate",
response_cust,
response_mcn INTEGER,
response_isc,
response_id "to_date(:response_id,'YYYY-MM-DD HH:MI:SS')",
response_ordernum INTEGER,
response_too
LOG Results:
Column Name Position Len Term Encl Datatype
RESPONSE_KEY FIRST * | CHARACTER
SQL string for column : "seq_response_seq.NEXTVAL"
RESPONSE_DT NEXT * | CHARACTER
SQL string for column : "sysdate"
RESPONSE_CUST NEXT * | CHARACTER
RESPONSE_MCN NEXT 4 INTEGER
RESPONSE_ISC NEXT * | CHARACTER
RESPONSE_ID NEXT * | CHARACTER
SQL string for column : "to_date(:response_id,'YYYY-MM-DD HH:MI:SS')"
RESPONSE_ORDERNUM NEXT 4 INTEGER
RESPONSE_TOO NEXT * | CHARACTER
Record 1: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
ORA-01861: literal does not match format string
Record 2: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
ORA-01861: literal does not match format string
Record 3: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
ORA-01861: literal does not match format string
Record 4: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
ORA-01861: literal does not match format string
Record 5: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
ORA-01861: literal does not match format string
Record 6: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
ORA-01861: literal does not match format string
Record 7: Rejected - Error on table "MYDB"."MYTBL", column RESPONSE_ID.
ORA-01861: literal does not match format string
How do I format the date correctly?
Thanks.
Edited by: 875809 on Jul 29, 2011 1:07 PMI suspect your data fields aren't lining up with your control file the way you expect them to...
For example, using the first record
Customer 1|850510|C2117-2972A|2011-07-07 00:00:00|21172972|BA
response_key = "Customer 1" , overridden by response_seq.NEXTVAL
response_dt = "850510" , overridden by sysdate
response_cust = "C2117-2972A"
response_mcn = "2011"
response_isc = "-07-07 00:00:00"
response_id = "21172972", with the function attempted as "to_date('21172971','YYYY-MM-DD HH:MI:SS')",
response_ordernum = "BA"
response_too = ???
You might consider EXPRESSION fields, which let you insert a calculated value, but don't replace a data field in the source record:
LOAD DATA
APPEND
INTO TABLE MYTBL
FIELDS TERMINATED BY "|"
TRAILING NULLCOLS
response_key EXPRESSION "response_seq.NEXTVAL",
response_dt EXPRESSION "sysdate",
response_cust,
response_mcn INTEGER,
response_isc,
response_id "to_date(:response_id,'YYYY-MM-DD HH:MI:SS')",
response_ordernum INTEGER,
response_too
)which results in
response_key = response_seq.NEXTVAL
response_dt = sysdate
response_cust = "Customer 1"
response_mcn = "850510"
response_isc = "C2117-2972A"
response_id = "2011-07-07 00:00:00", with the function interpreted as "to_date('2011-07-07 00:00:00','YYYY-MM-DD HH:MI:SS')",
response_ordernum = "21172972"
response_too = "BA" -
Error in creating control file for 2 node RAC database
SQL> CREATE CONTROLFILE set DATABASE "SBLS" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 192
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 1024
5 MAXINSTANCES 32
6 MAXLOGHISTORY 292
7 DATAFILE
8 '+SBLDATA/SBLTST/DATAFILE/system.dbf'
9 '+SBLDATA/SBLTST/DATAFILE/sysaux.dbf'
10 '+SBLDATA/SBLTST/DATAFILE/undotbs1.dbf'
11 '+SBLDATA/SBLTST/DATAFILE/undotbs2.dbf'
12 '+SBLDATA/SBLTST/DATAFILE/users.dbf'
13 '+SBLDATA/SBLTST/DATAFILE/sbl_data.dbf'
14 '+SBLDATA/SBLTST/DATAFILE/sbl_idx.dbf';
'+SBLDATA/SBLTST/DATAFILE/sysaux.dbf'
ERROR at line 9:
ORA-01967: invalid option for CREATE CONTROLFILE
Please advice.ASMCMD> pwd
+sblDATA/SBLTST/DATAFILE
ASMCMD> ls -l
Type Redund Striped Time Sys Name
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SBL_DATA.258.815440497
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SBL_IDX.259.815441389
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y SYSAUX.272.802440861
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SYSAUX.282.804173239
DATAFILE UNPROT COARSE MAY 29 13:00:00 Y SYSTEM.262.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y SYSTEM.271.802440859
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y UNDOTBS1.270.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y UNDOTBS1.273.802440861
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y UNDOTBS2.265.804173409
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y UNDOTBS2.279.802441035
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y USERS.264.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y USERS.274.802440861
N sbl_data.dbf => +SBLDATA/SBLTST/DATAFILE/SBL_DATA.258.815440497
N sbl_idx.dbf => +SBLDATA/SBLTST/DATAFILE/SBL_IDX.259.815441389 -
How to create redlog and control file at ASM in linux RAC
Hi Experts,
I will to maintance a oracle 10g database at ASM as RAC iin linux red hat.
i am a new person with some question.
nornally speaking, oracle recommadition for oracle 10g database as
create 3 copy fills for control file
create at least 2 redo log with mirror files in system.
However, I checked find
redlog file is at FRA place +FLSdisk1 and no mirror
control file is at FRA place--+FLSDISK1/
datebase file at ‘+DATA1/
There are no mirror for relog.
Go to EM, I also could not find place to enter file name.
We use ASM to hold database to support RAC.
Do i need to create redlog file as
ALTER DATABASE ADD LOGFILE GROUP 1 ('+FLSdisk1/sale/onlinelog/REDO01.LOG','+FLSdisk1/sale/onlinelog/REDO01_mirror.LOG') SIZE 1000M reuse;
my boss told me that ASM is reliable.
Do you need to creat more directory to arrange redlog and control files in ASM for RAC system?
FRA is a good place to store control file and redlog file ?
Thanks
JIM
Edited by: user589812 on Jul 3, 2009 3:03 PMASM is reliable but a smart DBA is very careful. If ASM is doing mirroring this is like RAID doing mirroring. What happens if you accidentally delete one copy ... the other one disappears instantly. Not a good idea.
With respect to redo logs you need a minimum of three groups, two members, and one thread per instance. So a 2 node cluster should, at a minimum have 12 physical files.
Not mirroring the redo logs, assuming multiple members, is not as critical. -
How to add other 2 control files at ASM in linux RAC
Hi Experts,
I am new for RAC .
the vendor build a RAC for us. I found there are only one control file in system.
we use oracle 10.2.0.4 at ASM with RAC in redhat linux 5.
how to add 2 additional control file to ASM for RAC ?
Please provide a procedur in detail.
Thanks
JimHi damorgan & Friends,
I could not find some infomration to add control into ASM . I can do this job( see below procedure) in no ASM .
My question, our database locates at ASM and control file with a system auto-number ( fully qualified filename ) as
+DATA1/SALE/controlfile/current.256.690290159
How do I physical copy and rename other 2 contril file in directory and modify location in pfile?
I saw some paper to use request as an alias (such as +dgroup2/control/ctl.f). i can not image to copy/rename control.
Please help me!!
Thanks
Jim
========added control file for no ASM database and works=====================
1)
SQL> create pfile from spfile;
File created.
2)
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL
3)
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
4) modify pfile add additional control file2/3 as
control_files='C:\Oradata\ORCL\control01.ctl','C:\Oradata\ORCL\control02.ctl','C:\Oradata\ORCL\control03.ctl'
and physical copy control01.ctl and raname as control02.ctl,control03.ctl
5)
SQL> startup pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 62915940 bytes
Database Buffers 100663296 bytes
Redo Buffers 2945024 bytes
Database mounted.
Database opened.er database mount;
6)
SQL> Create spfile from pfile='C:\oracle\product\10.2.0\db_2\database\initORCL.ora';
File created.
7) check control file info under pfile environment
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
C:\ORADATA\ORCL\CONTROL02.CTL
, C:\ORADATA\ORCL\CONTROL03.CT
L
8)SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
9) startup as spfile environment.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 62915940 bytes
Database Buffers 100663296 bytes
Redo Buffers 2945024 bytes
Database mounted.
Database opened.
10) check control info for spfile environment
SQL> show parameter spfile
NAME TYPE VALUE
spfile string C:\ORACLE\PRODUCT\10.2.0\DB_2\
DATABASE\SPFILEORCL.ORA
SQL> show parameter control_file
NAME TYPE VALUE
control_file_record_keep_time integer 7
control_files string C:\ORADATA\ORCL\CONTROL01.CTL,
C:\ORADATA\ORCL\CONTROL02.CTL
, C:\ORADATA\ORCL\CONTROL03.CT
L -
Control file not updated till date in RAC two node database
Hi,
Good day.
To my surprise i found that control files, in our database RAC with two nodes, are not updated till date except one from node 1 and another from node 2.
But we got all the controlfile names in the init parameter file, in both the nodes.
Node 1
bash-3.00$ ls -lrt
total 922128
-rw------- 1 oracle dba 157286400 Nov 3 2007 cntrl03.dbf
-rw------- 1 oracle dba 157286400 Nov 3 2007 cntrl02.dbf
-rw------- 1 oracle dba 157286400 Apr 12 17:21 cntrl01.dbf
Node 2
bash-3.00$ ls -lrt
total 922128
-rw------- 1 oracle dba 157286400 Mar 30 09:17 cntrl03.dbf
-rw------- 1 oracle dba 157286400 Mar 30 09:17 cntrl02.dbf
-rw------- 1 oracle dba 157286400 Apr 12 17:20 cntrl01.dbf
As you could see cntrl01.dbf is the only file updated till date in both the nodes. The database is running fine.
what is actually happening?
Any suggestions?
Thanks,
Balu.As you're using RAC it is very likely that you are using an SPFILE.
Connect as a DBA account (or an account with SELECT ANY DICTIONARY privileges) in both the instances and do "show parameter spfile" and "show parameter control" (or query V$parameter)
It is likely that the spfile is referencing only 1 controlfile. -
ORA-00245: control file backup failed; target is likely on a local file sys
Hello,
our RAC (Linux, 11.2.0.3.0) is rather new and we are still on gaining experiences with that system...
When starting the backup with RMAN we are getting the following error:
Starting Control File and SPFILE Autobackup at 04-JUL-12
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 07/04/2012 16:41:48
ORA-00245: control file backup failed; target is likely on a local file system
The reason for the error is clear ORA-00245 - in a RAC environment the location of the Snapshot Controlfile must be on a shared location.
When executing the RMAN command "show all" on each node, we are getting
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD021.f'; # default
for node #1
and
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD022.f'; # default
for node #2
When using a shared location for the Snapshot Controlfile do we still need to setup 2 different names for that file?
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/<shared location>/snapcf_PROD021.f'; # default
for node #1 and
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/<shared location>/snapcf_PROD022.f'; # default
for node #2
Or should we configure just one Snapshot Controlfile?
The RMAN setup for "CONFIGURE SNAPSHOT CONTROLFILE NAME TO..." must be changed on both nodes - correct?
Hopefully my question is clear enough - any help will be appreciated.
Rgds
JH
Edited by: VivaLaVida on 05.07.2012 11:41No, it must be configured on a shared storage:Not really required, i've RAC setup and snapshot is configured on local storage.
Configuring the RMAN Snapshot Control File Location
The snapshot control file is a copy of a database control file created in an operating system-specific location by Recovery Manager. RMAN creates the snapshot control file so that it has a consistent version of a control file to use when either resynchronizing the recovery catalog or backing up the control file. In Oracle RAC, the snapshot control file is only needed on the nodes on which RMAN performs backups; the snapshot control file does not need to be globally available to all instances in an Oracle RAC environment.
See below from doc.
http://docs.oracle.com/cd/B28359_01/rac.111/b28254/rman.htm#i455026 -
RAC control file has correpted, unable to mount database
hi guru's,
Im trying to startup my rac db, but it giving following error.
SQL> startup
ORACLE instance started.
Total System Global Area 233861120 bytes
Fixed Size 2212088 bytes
Variable Size 176164616 bytes
Database Buffers 50331648 bytes
Redo Buffers 5152768 bytes
ORA-00221: error on write to control file
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
alert log:
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
ORA-221 signalled during: ALTER DATABASE MOUNT...
trace file:
Trace file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORACLE_HOME = /rdbms1/app/oracle/product/11.2.0/db_home/
System name: Linux
Node name: RAC-NODE1.vod.com
Release: 2.6.18-128.el5
Version: #1 SMP Wed Dec 17 11:41:38 EST 2008
Machine: x86_64
Instance name: finance1
Redo thread mounted by this instance: 0 <none>
Oracle process number: 28
Unix process pid: 11821, image: [email protected] (TNS V1-V3)
*** 2013-04-27 00:02:39.859
*** SESSION ID:(1.3) 2013-04-27 00:02:39.859
*** CLIENT ID:() 2013-04-27 00:02:39.859
*** SERVICE NAME:() 2013-04-27 00:02:39.859
*** MODULE NAME:([email protected] (TNS V1-V3)) 2013-04-27 00:02:39.859
*** ACTION NAME:() 2013-04-27 00:02:39.859
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):1.0xe96d8019 disk_path:/dev/sdd2
AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57250 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):2.0xe96d801a disk_path:/dev/sdd3
AU:76 disk_offset(bytes):79708160 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57128 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):3.0xe96d8018 disk_path:/dev/sdd4
AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57000 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
DDE rules only execution for: ORA 202
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
all the diskgroups are in mount state only
SQL> select name,state from v$asm_diskgroup;
NAME STATE
ARCLOG MOUNTED
CTRL MOUNTED
DBFILE MOUNTED
FRA MOUNTED
REDO1 MOUNTED
REDO2 MOUNTED
VOTE MOUNTED
since i did not have mirror copy or backup of current control file to replace the correpted one.
Is there any way to create new control file and transfered to ASM diskgroup and open database. or i need to drop the existing database.
if i need to drop the db, without open the db how to drop database.
kindly help on this.
Thanks in advance.Hi,
Thanks for the replay. im able to open the db.
But can you tel me how to make my rac db to open with spfile which is on asmdiskgroup.
SQL> select name,state from v$asm_diskgroup;
NAME STATE
ARCLOG MOUNTED
CTRL MOUNTED
DBFILE MOUNTED
FRA MOUNTED
REDO1 MOUNTED
REDO2 MOUNTED
VOTE MOUNTED
Spfile:
ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > pwd
+DBFILE/FINANCE/PARAMETERFILE
ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > ls
spfile.262.813843989
i shutdown the db and up the same but it can't take the spfile.
SQL> show parameter spfile
NAME TYPE VALUE
spfile string
Thanks in advance. -
Can I recover the database to the current time using a backup control file?
Can I recover the database to the current time using a backup control file? How far can I recover this database?
I have an Oracle 10g(10.2.3) database on RHEL4.3 system.
I have lost all the current control files and all the online redo logs, archived redo logs and all other files are OK.
Now I have to recovery this database using a backup control file.
Can I recover the database without any data lost?If
a) it was a Shutdown Abort or an Instance Crash (i.e. backgrounds died on detecting loss of redo logs),
b) redo logs are lost
c) data files are intact
You'd have to
a) Restore datafiles
b) Do an Incomplete Recovery to the last available ArchiveLog
Hemant K Chitale
http://hemantoracledba.blogspot.com -
Hi All,
I encountered an file lock error when creating a real time job.
After a dataflow, I have a script to move the processed file to archive folder. (e.g. move c:\source\order.xml c:\archive). When I test run it, I received a 50306 error. It saids "The process cannot access the file because it is being used by another process. 0 file(s) moved.". However, the df and script were running OK in batch job. Also, I can move the files manually after the job failed. Can anyone help me with that? Is it something to do with the setting of realtime services?
Many thanks!
Knighthi,
Not sure but you can check in sm12 if there is any lock entry, if so than manually delete and than check again.
Ray -
Recreating control file in RAC with noresetlogs
Hi all,
I need to recreate the controlfile in a 2-node RAC environment (9i)
for altering the MAXLOGHISTORY value. I will be using noresetlogs as I
have all the online logs available with me.
I referred to metalink note (Note:118931.1) for the same, and to
clarify the same, it refers to set cluster_database to false and then
to true after creating the new controlfile.
Here I have Log Groups 1,2,5,6,7 belongs to instance1 and the rest belongs to
instance2
Below is the trace of controlfile...
create controlfile reuse database "prod" noresetlogs force logging
archivelog
maxlogfiles 64
maxlogmembers 3
maxdatafiles 800
maxinstances 32
maxloghistory 15000
logfile
group 1 '/dev/rprod_redo11' size 100m,
group 2 '/dev/rprod_redo12' size 100m,
group 3 '/dev/rprod_redo21' size 100m,
group 4 '/dev/rprod_redo22' size 100m,
group 5 '/dev/rprod_redo13' size 100m,
group 6 '/dev/rprod_redo14' size 100m,
group 7 '/dev/rprod_redo15' size 100m,
group 8 '/dev/rprod_redo23' size 100m,
group 9 '/dev/rprod_redo24' size 100m,
group 10 '/dev/rprod_redo25' size 100m
-- standby logfile
datafile
Please clarify on the same, do the traced controlfile need to have some thread info for redo logs & do I need to make the cluster_database parameter to fale/true.
Thanks!
Prat1. Create the trace file (with Create control file statements..)
2. Edit the trace file, to remove the log groups which doesn't belong to Instance 1 (in you case you would be removing groups 3,4,8,9,10).
3. Shutdown all the instances.
4. edit the init.ora file to make CLUSTER_DATABASE=FALSE:
5. startup nomount instance 1.
6. Run the edited trace file to create the control file.
7. shutdown instance 1.
8. edit the init.ora file to make CLUSTER_DATABASE=TRUE;
9. Startup instance 1;
10. Add the log groups for the instance 2 (groups 3,4,8,9,10)
11. Add tempfiles as indicated in the trace file.
12. Enable thread 2;
13. Startup instance 2.
As always, take backups.
HTH
Thanks
Chandra -
How to set up password to lock Time Machine files?
Hello Friends at Apple Community,
I would like to know how to set up a password to lock Time Machine backup files as it is in Drobo backup server. I have two Time Machine backups for Mac Pro - first backup performed and saved backup created by Time Machine in one of hard drives inside Mac Pro. I am also performing other Time Machine backup externally to Drobo - just to play it safe. But want to set up a lock password on that backup file only for Drobo. I believe the OS X Mountain Lion version 10.8.4. at the moment. I am aware that there is a small update of 10.8.5 as I havent updated it yet... until Time Machine backup is done successfully.
Please advise. Thanks in advance!http://www.macyourself.com/2011/09/04/how-to-password-protect-and-encrypt-time-m achine-backups/
-
Control JNLP jar files download time
Hello,
I have a JNLP application which will run over internet , my problem is that anyone can go to the url and launch the application and download all the jars, before even logging in, i'm worried about using this for Denial of service.
is there a way that i can control the jar files download time, like only download the necessary jar first and when jars are needed will be downloaded eventually
Any Help would be appreciaetd
regardselie_nasrani wrote: I have a JNLP application which will run over internet , my problem is that anyone can go to the url and launch the application and download all the jars, before even logging in, i'm worried about using this for Denial of service.
is there a way that i can control the jar files download time, like only download the necessary jar first and when jars are needed will be downloaded eventually
Web start offers lazy downloads, as well as the DownloadService* (DS) to help with this kind of problem.
'Lazy' means the resource is only downloaded when needed, but using the DS offers even greater control, even to the extent of manually blocking a download - if needed.
* e.g. of the Download service, be sure to follow the links.
<http://www.physci.org/jws/#ds>
As far as 'signing' goes, I cannot imagine how that would help for your problem. Not only are signed Jar's (at least slightly) larger, but they can also be used by JWS apps. coming from other domains! If your app. is sandboxed, I strongly recommend keeping it as unsigned code.
Why is your JNLP file exposed to the general public? Don't the users have to log in before they can get to the page with link to the application JNLP?
If that is the case, the only chance for users who are not logged in to launch it, is if a friend sends them a direct link to the JNLP file.
As an aside, I generally do not have time to look at posts with no 'dukes' assigned (see links at upper left), if getting a solution is important to you, it is a good idea to add some. -
Some files in Time Machine are being locked
I run Mountain Lion 10.8.4 on a Mac Mini 2012. Over the past year or so (dating back to my older iMac mid-2010, after which I transferred the data to my current Mac Mini), I've noticed that most of my files in Time Machine are getting locked. The files on my Mac are not locked, but the backed-up versions of the files are locked. The icons have a padlock icon on them. This is NOT due to the "auto-lock documents" feature, since this no longer exists in Mountain Lion.
For instance, my Firefox profile is a good example. Here are two screenshots:
1. Screenshot of my Firefox profile. Everything looks fine.
2. The same profile, except the latest Time Machine backup.
These locks appear in every single backup I have, up until the oldest one. I ran "Repair disk" on Time Machine, which took about 30 minutes, and then made another backup, and this time the newest backup did not have any locks—but all the older backups still had locks. I found this a bit strange, because why would a backup I made AFTER running "Repair disk" be fixed, but the older ones remained unaffected?
Anyway, I hoped that this would fix the problem, but every time I do this, a few weeks later, the problem re-occurs.
So, is there anything more permanent that I can do?Hey man,
Some things I'd be looking at trying is:
---> Reset ACL's
Boot to Recovery -> Utilities -> Terminal
Then enter the following command to open the Reset Password Utility:
resetpassword
Then select the volume (normally Macintosh HD)
Choose the user account in the "Select the user account:" pop-up menu
Click Reset (ignore all the 'enter new password for user' sections and just click reset at the bottom after selecting the volume and the user
Once that is done, quit Terminal and the Reset Password Utility
Open Disk Utility
---> Verify/Repair Disk + Permissions
Click Macinosh HD on the left of Disk Utility and then click Verify Disk at the bottom right, if it comes up with green text in the white box saying 'The volume Macintosh HD appears to be OK', then you DO NOT need to click Repair Disk, if it finds any errors, you should click Repair Disk
Afterwards, you should click Verify Disk Permissions, once that completes click Repair Disk Permissions (Click this regardless of what Verify Disk Permissions says)
Once that is done, I would follow HT2409 and do a Spotlight Re-Index
Attempt another backup and see how you get on
Regards
MiiCK -
Control file not created at time of installtion
control file not created at time of installtion of oracle database
now how we can create it
see alert file
Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
Tue Sep 09 10:45:53 2003
ORACLE V8.1.6.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows 2000 Version 5.0 , CPU type 586
Starting up ORACLE RDBMS Version: 8.1.6.0.0.
System parameters with non-default values:
processes = 59
shared_pool_size = 52428800
large_pool_size = 614400
java_pool_size = 20971520
control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
db_block_buffers = 19200
db_block_size = 8192
compatible = 8.1.0
log_buffer = 32768
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
db_files = 1024
db_file_multiblock_read_count= 8
max_enabled_roles = 30
remote_login_passwordfile= EXCLUSIVE
global_names = TRUE
distributed_transactions = 500
instance_name = new
service_names = new
mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
open_links = 4
sort_area_size = 65536
sort_area_retained_size = 65536
db_name = new
open_cursors = 100
os_authent_prefix =
job_queue_processes = 0
job_queue_interval = 10
parallel_max_servers = 5
background_dump_dest = e:\ORacle\admin\new\bdump
user_dump_dest = e:\ORacle\admin\new\udump
max_dump_file_size = 10240
oracle_trace_collection_name=
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Tue Sep 09 10:45:55 2003
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Tue Sep 09 10:45:58 2003
create controlfile reuse set database new
datafile 'e:\ORacle\oradata\new\system01.dbf',
'e:\ORacle\oradata\new\temp01.dbf',
'e:\ORacle\oradata\new\rbs01.dbf',
'e:\ORacle\oradata\new\indx01.dbf',
'e:\ORacle\oradata\new\tools01.dbf',
'e:\ORacle\oradata\new\dr01.dbf',
'e:\ORacle\oradata\new\users01.dbf'
logfile 'e:\ORacle\oradata\new\redo01.log' size 1M,
'e:\ORacle\oradata\new\redo02.log' size 1M,
'e:\ORacle\oradata\new\redo03.log' size 1M resetlogs
Tue Sep 09 10:46:03 2003
ORA-1503 signalled during: create controlfile reuse set database new
datafile...
Tue Sep 09 10:46:03 2003
alter database new open resetlogs
ORA-1507 signalled during: alter database new open resetlogs...
Tue Sep 09 10:46:14 2003
alter database new character set WE8ISO8859P1
Tue Sep 09 10:46:14 2003
ORA-1507 signalled during: alter database new character set WE8ISO8859P1...
Tue Sep 09 10:46:14 2003
alter database new national character set WE8ISO8859P1
ORA-1507 signalled during: alter database new national character set WE8ISO88...
Shutting down instance (normal)
License high water mark = 1
Tue Sep 09 10:46:15 2003
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
archiving is disabled
Starting up ORACLE RDBMS Version: 8.1.6.0.0.
System parameters with non-default values:
processes = 59
shared_pool_size = 52428800
large_pool_size = 614400
java_pool_size = 20971520
control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
db_block_buffers = 19200
db_block_size = 8192
compatible = 8.1.0
log_buffer = 32768
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
db_files = 1024
db_file_multiblock_read_count= 8
max_enabled_roles = 30
remote_login_passwordfile= EXCLUSIVE
global_names = TRUE
distributed_transactions = 500
instance_name = new
service_names = new
mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
open_links = 4
sort_area_size = 65536
sort_area_retained_size = 65536
db_name = new
open_cursors = 100
os_authent_prefix =
job_queue_processes = 4
job_queue_interval = 10
parallel_max_servers = 5
background_dump_dest = e:\ORacle\admin\new\bdump
user_dump_dest = e:\ORacle\admin\new\udump
max_dump_file_size = 10240
oracle_trace_collection_name=
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
SNP0 started with pid=8
SNP1 started with pid=9
SNP2 started with pid=10
SNP3 started with pid=11
Tue Sep 09 10:46:30 2003
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Tue Sep 09 10:46:31 2003
alter database mount
Tue Sep 09 10:46:34 2003
ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Tue Sep 09 10:46:34 2003
ORA-205 signalled during: alter database mount...
Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
Tue Sep 09 11:18:54 2003
ORACLE V8.1.6.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows 2000 Version 5.0 , CPU type 586
Starting up ORACLE RDBMS Version: 8.1.6.0.0.
System parameters with non-default values:
processes = 59
shared_pool_size = 52428800
large_pool_size = 614400
java_pool_size = 20971520
control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
db_block_buffers = 19200
db_block_size = 8192
compatible = 8.1.0
log_buffer = 32768
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
db_files = 1024
db_file_multiblock_read_count= 8
max_enabled_roles = 30
remote_login_passwordfile= EXCLUSIVE
global_names = TRUE
distributed_transactions = 500
instance_name = new
service_names = new
mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
open_links = 4
sort_area_size = 65536
sort_area_retained_size = 65536
db_name = new
open_cursors = 100
os_authent_prefix =
job_queue_processes = 4
job_queue_interval = 10
parallel_max_servers = 5
background_dump_dest = e:\ORacle\admin\new\bdump
user_dump_dest = e:\ORacle\admin\new\udump
max_dump_file_size = 10240
oracle_trace_collection_name=
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
SNP0 started with pid=8
SNP1 started with pid=9
SNP2 started with pid=10
SNP3 started with pid=11
Tue Sep 09 11:18:57 2003
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Tue Sep 09 11:18:58 2003
alter database mount exclusive
Tue Sep 09 11:19:01 2003
ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Tue Sep 09 11:19:01 2003
ORA-205 signalled during: alter database mount exclusive...
Shutting down instance (abort)
License high water mark = 5
Instance terminated by USER, pid = 1156
Dump file e:\ORacle\admin\new\bdump\newALRT.LOG
Tue Sep 09 11:22:12 2003
ORACLE V8.1.6.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows 2000 Version 5.0 , CPU type 586
Starting up ORACLE RDBMS Version: 8.1.6.0.0.
System parameters with non-default values:
processes = 59
shared_pool_size = 52428800
large_pool_size = 614400
java_pool_size = 20971520
control_files = e:\ORacle\oradata\new\control01.ctl, e:\ORacle\oradata\new\control02.ctl, e:\ORacle\oradata\new\control03.ctl
db_block_buffers = 19200
db_block_size = 8192
compatible = 8.1.0
log_buffer = 32768
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
db_files = 1024
db_file_multiblock_read_count= 8
max_enabled_roles = 30
remote_login_passwordfile= EXCLUSIVE
global_names = TRUE
distributed_transactions = 500
instance_name = new
service_names = new
mts_dispatchers = (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
open_links = 4
sort_area_size = 65536
sort_area_retained_size = 65536
db_name = new
open_cursors = 100
os_authent_prefix =
job_queue_processes = 4
job_queue_interval = 10
parallel_max_servers = 5
background_dump_dest = e:\ORacle\admin\new\bdump
user_dump_dest = e:\ORacle\admin\new\udump
max_dump_file_size = 10240
oracle_trace_collection_name=
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
SNP0 started with pid=8
SNP1 started with pid=9
SNP2 started with pid=10
SNP3 started with pid=11
Tue Sep 09 11:22:15 2003
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Tue Sep 09 11:22:16 2003
alter database mount exclusive
Tue Sep 09 11:22:19 2003
ORA-00202: controlfile: 'e:\ORacle\oradata\new\control01.ctl'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.Hi Kuljeet,
since you have a Windows system, I suggest you to open Windows explorer and check if all the 3 control files are there or not in the given location. It seems that your control01.ctl file is missing. If so then you have 2 options;
1. Delete the entry from the parameter file for this control file so that Oracle does not use this file at all.
OR
2. Shut down your database normally and then copy the control02.ctl or control03.ctl manually with the copy command and rename it to control01.ctl. If you follow this option you need not delete the control01.ctl entry from the parameter file. But note to copy the control file the database has to be shutdown normally.
Maybe you are looking for
-
Open playlist in new window?
In iTunes 11, how do I open a playlist in a new window? Every previous version included this option.
-
Reinstalling FCP in new Macbook Pro Retina from time machine backup. Have all serial numbers back to FCP1 but I am warned I have an invalid serial number. How can that be! I need to install and use this weekend. Thank you in advance for the help.
-
Touble re-installing Photoshop CS5
When re-installing Photoshop CS5 on my computer from, http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html, I get an error message saying "the following disk images coudn't be opened" with the reason being, image not recognized. I used
-
How to create report category for PNPCE ldb in ECC 6.0
Hi Experts, How to create report category for the LDB pnpce in ECC6.0 Thanks in Advance, Regards, IFF
-
Migrating from 10.1.2 to 10.1.3
To my chagrin, JDeveloper 10.1.3 performed a migration "in-place" of my 10.1.2 applications (actually, the JDeveloper 10.1.2 version that is part of the Developer Suite). Thankfully, I saved the originals application directory structure for just such