Control file corrupted

HI, My database was operating on noarchivelog mode, I do have a backup from last night but all three control files seemed to be corrupted. Is there anyway, i can create new control file and syncronise with rest of the files?. If yes, can you please tell me the steps involved in creating new controlfile as I don't have any idea how to do that. Thanks alot.

Hi,
Set oracle_sid="your sid name"
connect to sqlplus
SQL>conn/as sysdba
start your database in nomount stage
SQL>Startup nomount
Then type the following commands
SQL> CREATE CONTROLFILE REUSE DATABASE "your database name"
MAXLOGFILES 5 --optional
MAXLOGMEMBERS 3 --optional
MAXDATAFILES 14 --optional
MAXINSTANCES 1 --optional
MAXLOGHISTORY 226 --optional
LOGFILE
GROUP 1 'your logfile path' SIZE your logfile size,
GROUP 2 'your logfile path' SIZE your logfile size
DATAFILE
'your datafile path',
'your datafile path'
After that open the database with RESETLOGS
then shutdown the database
SQL>shu
Now multiflex the control file and mention the path in init file
And take the complete closed backup( backup your datafile, control file, logfile)
Then startup the database
SQL> Startup
Now your database is ready to USE.
This is the Example to:
SQL> CREATE CONTROLFILE REUSE DATABASE "ORCL"
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXDATAFILES 14
MAXINSTANCES 1
MAXLOGHISTORY 226
LOGFILE
GROUP 1 'E:\ORACLE\ORADATA\ORCL\REDO01.LOG' SIZE 100M,
GROUP 2 'E:\ORACLE\ORADATA\ORCL\REDO02.LOG' SIZE 100M,
GROUP 3 'E:\ORACLE\ORADATA\ORCL\REDO03.LOG' SIZE 100M
DATAFILE
'E:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF',
'E:\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF',
'E:\ORACLE\ORADATA\ORCL\INDX01.DBF',
'E:\ORACLE\ORADATA\ORCL\TOOLS01.DBF',
'E:\ORACLE\ORADATA\ORCL\USERS01.DBF',
'E:\ORACLE\ORADATA\ORCL\OEM_REPOSITORY.DBF',
'E:\ORACLE\ORADATA\ORCL\CWMLITE01.DBF',
'E:\ORACLE\ORADATA\ORCL\DRSYS01.DBF',
'E:\ORACLE\ORADATA\ORCL\ODM01.DBF',
'E:\ORACLE\ORADATA\ORCL\XDB01.DBF',
'E:\ORACLE\ORADATA\ORCL\USERS02.DBF',
'E:\ORACLE\ORADATA\ORCL\USERS03.DBF',
'E:\ORACLE\ORADATA\ORCL\USERS04.DBF'
SQL>ALTER DATABASE OPEN RESETLOGS;
And one more thing:
To rename the database change reuse to set in the create control file script as shown below
Regards
S.Senthil Kumar

Similar Messages

  • Datafiles and control file corrupted

    I have oracle 9i installed on windows 2003 server. A couple of days before our windows crashed and the system administrator took the backup of all files and reinstalled windows. After reinstallation of windows I restored the files backed up by system administrator and tried to start the database. I got the following error:
    ORA-00227: corrupt block detected in controlfile: (block 1, # blocks 1)
    ORA-00202: controlfile: 'D:\ORACLE\ORADATA\ORCL\CONTROL03.CTL'
    All the multiplexed copies of control files are also corrupted. We do not have the backup since last few days and the database is in noarchivelog mode. Simple restoration to the old backup would be a great loss. Kindly help me to recover the control file and datafiles.

    All the multiplexed copies of control files are also corrupted. We do not have the backup since last few days and the database is in noarchivelog mode. Simple restoration to the old backup would be a great loss. Kindly help me to recover the control file and datafiles.You could try to re-create the control files assuming the database itself was closed properly.
    However you should only do this if you know what you are doing.
    In any case you should backup the database in its current state in case things getting worse by trying to recover. CHECK this backup twice!
    In any case: Open a support ticket at Oracle. You will most probably need their help.
    In addition to that - it look quite bad for your data. You should prepare for data loss (just to be sure; i dont want to scare you)....
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • One control file corrupted, how to recover?

    The first control file get corrupted, and the db can't start up. The second and third are ok. How can I recover the first control file and bring the db up?
    Thanks

    but still not up:
    SQL> startup
    ORACLE instance started.
    Total System Global Area 830472192 bytes
    Fixed Size 2032520 bytes
    Variable Size 746593400 bytes
    Database Buffers 75497472 bytes
    Redo Buffers 6348800 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channel
    from alert:
    Errors in file /opt/oracle/admin/pacedev5/bdump/pacedev5_lgwr_14488.trc:
    ORA-19502: write error on file "/opt/oracle/u01/pacedev5/control01.ctl", blockno 297 (blocksize=16384)
    ORA-27063: number of bytes read/written is incorrect
    Additional information: 24576
    Additional information: 196608
    LGWR: terminating instance due to error 19502
    Instance terminated by LGWR, pid = 14488
    dbv the control file and see the corrupted blocks
    something else could be wrong?
    thanks

  • Error: ORA-00227 - Corrupt block detected in control file

    Hey everybody,
    I'm having problems with Oracle, here is the error displayed:
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 247463936 bytes
    Fixed Size 1258244 bytes
    Variable Size 92278012 bytes
    Database Buffers 150994944 bytes
    Redo Buffers 2932736 bytes
    ORA-00227: corrupt block detected in control file: (block 16, # blocks 1)
    ORA-00202: control file: '/usr/lib/oracle/xe/oradata/XE/control.dbf'
    I wonder what I should do to solve this problem.
    Could anyone help me?
    Thanks

    user10826800 wrote:
    Hey everybody,
    I'm having problems with Oracle, here is the error displayed:
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 247463936 bytes
    Fixed Size 1258244 bytes
    Variable Size 92278012 bytes
    Database Buffers 150994944 bytes
    Redo Buffers 2932736 bytes
    ORA-00227: corrupt block detected in control file: (block 16, # blocks 1)
    ORA-00202: control file: '/usr/lib/oracle/xe/oradata/XE/control.dbf'
    I wonder what I should do to solve this problem.
    Could anyone help me?
    ThanksHi and welcome to the forum. Replace corrupted control file with non-corrupted one and start the database

  • Strange Corrupt Block Error in Control File not in CONTROL_FILES

    When in RMAN connected to the TARGET and CATALOG I issue a RESYNC CATALOG I get this error:
    RMAN> RESYNC CATALOG;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of resync command on default channel at 08/17/2009 10:36:59
    ORA-00227: corrupt block detected in control file: (block 15, # blocks 1)
    ORA-00202: control file: 'E:\ORACLE\PRODUCT\10.2.0\DATABASE\SNCFEBIZ01PD.ORA'
    RMAN>
    This control file is in the Oracle Windows default dir but I am not using it and did not create it.
    My control files listed in the init.ora are:
    SQL> show parameter control
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    control_files string E:\ORACLE\ORADATA\EBIZ01PD\CNT
    RL01.DBF, D:\ORACLE\ORADATA\EB
    IZ01PD\CNTRL02.DBF, E:\ORACLE\
    ORADATA\EBIZ01PD\CNTRL03.DBF
    Any idea why this is happening?

    That is a SNAPSHOT CONTROLFILE, created by RMAN as a copy of the current controlfile.
    Wonder how and why the copy is corrupted ? Check the timestamp of the file to see when it was created. A RESYNC will always create a fresh Snapshot Controlfile.
    See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmarchi.htm#sthref65

  • Songs selected restarting the iPod. Corrupt iPod Control file?

    My friend has a fifth gen iPod that seems to be on the fritz. Apparently the songs she loads on the iPod don't work when she disconnects it. The she tries to select them, the iPod turns off and then restarts. Has any one had this problem before or knows how to fix it? She's tried the built in error check tool and ran the diagnostic. Here is the log from the diagnostic:
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Hewlett-Packard Presario R4000 (PX356UA#ABA)
    iTunes 7.0.2.16
    iPodService 7.0.2.16 is currently running.
    iTunesHelper is currently not running.
    Current user is an administrator.
    Connected Storage Devices:
    IDE\DiskTOSHIBAMK8025GAS_______________________KA024A_, Bus Type ATA, Bus Address [0,0]
    USBSTOR\DiskApple__iPod___________1.62, Bus Type USB
    Universal Serial Bus Controllers:
    Standard Enhanced PCI to USB Host Controller, PCI bus 0, device 19, function 2. Device is working properly.
    Standard OpenHCD USB Host Controller, PCI bus 0, device 19, function 0. Device is working properly.
    Standard OpenHCD USB Host Controller, PCI bus 0, device 19, function 1. Device is working properly.
    IEEE 1394 Host Controllers:
    Texas Instruments OHCI Compliant IEEE 1394 Host Controller, PCI bus 3, device 0, function 0. Device is working properly.
    Connected Device Information
    AURORA (E:\), iPod with video running firmware version 1.2
    Serial Number: ###########
    Bus Speed: 61440
    The last connected iPod serial number: ###########.
    The iPod Service Logging Information:
    [SERVICE: 0xDD8,21:29:49 INFO] Started C:\Program Files\iPod\bin\iPodService.exe (Fri Dec 01 21:29:49 2006)
    [SERVICE: 0xDD8,21:29:49 INFO] ##### iPodService starting as a service, version: 7.0.2.16
    [SERVICE: 0x48C,21:29:50 INFO] Timed out... Starting device manager!
    [SERVICE: 0x90C,21:29:50 INFO] Listener Window created
    [SERVICE: 0x90C,21:37:29 INFO] [DevNodesChanged]
    [SERVICE: 0x90C,21:37:30 INFO] [DevNodesChanged]
    [SERVICE: 0x90C,21:37:32 INFO] [VolumeRemoved] existing mask 0x0, arrive mask 0x20
    [SERVICE: 0x90C,21:37:32 INFO] [InterfaceRemoved]
    [SERVICE: 0x90C,21:41:00 INFO] [DevNodesChanged]
    [SERVICE: 0x90C,21:41:00 INFO] [DevNodesChanged]
    [SERVICE: 0x90C,21:41:00 INFO] [DevNodesChanged]
    [SERVICE: 0x90C,21:41:04 INFO] [InterfaceArrival] \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
    [SERVICE: 0x90C,21:41:04 INFO] device \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
    [SERVICE: 0x90C,21:41:04 INFO] device is an iPod
    [SERVICE: 0x90C,21:41:04 INFO] type 0x7 drive 0x1 partition 0x0
    [SERVICE: 0x90C,21:41:04 INFO] [-1] set waiting to mount = 1
    [SERVICE: 0x90C,21:41:04 INFO] [1] Assigning session 0
    [SERVICE: 0x90C,21:41:04 INFO] [1] added device interface "\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" to m_objDeviceNameMap
    [SERVICE: 0x90C,21:41:04 INFO] [1] added state machine 1 to m_objDeviceIdMap
    [SERVICE: 0x90C,21:41:04 INFO] [1] added device number 1 to m_objDeviceNumberMap
    [SERVICE: 0x90C,21:41:04 INFO] [1] added device interface "\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" to m_vctDeviceInterfaces
    [SERVICE: 0x90C,21:41:04 INFO] [1] input #0 from src #0
    [SERVICE: 0xB0C,21:41:04 INFO] [1] input #0
    [SERVICE: 0x90C,21:41:04 INFO] [DevNodesChanged]
    [SERVICE: 0x90C,21:41:04 INFO] [1] input #1 from src #0
    [SERVICE: 0x8CC,21:41:04 INFO] [1] input #1
    [SERVICE: 0x90C,21:41:04 INFO] [DevNodesChanged]
    [SERVICE: 0x90C,21:41:04 INFO] [1] input #2 from src #0
    [SERVICE: 0x82C,21:41:04 INFO] [1] input #2
    [SERVICE: 0xB0C,21:41:04 INFO] [MACHINE 1 INPUT #0] - (HDW) Interface Arrival
    [SERVICE: 0xB0C,21:41:04 INFO] [1] progress state is 2, Waiting to mount = 1
    [SERVICE: 0xB0C,21:41:04 INFO] [1] progress is now 2
    [SERVICE: 0xB0C,21:41:04 INFO] [1] progress is now 2
    [SERVICE: 0xB0C,21:41:04 INFO] [MACHINE 1 TRANSITION] - {Unknown} ==> {Connected}
    [SERVICE: 0xB0C,21:41:04 INFO] [MACHINE 1 ACTIONS] - {Connected}
    [SERVICE: 0xB0C,21:41:04 INFO] [1] SCSI Inquiry attempt #0
    [SERVICE: 0xB0C,21:41:04 INFO] VendorId: Apple
    [SERVICE: 0xB0C,21:41:04 INFO] ProductId: iPod
    [SERVICE: 0xB0C,21:41:04 INFO] revision: 1.62
    [SERVICE: 0xB0C,21:41:04 INFO] vendor bytes:
    [SERVICE: 0xB0C,21:41:04 INFO] 02 01 00 00 00 00 00 00 00 0B 00 05 92 00 00 00 00 00 00 00
    [SERVICE: 0xB0C,21:41:04 INFO] [1] firmware version: 1.62 (0x13E)
    [SERVICE: 0xB0C,21:41:04 INFO] [1] Power State: Powered
    [SERVICE: 0xB0C,21:41:04 INFO] [1] Checkpoint attempt #0
    [SERVICE: 0xB0C,21:41:05 ERROR] Did not find first letter of stage
    [SERVICE: 0xB0C,21:41:05 INFO] got HotPlugState 0
    [SERVICE: 0xB0C,21:41:05 INFO] [1] serial number 000A27001486887A
    [SERVICE: 0xB0C,21:41:05 INFO] [1] *** CONNECTED - Sending event out, device session 0.
    [SERVICE: 0x8CC,21:41:05 INFO] [MACHINE 1 INPUT #1] - (HDW) CheckDevNode
    [SERVICE: 0x8CC,21:41:05 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
    [SERVICE: 0x82C,21:41:05 INFO] [MACHINE 1 INPUT #2] - (HDW) CheckDevNode
    [SERVICE: 0x82C,21:41:05 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
    [SERVICE: 0xD28,21:41:05 INFO] <0x4> Got Serial #
    [SERVICE: 0x90C,21:41:13 INFO] [SIMULATED VOLUME ARRIVAL] generating volume mount for \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
    [SERVICE: 0x90C,21:41:13 INFO] [VolumeArrive] mask = 0x1C
    [SERVICE: 0x90C,21:41:13 INFO] looking up device # for \\.\E:
    [SERVICE: 0x90C,21:41:13 INFO] type 0x7 drive 0x1 partition 0x1
    [SERVICE: 0x90C,21:41:13 INFO] iTunes device #1 found with drive letter E, mask 0x10
    [SERVICE: 0x90C,21:41:13 INFO] [1] set waiting to mount = 0
    [SERVICE: 0x90C,21:41:13 INFO] [1] input #3 from src #0
    [SERVICE: 0xB0C,21:41:13 INFO] [1] input #3
    [SERVICE: 0x90C,21:41:13 INFO] looking up device # for \\.\D:
    [SERVICE: 0x90C,21:41:13 INFO] type 0x2 drive 0x0 partition 0xffffffff
    [SERVICE: 0x90C,21:41:13 INFO] [SIMULATED INTERFACE ARRIVAL] generating connect event for device 0
    [SERVICE: 0x90C,21:41:13 INFO] looking up device # for \\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}
    [SERVICE: 0x90C,21:41:13 INFO] type 0x7 drive 0x1 partition 0x0
    [SERVICE: 0xB0C,21:41:13 INFO] [MACHINE 1 INPUT #3] - (HDW) Volume Mount
    [SERVICE: 0xB0C,21:41:13 INFO] [MACHINE 1 TRANSITION] - {Connected} ==> {Mounted}
    [SERVICE: 0xB0C,21:41:13 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
    [SERVICE: 0xB0C,21:41:13 INFO] [MACHINE 1 ACTIONS] - {Mounted}
    [SERVICE: 0xB0C,21:41:13 INFO] [1] progress state is 2, Waiting to mount = 0
    [SERVICE: 0xB0C,21:41:13 INFO] [1] progress state is 2, Waiting to mount = 0
    [SERVICE: 0xB0C,21:41:13 ERROR] Did not find first letter of stage
    [SERVICE: 0xB0C,21:41:13 INFO] got HotPlugState 0
    [SERVICE: 0xB0C,21:41:16 INFO] [1] OS says filesystem is FAT32
    [SERVICE: 0xB0C,21:41:16 INFO] [1] ===== iPod with Video =====
    [SERVICE: 0xB0C,21:41:16 INFO] [1] progress state is 2, Waiting to mount = 0
    [SERVICE: 0xB0C,21:41:16 INFO] 21:41:16, year 2006, day of yr. 334, GMT offset -24 isDST 0
    [SERVICE: 0xB0C,21:41:16 INFO] [1] progress is now 0
    [SERVICE: 0x90C,21:41:16 INFO] [VolumeArrive] mask = 0x10
    [SERVICE: 0x90C,21:41:16 INFO] looking up device # for \\.\E:
    [SERVICE: 0x90C,21:41:16 INFO] type 0x7 drive 0x1 partition 0x1
    [SERVICE: 0x90C,21:41:16 INFO] iTunes device #1 found with drive letter E, mask 0x10
    [SERVICE: 0x90C,21:41:16 INFO] [1] set waiting to mount = 0
    [SERVICE: 0x90C,21:41:16 INFO] [1] input #4 from src #0
    [SERVICE: 0x90C,21:41:16 INFO] [DevNodesChanged]
    [SERVICE: 0x90C,21:41:16 INFO] [1] input #5 from src #0
    [SERVICE: 0xD28,21:41:16 INFO] [1] Progress state is 0, Waiting to disconnect = 0
    [SERVICE: 0xD28,21:41:16 INFO] Mounted
    [SERVICE: 0xD28,21:41:16 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
    [SERVICE: 0xD28,21:41:16 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
    [SERVICE: 0xBFC,21:41:16 INFO] Mounted
    [SERVICE: 0xBFC,21:41:16 INFO] [1] already mounted!
    [SERVICE: 0xB0C,21:41:18 INFO] [1] *** MOUNTED - Sending event out, device session 0.
    [SERVICE: 0xB0C,21:41:18 INFO] [1] Auto-launch iTunes ENABLED
    [SERVICE: 0xB0C,21:41:18 INFO] iTunes located at 'C:\Program Files\iTunes\iTunes.exe'
    [SERVICE: 0xBFC,21:41:18 INFO] [1] progress state is 0, Waiting to mount = 0
    [SERVICE: 0xD28,21:41:18 INFO] <0x4> GetFormatType() returned unknown format 0
    [SERVICE: 0xB0C,21:41:18 INFO] [1] input #4
    [SERVICE: 0x834,21:41:18 INFO] [1] Progress state is 0, Waiting to disconnect = 0
    [SERVICE: 0x834,21:41:18 INFO] Mounted
    [SERVICE: 0x834,21:41:18 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
    [SERVICE: 0x834,21:41:18 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
    [SERVICE: 0xBFC,21:41:18 INFO] <0x4> COM request for device 1 drive letter - E
    [SERVICE: 0x8CC,21:41:18 INFO] [1] input #5
    [SERVICE: 0xBFC,21:41:18 INFO] [1] Progress state is 0, Waiting to disconnect = 0
    [SERVICE: 0xBFC,21:41:18 INFO] Mounted
    [SERVICE: 0xBFC,21:41:18 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
    [SERVICE: 0xBFC,21:41:18 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
    [SERVICE: 0x834,21:41:18 INFO] Mounted
    [SERVICE: 0x834,21:41:18 INFO] [1] already mounted!
    [SERVICE: 0x834,21:41:18 INFO] [1] progress state is 0, Waiting to mount = 0
    [SERVICE: 0xB0C,21:41:18 INFO] [MACHINE 1 INPUT #4] - (HDW) Volume Mount
    [SERVICE: 0xB0C,21:41:18 INFO] ** CItunesDevice::HandleHardwareInput()
    [SERVICE: 0x8CC,21:41:18 INFO] [MACHINE 1 INPUT #5] - (HDW) CheckDevNode
    [SERVICE: 0x8CC,21:41:18 INFO] Connection Detection Status - 0x180600A, device '\\?\usbstor#disk&venapple&prod_ipod&rev1.62#000a27001486887a&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'
    [SERVICE: 0x334,21:41:18 INFO] iTunes already running in current session.
    [SERVICE: 0xBFC,21:41:20 INFO] <0x4> GetFormatType() returned unknown format 0
    [SERVICE: 0xBFC,21:43:34 INFO] Mounted
    [SERVICE: 0xBFC,21:43:34 INFO] Device 0 is FAT32 and appears mounted, checking intermediate state...
    [SERVICE: 0xBFC,21:43:34 INFO] Device 0 not in intermediate state. It appears to be truly mounted.
    [SERVICE: 0x834,21:43:34 INFO] [1] Progress state is 0, Waiting to disconnect = 0
    [SERVICE: 0x834,21:43:34 INFO] Mounted
    [SERVICE: 0x834,21:43:34 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
    [SERVICE: 0x834,21:43:34 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
    [SERVICE: 0xD28,21:44:28 INFO] [1] Progress state is 0, Waiting to disconnect = 0
    [SERVICE: 0xD28,21:44:28 INFO] Mounted
    [SERVICE: 0xD28,21:44:28 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
    [SERVICE: 0xD28,21:44:28 INFO] Device 1 not in intermediate state. It appears to be truly mounted.
    [SERVICE: 0xBFC,21:44:28 INFO] Mounted
    [SERVICE: 0xBFC,21:44:28 INFO] [1] already mounted!
    [SERVICE: 0xBFC,21:44:28 INFO] [1] progress state is 0, Waiting to mount = 0
    [SERVICE: 0x834,21:44:31 INFO] Mounted
    [SERVICE: 0x834,21:44:31 INFO] Device 0 is FAT32 and appears mounted, checking intermediate state...
    [SERVICE: 0x834,21:44:31 INFO] Device 0 not in intermediate state. It appears to be truly mounted.
    [SERVICE: 0xD28,21:44:31 INFO] [1] Progress state is 0, Waiting to disconnect = 0
    [SERVICE: 0xD28,21:44:31 INFO] Mounted
    [SERVICE: 0xD28,21:44:31 INFO] Device 1 is FAT32 and appears mounted, checking intermediate state...
    [SERVICE: 0xD28,21:44:31 INFO] Device 1 not in intermediate state. It appears to be truly mounted.

    Thanks for the advice, but unfortunately I know that the songs aren't affected by the EQ. I'm pretty sure that it is either one song that is corrupt that is causing this to happen or that the iPod Control file that manages the loading and playing of the music is corrupt somehow.
    Yeah, I really don't expect too many people to even understand what that diagnostic garble actually means let a lone read it. I did notice after I posted this that the iTunesHelper was not running at the time. Since my friend lives in a different state I really can't check to see if it's on or not. I'm going to see if I can just restart the iTunesHelper (if I can figure out how) and see if that does the trick.

  • Corrupt iPod Control Files

    My computer keeps telling me that my Control Files are corrupt. and every time i plug in my iPod i have to register it and give it a name before iTunes will recognize it. i tried opening the text files in the iPod_Control folder and apparently all of them are corrupt. And on top of that, some of the songs that i transfer to my iPod dont transfer all the way, it will play a minute or two and then just cut off.

    I would restore the nano OS. With a new OS, iTunes should prompt for a name.
    If the nano is working are you it maybe a corrupt file on you pc. I would try the 5R's http://www.apple.com/support/
    This should work.

  • Corrupted control file?

    Hi there,
    I have an Oracle 10.2.0.3 DB running on Solaris 10 update 5, SPARC 64-bit.
    I recently noticed that there are a number of files in my backupsets that have been flagged as corrupt:
    <pre>
    SQL> select recid, stamp, set_count, file#, marked_corrupt, media_corrupt, logically_corrupt
    2 from v$backup_datafile
    3 where checkpoint_change# >= 2215146265248
    4 and (marked_corrupt > 0 or media_corrupt > 0 or logically_corrupt > 0);
    </pre>
    <pre>
    RECID STAMP SET_COUNT FILE# MARKED_CORRUPT MEDIA_CORRUPT LOGICALLY_CORRUPT
    99977 746035916 15992 0 2011 317 1
    99978 746132372 15998 0 2011 318 0
    99979 746153962 15999 0 2011 319 0
    </pre>
    File#=0 means that this is corruption is on the control file.
    I checked a couple other views for more information, but I can't find anything about this:
    <pre>
    SQL> select * from v$backup_corruption;
    no rows selected
    SQL> select * from v$database_block_corruption;
    no rows selected
    </pre>
    Can anyone please explain what this information really means and how bad of a situation this is? What methods are available to resolve this issue?

    Thanks for answering so quickly.
    There are 3 copies of the controlfile available. They all have the same size & timestamp:
    <pre>
    -rw-r----- 1 oracle oinstall 38453248 Mar 20 14:17 control01.ctl
    -rw-r----- 1 oracle oinstall 38453248 Mar 20 14:17 control02.ctl
    -rw-r----- 1 oracle oinstall 38453248 Mar 20 14:17 control03.ctl
    </pre>
    DB is operating normally. We did have problems with our RMAN backups (incremental level 0) over this past weekend to our external tape system, which led me down this path.
    There are no errors in the alert log.
    I am not completely convinced my control files are corrupted though. What would be an easy way to check for corruption without taking DB down?

  • Corrupt control file

    Hello,
    I try to simulate some recovery scenarios. My Oracle 11g database is configured with two control files. I've stopped the database and corrupted one of the control files by editing it with some random characters using a hex editor. When I've started the database everything went as nothing has happened. No alerts, no errors, in Enterprise Manager the control file status is VALID. I've opened the control file, but is still edited (so it wasn't automatically replaced with the good one, which is not a good thing anyway).
    Why is this happening? The system can't alert me if one of the control files is corrupted?
    Thank you,
    Adrian
    Edited by: Adrian P on Dec 7, 2010 10:10 AM

    Adrian P wrote:
    Hello,
    I try to simulate some recovery scenarios. My Oracle 11g database is configured with two control files. I've stopped the database and corrupted one of the control files by editing it with some random characters using a hex editor. When I've started the database everything went as nothing has happened. No alerts, no errors, in Enterprise Manager the control file status is VALID. I've opened the control file, but is still edited (so it wasn't automatically replaced with the good one, which is not a good thing anyway).
    Why is this happening? The system can't alert me if one of the control files is corrupted?
    Thank you,
    Adrian
    Edited by: Adrian P on Dec 7, 2010 10:10 AMThat is not possible,if one controlfile is corrupted then database will automatically shutdown with abort option(while running) else if when after shutdown one controlfile was corrupted then next startup you must get an error like ORA-00205: error in identifying control file ,so you need recover/repair this.I think you did not impact current active controlfile.Please query used controlfile from v$controlfile

  • My control file is corrupt..

    I had a single control file and control file cant be acessed...it is corrupt..
    when i try to copy the file using os i cant ..so i went to database and i did take a trace of the control file..
    How can i now rename the controlfile. .I cant acess this controlfile..using os...it throws some error..
    Is the db gone ? Any method still to restore. I want to copy the control file via os. . But i cant..
    What can we don in such scenario
    db 11g xe , os win 7 .. I will like to change the location of my new controlfile..
    Edited by: zycoz100 on Oct 6, 2012 4:19 AM

    I am still not clear on why you think the controlfile is damaged. I would have thought that if it were damaged, you would not have been able to generate the trace file. But if it is, terminate the instance and run the trace file to re-create the controlfile. And while you are about it, add another copy so that you won't have the same problem again.
    (By the way, there appears to be something wring with your keyborad, it is introducing a lot of dots into your sentences)

  • Corrupt block detected in control file

    Hi All,
    I have a scenario where I have set up Active/Standby RACs and successfully have archive redo logs being applied to Standby - everything was ok
    Versions - Oracle 11g R2 , of RHEL 5
    Scenario 1:
    Redo log application on Standby works perfectly when I do not create our software application tables using sql scripts on the Primary until AFTER the steps for Dataguard/RAC is completed successfully.
    Scenario 2:
    Redo log application does not work when I do run our sql scripts BEFORE I take a RMAN backup of the Primary to duplicate in the Standby
    Everything comes up on the Standby after the rman duplicate, archive logs get transferred , but now they do not get applied.
    I see the ORA-00227: corrupt block detected in control file: (block 1, # blocks 1) in the alert log when I put standby in Recovery Mode
    My theory is that somehow our sql scripts are breaking my rman backups when I run them before creating an RMAN backup of Primary to load on Standby- I just need someone to advise whether this is a possibility from their experience, if so I will contact Oracle support to investigate further. This is my first time working on RAC DG etc
    Thanks

    Hi All ,
    Ive tried to upgrade Oracle to 11.2.0.2 to fix this issue - that I can no longer remember !
    Managed to complete upgrade on the standby node (after having to reinstall due to hostname change )
    Now trying the Active node, I see the following error during the grid upgrade where i execute rootupgrade.sh
    Now product-specific root actions will be performed.
    Using configuration parameter file: /opt/app/11.2.0/grid2/crs/install/crsconfig_params
    Creating trace directory
    Failed to add (property/value):('OLD_OCR_ID/'-1') for checkpoint:ROOTCRS_OLDHOMEINFO.Error code is 256
    The fixes for bug 9413827 are not present in the 11.2.0.1 crs home
    Apply the patches for these bugs in the 11.2.0.1 crs home and then run rootupgrade.sh
    /opt/app/11.2.0/grid2/perl/bin/perl -I/opt/app/11.2.0/grid2/perl/lib -I/opt/app/11.2.0/grid2/crs/install /opt/app/11.2.0/grid2/crs/install/rootcrs.pl execution failed
    I have to download this patch from MOS for bug 9413827, somehow apply it to the old version of grid 11.2.0.1 and then rootupgrade.sh

  • File corruption on SDCard when multiple files are being written from WinCE 6.0R3

    We currently have file corruption problems which we have been able to reproduce on our system which uses WinCE 6.0R3. We have an SDCard in our system which is mounted as the root FS.  When multiple files are being written to the file system we occasionally
    see file corruption with data destined from one file, ending up in another file, or in another location in the same file.  We have already written test SW that we have been able to use to reproduce the problem, and have worked with the SDCard vendor to
    check that the memory controller on the card is not the source of the problems.
    We know that the data we send to WriteFile() is correct, and that the data which eventually gets sent through the SDCard driver to the SD card is already corrupted.
    We believe that the problem is somewhere in the microsoft private sources between the high level filesystem API calls and the low level device calls that get the data onto the HW.
    We have confirmed that the cards that get corrupted are all good and this is not a case ofpoor quality flash memory in the cards. The same cards that fail under WinCE 6.0R3 never fail under the same types of testing on Windows, Mac OX, or linux.  We
    can hammer the cards with single files writes over and over, but as soon as multiple threads are writing multiple files it is only a matter of time before a corruption occurs.
    One of the big problems is that we are using the sqlcompact DB for storing some data and this DB uses a cache which get's flushed on it's own schedule. Often the DB gets corrupted because other files are being written when the DB decides to flush.
    So we can reproduce the error (with enough time), and we know that data into the windows CE stack of code is good, but it comes out to the SDcard driver corrupted.  We have tried to minimize writes to the file system, but so far we have not found a
    way to make sure only one file can be written at once. Is there a setting or an API call that we can make to force the OS into only allowing one file write at a time, or a way of seeing how the multiple files are managed in the private sources?
    Thanks
    Peter

    All QFE's have been applied we are building the image so we have some control.
    I have build an image which used the debug DLL's of the FATFS and I have enabled all of the DebugZones.  The problem is still happening. From the timings in the debug logs and the timestamps in the data which corrupts the test file I have been able
    to see that the file is corrupted AFTER the write is complete. Or at least that's how it seems.
    We finished writing the file and closed the handle. Then more data is written to other files. When we get around to verifying the file it now contains data from the files that were subsequently written.
    What I think I need to do is figure out in detail how the two files were "laid down" onto the SDCard.  If the system used the same cluster to write the 2 files then that would explain the issue.

  • Control File Backups

    Hello-
    I was looking over some configurations that was setup by another DBA.
    There are 3 control files created but they all are on the same disk/directory.
    Control file auto backup is on to tape.
    If there was a hardware failure and all three control were corrupted/lost then a backup would be used but
    full recovery and RESETLOGS would be needed which would lead to redo data loss.
    If I configured 1 control file on a seperate disk. I would be able to copy this one and create 3 files again and the database
    would be started again without needing recovery if all else was fine.
    If the control keeps track of redo logs SCN, Archive logs history and RMAN backups when these change then wouldn't another control file backup/ trace need to be done ?
    Control File Trace only alllows to rebuild the database not to copy. How often is the need to taken ? Every change in the database ?
    Backup to the Flash Recovery is another backup not an updated copy to copy from but to restore/recovery with.
    Do have have these theories correct and my best setup would to send at least one to another disk.
    Thanks-

    If there was a hardware failure and all three control were corrupted/lost then a backup would be used but
    full recovery and RESETLOGS would be needed which would lead to redo data loss. No. If you lose all three controlfiles, you either
    a. RESTORE a backup of the controlfile
    OR
    b. CREATE CONTROLFILE (from a script)
    In either case, you do NOT need to do an INCOMPLETE Recovery. You will be doing a COMPLETE Recovery (if you have the Online Redo Logs). However, an OPEN RESETLOGS is still required. The %r in the log_archive_format since 10g allows ArchiveLogs to be retained through ResetLogs.
    If the control keeps track of redo logs SCN, Archive logs history and RMAN backups when these change then wouldn't another control file backup/ trace need to be done ? If you RESTORE the controlfile you lose no information. However, you still have to OPEN RESETLOGS.
    If you do a CREATE CONTROLFILE, yes, you lose information about ArchiveLogs history and RMAN Backups.
    You can issue a CATALOG command to re-catalog available Backups.
    Control File Trace only alllows to rebuild the database not to copy.A Control File Trace is to recreate the Controlfile. Not rebuild the database.
    Backup to the Flash Recovery is another backup not an updated copy to copy from but to restore/recovery with. I don't understand what your statement or question might be here.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com
    Edited by: Hemant K Chitale on Mar 2, 2011 2:44 PM
    Edited by: Hemant K Chitale on Mar 2, 2011 2:45 PM

  • In case of a DB crash what happens to the status of the Control File

    When a DB is crashed will the Control file that exists in the OS also get corrupted, What happens to the Data Files , how to recover the Control files and Data Files , the DB in case there isn't any Backup media or any Dump available on the DB.

    The only one way to recover a database is to be in archivelog mode.
    And if I said about recover stricto sensu, that's because even in noarchivelog mode we need to use the command recover until cancel before an open with resetlogs option, even if we haven't any redo/archive logs. That fake a recover, this is what we say a mimic recover. Which is not a recover stricto sensu like it can be the case with archivelog mode.
    Nicolas.

  • Error in reading (block 3, # blocks 8) of control file

    Hi All,
    My database experiencing this error :
    ORA-00204: error in reading (block 3, # blocks 8) of control file
    ORA-00202: control file: 'C:\ORACLEXE\ORADATA\XE\CONTROL.DBF'
    ORA-27091: unable to queue I/O
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 23) Data error (cyclic redundancy check).
    Worst part we do not have latest backup and makes things weird.
    My Control file seem corrupted.

    Error: ORA 204
    Text: error in reading control file <name> block <num>, # blocks <num>
    Cause: A disk read-failure occurred while attempting to read the specified
    control file.
    The block location of the failure is given.
    Action: Check that the disk is online.
    If it is not, bring it online and shut down and restart Oracle.
    If the disk is online, then look for operating system reasons for
    Oracle's inability to read the disk or control file.
    Use the mutiplxed controlfile if you have already available to start your instance...
    SQL>show parameter control_files;
    Use above command

Maybe you are looking for