Hello Erman.
I am performing a restore RMAN. I got the error below RMAN-03002: failure of restore command at 11/17/2016 12:48:12 RMAN-06026: some targets not found - aborting restore RMAN-06100: no channel to restore a backup or copy of datafile 4078 RMAN-06100: no channel to restore a backup or copy of datafile 4077 RMAN-06100: no channel to restore a backup or copy of datafile 4076 RMAN-06100: no channel to restore a backup or copy of datafile 4075 RMAN-06100: no channel to restore a backup or copy of datafile 4074 RMAN-06100: no channel to restore a backup or copy of datafile 4073 RMAN-06100: no channel to restore a backup or copy of datafile 4071 RMAN-06100: no channel to restore a backup or copy of datafile 4070 RMAN-06100: no channel to restore a backup or copy of datafile 4069 RMAN-06100: no channel to restore a backup or copy of datafile 4068 RMAN-06100: no channel to restore a backup or copy of datafile 4067 When I ran it the first time, it proceeded normally but I had to cancel it(to run it on another machine). When I rerun the script, I got the error above. Can you please help Thanks, Roshan |
It's ok. I managed to restore a new controlfile.
|
Administrator
|
This time, you are fast Roshan :)
It seems , you were not allocating channels properly right? Maybe you were using the default but should have allocated the appropriate channel manually. Update this issue with the action that you took please. |
I took a fresh backup of the control file. I then restored it on the test instance and started mount. When I ran the restored, it managed to proceed.
I am now getting the error below in alert log file ORA-01122: database file 4659 failed verification check ORA-01110: data file 4659: '/ORADATA7/WINSRATDB/TSRATFAILURECDRJUN16_ROD.dbf' ORA-01565: error in identifying file '/ORADATA7/WINSRATDB/TSRATFAILURECDRJUN16_ROD.dbf' ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory Additional information: 3 Thu Nov 17 16:18:08 2016 Errors in file /opt/app/oracle/diag/rdbms/winsdb/WINSDB2/trace/WINSDB2_m002_1569.trc: ORA-51106: check failed to complete due to an error. See error below ORA-48223: Interrupt Requested - Fetch Aborted - Return Code [12751] [HM_INFO] ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory Additional information: 3 ORA-01122: database file 4778 failed verification check ORA-01110: data file 4778: '/ORADATA8/WINSMEDDB/TSMEDCDR28SEP16.dbf' ORA-01565: error in identifying file '/ORADATA8/WINSMEDDB/TSMEDCDR28SEP16.dbf' ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory Additional information: 3 my rman script is : connect target / connect auxiliary / run { ALLOCATE CHANNEL CH1 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL CH2 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL CH3 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL CH4 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL CH5 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL CH6 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL CH7 TYPE 'SBT_TAPE'; SEND 'NSR_ENV=(NSR_SERVER=rhis-nwdd-1202, NSR_DATA_VOLUME_POOL=004, NSR_CLIENT=10.178.1.67)'; SET NEWNAME FOR DATABASE TO '/data/WINSDB/%U'; restore database; #crosscheck backup; } Thanks, ROshan |
Administrator
|
This post was updated on .
It seems, there are some missing database file. (some file cannot be accessed)
1)Send me the restore log. 2)When was this Backup taken? 17 Kas 2016 19:41 tarihinde "Roshan [via Erman Arslan's Oracle Forum]" < ml-node+s2340467n1567h61@n4.nabble.com> yazdı: > I took a fresh backup of the control file. I then restored it on the test > instance and started mount. When I ran the restored, it managed to proceed. > > I am now getting the error below in alert log file > > > ORA-01122: database file 4659 failed verification check > ORA-01110: data file 4659: '/ORADATA7/WINSRATDB/TSRATFAILURECDRJUN16_ROD.dbf' > > ORA-01565: error in identifying file '/ORADATA7/WINSRATDB/TSRATFAILURECDRJUN16_ROD.dbf' > > ORA-27037: unable to obtain file status > Linux-x86_64 Error: 2: No such file or directory > Additional information: 3 > Thu Nov 17 16:18:08 2016 > Errors in file /opt/app/oracle/diag/rdbms/winsdb/WINSDB2/trace/WINSDB2_m002_1569.trc: > > ORA-51106: check failed to complete due to an error. See error below > ORA-48223: Interrupt Requested - Fetch Aborted - Return Code [12751] > [HM_INFO] > ORA-27037: unable to obtain file status > Linux-x86_64 Error: 2: No such file or directory > Additional information: 3 > ORA-01122: database file 4778 failed verification check > ORA-01110: data file 4778: '/ORADATA8/WINSMEDDB/TSMEDCDR28SEP16.dbf' > ORA-01565: error in identifying file '/ORADATA8/WINSMEDDB/TSMEDCDR28SEP16.dbf' > > ORA-27037: unable to obtain file status > Linux-x86_64 Error: 2: No such file or directory > Additional information: 3 > > my rman script is : > > connect target / > > connect auxiliary / > > > run { > ALLOCATE CHANNEL CH1 TYPE 'SBT_TAPE'; > ALLOCATE CHANNEL CH2 TYPE 'SBT_TAPE'; > ALLOCATE CHANNEL CH3 TYPE 'SBT_TAPE'; > ALLOCATE CHANNEL CH4 TYPE 'SBT_TAPE'; > ALLOCATE CHANNEL CH5 TYPE 'SBT_TAPE'; > ALLOCATE CHANNEL CH6 TYPE 'SBT_TAPE'; > ALLOCATE CHANNEL CH7 TYPE 'SBT_TAPE'; > > > SEND 'NSR_ENV=(NSR_SERVER=rhis-nwdd-1202, NSR_DATA_VOLUME_POOL=004, > NSR_CLIENT=10.178.1.67)'; > SET NEWNAME FOR DATABASE TO '/data/WINSDB/%U'; > > restore database; > #crosscheck backup; > > > } > > Thanks, > ROshan > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://erman-arslan-s-oracle-forum.2340467.n4.nabble.com/ > RMAN-restore-tp1563p1567.html > To start a new topic under Database, email ml-node+s2340467n4h8@n4. > nabble.com > To unsubscribe from Erman Arslan's Oracle Forum, click here > <http://erman-arslan-s-oracle-forum.2340467.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=ZWFyc2xhbkBwYXJ0bmVyYS5jb20udHJ8MXwxODQ5OTg2NjU2> > . > NAML > <http://erman-arslan-s-oracle-forum.2340467.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > |
The backup was taken yesterday(17.11.2016) on Networker.
The first time I used RMAN duplicate but it failed to restore the control file(rmanlogfile2) rmanlogfile2.rmanlogfile2 Then I did restore instead of RMAN duplicate. I backed up the control file and restored it manually. rmanlogfile3.rmanlogfile3 |
Administrator
|
Your datafiles names seems different than they are stored in controlfile. For example: name=/data/WINSDB/3349 Please use ls command to list the datafiles in /data/WINSDB.. You will see what I m talking about You can recreate your controlfile to match the datafile names(names you see when you use "ls" command in /data/WINSDB/ directory) 2016-11-18 6:18 GMT+03:00 Roshan [via Erman Arslan's Oracle Forum] <[hidden email]>: The backup was taken yesterday(17.11.2016) on Networker. Erman Arslan, MBA Applications and Database Operations Manager Oracle Certified Expert, Certified Exadata and Linux Administrator Author, Practical Oracle E-Business Suite Blog: ermanarslan.blogspot.com Forum: http://ermanarslan.blogspot.com/p/forum.html Mobile: 05301567803 |
I add the full path names in /data/WINSDB/** in the trace file below
controltrc.trc |
Administrator
|
Did you recreate controlfile?
(you need to recreate your controlfile using controltrc.trc file that you have prepared) That file controltrc.trc (script) is not prepared appropriately. There are 2 cases, noresetlogs or resetlogs. In this case, you need to create controlfile with noresetlog option, so there should be only the noresetlogs case in your script. Delete everything below the following line and recreate your controlfile; -- Set #2. RESETLOGS case Please first learn how to recreate controlfile and then do these things. There are critical activities, so you need to know what you are doing. |
Free forum by Nabble | Edit this page |