Urgent: How to restore a database to another machine without backup files

I am a beginner with Oracle and need to solve a tough problem.
I have all the files of a database on a hard disk without previously backed up. I don't have the old machine right now, I only have the hard disk from the old machine, and the new machine. There is an Oracle 9i database on the harddisk, and we need make the database work.
I've already installed the Oracle 9i on the computer(Win XP), put the files to the right folder, modified the listener.ora and tnsnames.ora, then I added the database from:
OEM -> Navigator -> Add database to tree -> Add selected databases from your local tnsnames.ora file ...
When I tried to connect to the database, I got the error:
ORA-12500: TNS: listener failed to start a dedicated server process.
The setting in my tnsnames.ora and listener.ora are all correct. tnsping <tnsname> is OK. Besides, the default database installed by the ORACLE software works fine.
Both the old machine and the new machine are Window XP. Both the old database and the new database are ORACLE 9i.
Any idea on how to mannually make it work? Thank you inadvance!
Lihua

Lihua,
Since you didn't create the DB with DBCA, you will need to manually create a SID.
From a command window type
ORADIM -NEW -SID mydb
Replace mydb with the DBNAME specified in your init.ora and listener.ora files.
This will create and start the service. The service should now be available as a windows service in the computer management area...
From a COMMAND window type
set oracle_sid=mydb
sqlplus /nolog
connect / as sysdba
startup
If you have all the files in the correct location the DB should start. You should then be able to connect with the database manager. Good Luck.
--Paul

Similar Messages

  • How do I move booksmark to another machine without replacing the bookmarks on the new machine, i.e combine a number of bookmark files

    I'm setting up a laptop and want to have all the bookmarks from my desk machine to be moved there from different accounts, but in end up in one file so that I don't have to have loads of separate accounts.

    You need to combine all the links to one HTML file.
    You only need a file with Anchor links like this:
    <pre><nowiki>
    <a href="https://support.mozilla.com/en-US/questions/754997">How do I move booksmark to another machine without replacing the bookmarks on the new machine, i.e combine a number of bookmark files | Firefox Support Forum | Firefox Support</a></nowiki></pre>
    If you export bookmarks to an HTML file then you create a copy of your bookmarks and you edit that copy and you do not affect the original bookmarks.
    See also [/questions/737050]

  • HT1766 How can restore the datas of Ipod touch without backup?

    Please help me the way to restore the datas of Ipod touch without backup, such as: images, documents, music, application... Thanks so much!!

    You can try to use the data recovery softwares.

  • Using mysql database on another machine without having mysql installed

    Hi...
    I was wondering whether its possible to copy a Mysql database that I have created on my machine, take it to another machine which does not have Mysql command line stuff installed and use my own JDBC connection to the copied mysql database and start manipulating my data. I don't know if this is possible or not ..
    The main purpose of doing this is I am creating a Java program which uses a Mysql database and I want to know if I give it to someone else to use it do they have to install Mysql and all the package or can they simply start using it.
    Thanks a lot
    Sassan

    masijade. wrote:
    TuringPest wrote:
    masijade. wrote:
    Sasanpad wrote:
    Hi...
    I was wondering whether its possible to copy a Mysql database that I have created on my machine, take it to another machine which does not have Mysql command line stuff installed and use my own JDBC connection to the copied mysql database and start manipulating my data. I don't know if this is possible or not ..No. Not only would it be in violation of the terms of your license, but a MySQL database is a client/server type setup. No MySQL binaries, no server, your client (jdbc) cannot connect.im just curious because im new to mysql myself, but what do you mean that its a violation of his license?
    do you mean for the commercial version?If he licenses his application under GPL, okay, no problem. Otherwise I read this quote
    Free use for those who never copy, modify or distribute. As long as you never distribute the MySQL Software in any way, you are free to use it for powering your application, irrespective of whether your application is under GPL license or not.
    to mean that you are not allowed to distribute MySQL (or any part of it, unless your application is GPL licensed) with your application, and if he distributes even just the data directory, he is distributing at least a part of MySQL.
    Other's may not see it that way, but do you want to take the chance?The critical element is the word distribute. If he tries to embed MySQL in the application he is giving to his users, he's distributing it. Hence a violation of the license. That does not in any way prevent him from including scripts that when the application is installed goes out and runs the script on the user's installation of MySQL and builds the databases and whatnot his application needs on their MySQL installation.
    Now, for the OP. If all you're keeping up with is urls and such and you don't have hundreds of them. I wouldn't bother with a db at all. a properties file would actually serve your purposes, and xml would suit just fine. Of course you'd have to have access to the file system and such but no licensing issues at all.
    PS.

  • 10g Rel2  How to clone a database in another machine suggestions

    Hi All,
    We have 2 solaris boxes(prodn & backup) and our new requirement is to clone the production on the backup server.
    a) If my understanding is correct , does the cloning helps to backup the changes in the production database automatically ?
    b) If by any chance if production database server is down will the backup server database take over it automatically ?
    c) Or can we use grid here or any other suggestions?
    This is not a large database and we have max of 1gb Data with 25 users.
    Thanks
    Rajesh ALex

    Hi All,
    We have 2 solaris boxes(prodn & backup) and our new
    requirement is to clone the production on the backup
    server.
    a) If my understanding is correct , does the cloning
    helps to backup the changes in the production
    database automatically ?No. This is the function of RMAN
    >
    b) If by any chance if production database server is
    down will the backup server database take over it
    automatically ?
    No. This is the function of Data Guard
    c) Or can we use grid here or any other
    suggestions?1) Use RMAN (Read the Backup documentation at http://www.oracle.com/pls/db102/homepage
    2) Use Grid Control (which will use RMAN)

  • How to restore demo database

    Hi all,
    I've a demo database (OEC Computers) 2007 B compatible.  Can anyone please guide me how to restore the database.  Since I don't have knowledge regarding SQL Server, I'm not able to restore the demo database.  Please guide me to restore the demo database.
    Thanks,
    Balaji

    Hi Balaji,
    Please open the SQL Server Enterprise Manager -> Expand the servers,
    1. rightclick Database ->New Database
    2. input information under General/Data Files, then OK
    3. right click the new db just created-> All task ->restore
    4. select 'From device' and then select device -> Add ->import the db ->OK
    Hope above could solve your problem.
    Regards,
    Eric

  • How to restore sql database in Private Azure Cloud subscription?

    I want to restore my database bacpac file
    into Private
    cloud Azure Subscription but I do not get any option in Azure portal :(
    Is there any way to do this? 
    questions I asked here at stackoverflow 
    http://stackoverflow.com/questions/28847844/how-to-restore-sql-database-in-private-azure-cloud-subscription

    Hi itsashuthinks,
    Currently for private cloud Azure there is no Import/Export Service to import your BACPAC file into SQL Database.
    Because of this you will need to use client tools. 
    The process to do this is the following.
    Open SSMS and connect to your cloud server.
    Right click on "Databases" under your server in object explorer and select import data-tier application.
    Follow the import wizard instructions to start the import.
    Learn more about Data-tier applications and migrations here: https://msdn.microsoft.com/en-us/library/ee210546.aspx
    Hope this helps!

  • Problem in recovering a database on another machine

    Dear All,
    I need your help in restoring and recovering a database on another machine. I don't have access to old machine to get logfile or archivelogs. I have taken full backup using RMAN. I have restored the database using rman sucessfully and trying to recover the database. RMAN have't restored the logfile. Database version is 8.1.7.4, OS is Solaris 8. In recovery, its showing the problem in rbs file. I'm showing all command and error. Just give me any idea that how to recover it sucessfully.
    SVRMGRL>recover database using backup controlfile until cancel;
    ORA-0279: Change 1935345519 generated at 08/19/2005 16:45:50 needed for thread 1
    ORA-0289: suggestion: /u07/oraexp/PROD/arch/arch_1_29958.arc
    ORA-0280: Change 1935345519 for thread 1 is in sequence #29958
    specify log : {RET}...
    cancel
    ORA-01547: warning: Recover succeeded but open resetlogs would get error below
    ORA-01194: file 2 needs more recovery to be consistent
    ORA-01110: data file 2: '/u06/oracle/oradata/PROD/rbs01-PROD.dbf'
    This RBS file size is 7GB. Is it the reason of problem. Even I tried until time, but its also has same error.
    SVRMGRL>recover database using backup controlfile until time '2005-08-16:20:10:00';
    ORA-0279: Change 1935345519 generated at 08/19/2005 16:45:50 needed for thread 1
    ORA-0289: suggestion: /u07/oraexp/PROD/arch/arch_1_29958.arc
    ORA-0280: Change 1935345519 for thread 1 is in sequence #29958
    specify log : {RET}...
    cancel
    ORA-01547: warning: Recover succeeded but open resetlogs would get error below
    ORA-01194: file 2 needs more recovery to be consistent
    ORA-01110: data file 2: '/u06/oracle/oradata/PROD/rbs01-PROD.dbf'
    Why its asking for archive file which generated on 19th, when I'm trying to recover until 16th only.
    Regards
    Rakesh

    Hi.
    What is the size of the redo logs in the database. With a small amount of transactions, there might be redo in this particular archived file from two days back. The timestamp of the archivelogfiles does not indicate that all redo in the file is from this day. It might have changes several days back if no logswitch occured inbetween.
    So, if I were you, I would provide all archivelogs required to get the datafiles consistent.
    As a matter of fact, if archived redo is in the following folder :
    /u07/oraexp/PROD/arch/
    I would use recover database until time and press return for all archived logs svrmgrl comes up with.
    I assume that the database was closed normally prior to taking the offline backup.
    Good luck.
    Rgds
    Kjell Ove

  • How to restore iTunes Library from Time Machine on Mavericks?

    Please, can someone give me the instructions on how to restore iTunes Library from Time Machine on Mavericks?

    See Pondini's TM FAQs, for details.

  • HT4007 Already have Aperture 3 license, how do I install it on another Mac without rebuying it from App store?

    Already have Aperture 3 license, how do I install it on another Mac without rebuying it from App store?

    As you can see from all the replies to your question if you are not clear in describing the situation it is very difficult to try and help you.
    So first how did you originally purchase Aperture? App Store, DVD or Unlocked Trial version.
    If you purchased it from the App store if you log into the App Store with the same Apple ID you used to purchase Aperture then you will be able to install it on other systems besides the one you originally installed it on. Even though the button says Purchase you will not be charged again as lolongnd as this is the same Apple ID you used the first time.
    If you installed from DVD or Trail unlock post back.

  • HT4710 how to restore/import photos from Time machine while using Lion

    how to restore/import photos from Time machine while using Lion

    Launch Time Machine, go to the time you want to restore from and select what you want to restore and click restore - once the photos are restored improt to iPhoto - or restore the entire iPhoto librarhy and use it
    LN

  • How to restore all system with Time Machine ?

    How to restore all system  from Time Machine ?
    The backup disk for Time Machine is a Usb disk, and the Os is Mountain Lion 10.8.2.
    Thanks in advance !

    Restore the system  with Time Machine  and from the external backup Usb HD,  by pressing  CMD + R  at the power on.
    It worked without problem.
    Thankyou once more !

  • How to add a record in document library without upload file.

    Hi,
    how to add a record in document library without upload file?
    Is it possible? I want to create a folders in Document Library but inside folders i do not want to upload a file instead of just i want to create a record. I will map my local file path to the records.
    Can anyone help me on it?
    Thanks & Regards
    Poomani Sankaran

    Hello Sankaran,
    document library is to upload documents, without document you will not be able to add a record or Item to it.
    for your requirement you can use a list and enable folders within the list and maintain the local path of the file as an item in list.
    http://www.sharepointbriefing.com/spconfig/article.php/3834951/Enable-the-New-Folder-Creation-Option-in-SharePoint-Custom-Lists.htm
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Updated ipad2 with new os half through the restore it tells me to enter a backup file password.. I never set one??

    updated ipad2 with new os half through the restore it tells me to enter a backup file password.. I never set one??

    Have you encrypted the backups files from your iPad? If so, that is likely the password needed.

  • Restore Oracle XE database to another machine

    I have an oracle XE database on a Windows XP machine, and I want to copy it to a Windows 7 machine.
    On the XP, I performed a backup through the "Backup Database" from the GUI (BACKUP.BAT). The Oracle backup created 3 new folders underneath C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    I installed XE on the Windows 7 machine and it seems to work well.
    Then I coped the 3 backup folders onto a jump drive and put them in the corresponding folder structure on the new Windows 7 machine. I ran the Restore from the GUI as an administrator (RESTORE.BAT). The restore failed, and I can't seem to figure out why. I'm not sure what the Sequence Numbers are all about.
    Now I can't get into Apex or Apex_Admin
    Thanks for taking a look at this.
    The contents of the OXE_RESTORE file are as follows:
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6031M/8183M, Ph+PgF:13737M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: xe (not mounted)
    RMAN> set echo on;
    2> restore (spfile from autobackup db_recovery_file_dest='C:\oraclexe\app\oracle\flash_recovery_area\');
    3> startup nomount force;
    4> restore (controlfile from autobackup);
    5> alter database mount;
    6> configure controlfile autobackup off;
    7> restore database;
    8>
    echo set on
    Starting restore at 08-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=37 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area\
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 08-JAN-11
    Oracle instance started
    Total System Global Area 805306368 bytes
    Fixed Size 1289996 bytes
    Variable Size 239075572 bytes
    Database Buffers 562036736 bytes
    Redo Buffers 2904064 bytes
    Starting restore at 08-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    Finished restore at 08-JAN-11
    database mounted
    released channel: ORA_DISK_1
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    Starting restore at 08-JAN-11
    Starting implicit crosscheck backup at 08-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=35 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 08-JAN-11
    Starting implicit crosscheck copy at 08-JAN-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 08-JAN-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO.DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS.DBF
    restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP tag=TAG20110107T194642
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:56
    Finished restore at 08-JAN-11
    Recovery Manager complete.
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6021M/8183M, Ph+PgF:13238M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: XE (DBID=2604800077, not open)
    RMAN> set echo on;
    2> recover database;
    3> alter database open resetlogs;
    4>
    echo set on
    Starting recover at 08-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=38 devtype=DISK
    starting media recovery
    archive log thread 1 sequence 375 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    archive log thread 1 sequence 376 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC thread=1 sequence=375
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC thread=1 sequence=376
    unable to find archive log
    archive log thread=1 sequence=377
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/08/2011 18:34:47
    RMAN-20000: abnormal termination of job step
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 377 lowscn 11715842
    Recovery Manager complete.

    After playing around a little bit I fixed the problem.
    There are a total of four folders in \FLASH_RECOVERY_AREA\XE\ I had only copied three of the four.
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    The Windows services keep the files in ONLINELOG open, so I had to shut down the services and then work with the folder. Therefore four folders have to be transported and copied onto the new machine:
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    ONLINELOG
    If you run as an administrator "Backup" from the GUI, it executes BACKUP.BAT, a batch file which calls RMAN. Once that's done, copy the four folders to the same location on the target machine and then run as an administrator "Restore" (RESTORE.BAT).
    In another forum someone said to be sure that the "Archive Logs" are copied. It should be interpreted to mean not just the "ARCHIVELOG" folder, but all four folders.
    Edited by: PhilMan2 on Jan 11, 2011 11:28 AM

Maybe you are looking for

  • Function-based index, NOT NULL bug?

    ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_10; ALTER SESSION SET QUERY_REWRITE_ENABLED = TRUE; CREATE TABLE xxx (code CHAR(6) NOT NULL); create index xxx_idx on xxx (upper(code)); select * from xxx order by upper(code); -> ORA-03113: end-of-file o

  • Custom window layout for Motion

    I'm working with FCP 4.5 and I have lot's of motion (scale/rotate..) on my current project. I'm trying to create a custom window layout where I would have the motion replacing the timeline, but I can't get it to work. The saved layout always brings u

  • 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

  • Windows7 upgrade on hp laptops running vista home basic

    hi.. i bought hp dv4-1240TX in july'09. but i am shocked and cannot find out whether HP will provide me free upgrade to windows7 or not as microsoft promises me an upgrade ref:: http://technet.microsoft.com/en-us/library/dd772579(WS.10).aspx and HP h

  • Sign with Digital Signature Button does nothing

    Hello, When I attempt to sign a PDF file I created with my digital signature, both in Adobe Acrobat 8 and the Acrobat X trial I then downloaded, when I go to push the "Sign" button at the bottom of the window, the button press animation happens as it