DBA away from work - trying to complete a restore : one more error!

HI. Oracle 9. UNIX.
I have just restored from production (PROD) backup to test and development server (TEST instance)
I have just tried to open the database with
startup open
but get this error:
ORA-01103 database base name 'PROD' in controlfile is not 'TEST'.
Should I go ahead and locate the control file and change the name there?
thanks for your time.
DA

Yes I know its been mentioned - thanks for your contribution. So has the issue of recreating the control file by copying it, which is what I need to do.
I need to edit a control file copy. I need to follow a copy / template of a control file as I dont know how to create one from scratch - and anyway, dont I need to list all datafiles?
I found the following in the udump. I have edited it according to the link kindly sent
http://www.dba-oracle.com/oracle_tips_db_copy.htm
dashcroft@TEST:more TEST_CTL2.sql
# Set #2. RESETLOGS case
# The following commands will create a new control file and use it
# to open the database.
# The contents of online logs will be lost and all backups will
# be invalidated. Use this only if online logs are damaged.
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 500
MAXINSTANCES 1
MAXLOGHISTORY 19285
LOGFILE
GROUP 1 (
'/oradbi2/oracle/testdata/log01a.dbf',
'/oradbi2/oracle/testdata/log01b.dbf'
) SIZE 10M,
GROUP 2 (
'/oradbi2/oracle/testdata/log02a.dbf',
'/oradbi2/oracle/testdata/log02b.dbf'
) SIZE 10M,
GROUP 3 (
'/oradbi2/oracle/testdata/log03a.dbf',
'/oradbi2/oracle/testdata/log03b.dbf'
) SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'/oradbi2/oracle/testdata/system01.dbf',
CHARACTER SET US7ASCII
# Recovery is required if any of the datafiles are restored backups,
# or if the last shutdown was not normal or immediate.
#RECOVER DATABASE
# Database can now be opened zeroing the online logs.
#ALTER DATABASE OPEN RESETLOGS;
# Commands to add tempfiles to temporary tablespaces.
# Online tempfiles have complete space information.
# Other tempfiles may require adjustment.
# End of tempfile additions.
Im not sure how to now copy this new control file into the directory (UNIX)
Any ideas>?
thanks
I have saved the control file as suggested in the link, and Im now looking at this next step:
startup nomount;
@db_create_controlfile.sql
Ofcourse the issue now is to try and save this file in teh TEST directory.
Message was edited by:
Dan A

Similar Messages

  • HT201263 IPhone 4S unlocked set , from iOS 6.1.2 upgrade to IOS 6.1.3 unable to update and now is in recevery mode, tried using ITunes to restore but end error ( error -1)

    I had one iPhone 4S buy from Singapore, have been using this phone about a year,
    Things happen when update from iOS 6.1.2 to iOS 6.1.3 (non-jail break phone).
    After update, when on 3G, phone become no service or searching. Had change new SIM card carrier vision 14.1.
    Things never change, so I did another restore using iTunes , things get worst, phone stuck in recovery mode and ending error (error-1)
    Had tried few time and same error.
    Note ITunes latest vision

    I had the same issue until yesterday. been struggling with it for the last 2 days. I bought the unlocked 4s from the store a week ago and now I cannot upgrade from 6.1 to the higher version.
    Although, after searching a lot on the net, I was able to find a software that'll get you out of the recovery mode. Hope this helps. Install the software and click on the 'Recovery Mode Loop Fixer' (2nd tab) and click 'Set Auto Boot True'
    The software looks shady but worked.
    Link:
    Ireb download link- WINDOWS
    NEW LINKS- ( http://hotfile.com/dl/179514703/4b201... ) (http://www.mediafire.com/?c4jqux6alnj... )
    IREB FOR MAC
    http://mediafire.com/?mymjzjaymyj

  • Trying to complete profile - get invalid number error

    I'm attempting to complete my Skype profile, but am running into a problem when trying to enter my mobile number.  I've entered it as xxxxxxxxxx and xxx-xxx-xxxx, neither seems acceptable. The error says, "It looks like you entered an invalid number - try again, so friends will have more ways to contact you." Not sure what I'm doing wrong.  I'm in the US and am attempting to use Skype Web (beta).  Need to use this for a call on Monday.

    Your first literal is not a date, assuming you didn't set NLS_DATE_FORMAT.
    So the code should have been
    SELECT TO_CHAR(to_date('2010-JUN-23','YYYY-MON-DD'), 'YYYY-MM-DD') FROM DUAL;
    Please note DATEs are always converted to VARCHAR2 when you SELECT them, using NLS_DATE_FORMAT.
    When you use a DATE string literal it ias always implicitly converted to a real date, by using NLS_DATE_FORMAT.
    So if you want all your dates formatted as YYYY-MON-DD, you need to set NLS_DATE_FORMAT to that mask.
    Sybrand Bakker
    Senior Oracle DBA

  • Photo stream not working, tried to reset I get a server error try later this is the second week

    Can't reset photostream, get a server error try later? Trying for 2 weeks

    Reboot your computer.  Temporarily disable any security software, i.e. firewall, anti-virus, anti-malware, etc.

  • How to Prevent Navigating Away From a Page?

    Hi all,
    I�m developing a JSF application using IBM Rational Application Developer v6.0 and have this scenario:
    Background:
    I have a page that acts as a 3 step wizard. It also contains links to other pages. The page has a corresponding �pagecode� bean with a request scope and another managed bean with a session scope and basically everything happens here, all the action and action listeners. Also this managed bean handles three important events the �page load�, �page load ends�, and �page post�.
    Desired Behavior:
    I want to enforce the user to complete all three steps of the wizard without navigating away from this wizard like page by displaying a message �hey you must complete all three steps� or something like that :).
    Problem:
    The user can click on other links on the page and navigate away from the wizard without completing all three steps.
    Any suggestions to this issue would be of great help.
    Thanks in advance.

    First: how do I change my stupid screen name? :)
    Thanks for your solution. Would this also work for normal html navigation? My understanding that this may only work for the JSF framework navigation rules. On the other hand I also have plain html links on the page and not really sure if the JSF framework also handles these types of navigation.
    This maybe a partial solution though and I really appreciate this.
    Thanks.

  • I'm using a Dell Inspiron 7520 ... pretty new. Sometimes when I download a CD / album to my library acouple of tracks get separated away from the main group. I've tried to click and drag the stragglers over to the main group but it doesn't work. Any Ideas

    .When installing a CD/album into my library some of the tracks get separated away from the main group of tracks. I try to click and drag the stragglers to the main group but it doesn't work. My laptop is using Windows 8. My old XP laptop didn't have this problem. I'm not sure if that has any thing to do with it. Any ideas would be appreciated. It's more of an irritation than a problem but if it can be solved, it would be a good thing. Thanks!         Paul 

    Hey Paul,
    If I understand correctly, it sounds like iTunes is not grouping the songs from a particular CD together. The cause could be something as minor as a misspelling or slight variations. For more information, see the following resource:
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Thanks,
    Matt M.

  • Not able to open adobe XI Pro after I have filled out a documents and trying saving it. The program stops working & won't open up again.  Tried to complete a repair, rebooting nothing works. Help please.

    Not able to open adobe XI Pro after I have filled out a documents and trying saving it. The program stops working & won't open up again.  Tried to complete a repair, rebooting nothing works. Help please.

    Hi,
    Can you pls. provide more details of the issue?
    OS/Platform
    It would be great if you can provide the MSI logs for repair from the %temp% directory.
    Thanks,

  • My iPHONE 5 wifi is NOT working when am 3 feet away from router while my iPhone 4s has full signal all the time.Please help.

    My iPHONE 5 wifi is NOT working when am 3 feet away from router while my iPhone 4s has full signal all the time.Please help.

    The problem would seem to be in the firewall in your router.  Have you tried disabling it? I assume you've updated the router firmware, right?  Consider bypassing the ISP provided router (using it as a modem only) and unsing another device such as an Aiport Express.

  • HT201210 Ive updated to ios 6 using wireless. once completed it has asked me to plug my phone into itunes. i'm away from home without itunes what can i do ? the phone cant get past this screen

    Ive just tried to install iOS 6 using wirless. Once completed it asks me to plug it into itunes.
    I'm away from home at the moment so i dont have access to itunes. is there anything i can do ? the phone will not do anything !!
    is there a way to get passed this or revert back ?

    I have the same problem and we can't simply just restore from the backup. It says that I have to set up my iPad through restoring. So I tried restoring it in iTunes but it won't restore until I have to turn off this **** "Find My iPad" crap but I couldn't because the set up's not complete and it won't let me go to my settings unless I set it up. So basically it's asking me to go to my settings but before I could go to it I have to restore, and in order to restore I have to go to settings. Get where I'm at?
    Please, Apple Tech people! Help this 14 year old girl on her period, PMS-ing, thinking about how I want  to strangle however made this mistake of a set up, updating her iPad in 3 am in the morning cursing the day she even thought of updating. I seriously need to get out of this loophole. I don't want to use my other iPad that only has 16GB. I just wanted the pretty graphics I saw in my parent's iPad airs, I don't ask for anything more :''''(

  • My ipod is stuck in reboot and I tried a force restart and im away from my computer. HELP!!

    My ipod is stuck in reboot and I tried a force restart and it didnt work. I am away from my computer so no itunes.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar
    You need a computer with iTunes for most of the above. It is required.

  • Wifi works at home but not when away from home

    My Wifi works at home but not when away from home, what is wrong?  I thought with a phone plan I didn't need to have a wifi connection.

    You either need WiFi or Cellular (or both). If you have neither, you can't connect to the internet.
    Most people use WiFi at home and Cellular while away from home, or connect to public WiFi networks where there are some.

  • Recently got a new computer and downloaded iTunes.  All of my music has downloaded from the cloud witht the exception of one song.  I have tried transferring from my phone, but it won't work.  How do I get it back without having to download again?

    Recently got a new computer and downloaded iTunes.  All of my music has downloaded from the cloud witht the exception of one song.  I have tried transferring from my phone, but it won't work.  How do I get it back without having to download again?
    Thanks.

    If you do not have access to the iTunes Library on your Old computer... or its Backup...
    See these 2 Links...
    Syncing to a New Computer...
    https://discussions.apple.com/docs/DOC-3141
    Recovering your iTunes library from your iPod or iOS device
    https://discussions.apple.com/docs/DOC-3991
    If you do have access... See Here...
    iTunes: How to move your music to a new computer
    Or...
    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  http://support.apple.com/kb/HT1751
    An Added Bonus is that you will have a Backup of iTunes.

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • I've managed to get back to Pages 4.3 and delete the downgrade Pages 5, which makes a total mess of any doc prepared with it,  but how to I get back to the old version of Pages on my iPad so that I can work while I am away from home.

    I've managed to get back to Pages 4.3 on my iMac and delete the downgrade Pages 5, which makes a total mess of photo-rich documents prepared with Facing Pages (most of mine),  but how to I get back to the old version of Pages on my iPad so that I can work on sections away from home. At least on my old PC, Word maintained compatability with old versions. Beginning to regret having switched.

    Thanks for your help. What is really irritating is that Apple give a big hurray about what they have added as "new"  in Pages 5 (most of it pretty useless) without telling you of the myriad things they have deleted.  If they had shown the list your gave the link to, I doubt may regular users would risked going to Mavericks with its auto upgrade. My partner got the message in time and is sticking with the earlier operating systems and Pages on Mac and iPad. Lucky girl.
    I have found a way to use my iPad to add chapters written while on the move to reports on my iMac Pages 4.3. If I write it on the new Pages on the iMac (don't seem to be able to revert there), the send the report as an email in WORD format (not Pages) and download it in the Text Editor, then cut and paste into the story on the iMac. Hardly elegant but it works.

  • Is there a way to get iPods to work away from my wi-fi at home?

    When we leave the house the kids are no longer connected to our wi-fi.  I thought the iPods would work like my iPhone 4S and would just pick up wherever we are.  They have 4th generation iPods.  Is it possible to get a data plan through ATT to get them to work away from home or do they just not work like phones?  I am assuming that they are still on 3G, but could be wrong.  They like iTunes and YouTube, so those don't work without wi-fi.  Any help would be appreciated.

    "I thought the iPods would work like my iPhone 4S and would just pick up wherever we are."
    Why would you think this?  It is not a phone.  It has no cellular connection.  it only connects via wi-fi.
    "I am assuming that they are still on 3G, "
    No ipod has ever been on 3G.  No ipods have ever connected via anything but wi-fi
    Sorry

Maybe you are looking for

  • Should I do a clean install of Mountain Lion on a late 2009 iMac or will I find hardware/driver issues?

    I have a late 2009 iMac (2.93 Ghz Intel Core Duo, 4GB of ram, model id is 9.1) running Lion right now. I upgraded it all the way from Leopard using the standard keep-all-your-apps-and-settings way. After looking at the hardware requirements for Mount

  • Horrible lag time, spinning wheel on MacBook Pro

    I'm putting this in the OS X Leopard section, but I don't know where it goes. I'm using OS X 10.5.6 on a MacBook Pro 2.4 GHz Intel Core 2 Duo with 4GB RAM and a 180 GB hard drive that's got 5 GB of space free. And it has become horribly sluggish. At

  • Wounded Tiger HDD

    I booted up into the Tiger/OS9 partitioned HDD opening into Tiger one day an all the dock icons were gone as well as bookmarks and other preferences. I stopped using this Tiger HDD and went back to using an older HDD Panther. Then the kernal Panic at

  • Muse interface looks pixelated

    I have a Mac Book Pro Retina display, but the Muse interface looks pixelated. Does anyone know how to fix that? Thanks!

  • 6280 switching off radio problem

    Hi all. When using radio on my 6280 I disconnect hands-free (from the sales package) and receive message "Connect an enhancement". It's ok. But I receive the same message when I try to switch off the radio! So to switch it off I should connect hands-