How to relocate one of the control files on another computer?

Hi ,
I have created a database(10g Release 2) on a windows xp laptop. The control_files parameter is:
C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL01.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL02.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL03.CTL *, and I use spfile* . Now, I would want to move the third control file(C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL03.CTL) to a disk on another computer ( which is a desktop running Windows XP SP2).The laptop and the desktop are on the same network, the laptop IP address is 192.168.0.1, and the desktop IP address is 192.168.0.2.On the desktop, I have a directory named CONTROL_FILES_DIR on a disk partition named C,*and using Windows appropriate GUI, I have shared this directory CONTROL_FILES_DIR , and given to all users the read and write rights on this CONTROL_FILES_DIR directory*. Then, I take the following steps:
a- In sql*plus(on the laptop), I execute
alter system set control_files='C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL01.CTL', 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL02.CTL', '\\192.168.0.2\C:\CONTROL_FILES_DIR\CONTROL03.CTL'  SCOPE=SPFILEb- Then , in sql*plus(on the laptop), I execute
shutdown immediate;c- Now, I copy CONTROL03.CTL file (on the laptop) and paste it in the directory C:\CONTROL_FILES_DIR on the desktop.
d-Now, in sql*plus(on the laptop), I execute
connect /as sysdba e-And,after the step d, I execute(in sql*plus, on the laptop):
startupAnd sql*plus displays the message : ORA-00205 error in identifying control file; check alert log .
I read the alert log file , and it was written:
ORA-00202: control file: '\\192.168.0.2\C:\CONTROL_FILES_DIR\CONTROL03.CTL'
ORA-27041: unable to open file
OSD-04002: Unable to open file
O/S-Error: (OS 5) Access is denied.Please, how can I solve this problem?
Thanks.

user639304 wrote:
Hi ,
I have created a database(10g Release 2) on a windows xp laptop. The control_files parameter is:
C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL01.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL02.CTL, C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL03.CTL *, and I use spfile* . Now, I would want to move the third control file(C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL03.CTL) to a disk on another computer ( which is a desktop running Windows XP SP2).The laptop and the desktop are on the same network, the laptop IP address is 192.168.0.1, and the desktop IP address is 192.168.0.2.On the desktop, I have a directory named CONTROL_FILES_DIR on a disk partition named C,*and using Windows appropriate GUI, I have shared this directory CONTROL_FILES_DIR , and given to all users the read and write rights on this CONTROL_FILES_DIR directory*. Then, I take the following steps:
a- In sql*plus(on the laptop), I execute
alter system set control_files='C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL01.CTL', 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\DB10G\CONTROL02.CTL', '\\192.168.0.2\C:\CONTROL_FILES_DIR\CONTROL03.CTL'  SCOPE=SPFILEb- Then , in sql*plus(on the laptop), I execute
shutdown immediate;c- Now, I copy CONTROL03.CTL file (on the laptop) and paste it in the directory C:\CONTROL_FILES_DIR on the desktop.
d-Now, in sql*plus(on the laptop), I execute
connect /as sysdba e-And,after the step d, I execute(in sql*plus, on the laptop):
startupAnd sql*plus displays the message : ORA-00205 error in identifying control file; check alert log .
I read the alert log file , and it was written:
ORA-00202: control file: '\\192.168.0.2\C:\CONTROL_FILES_DIR\CONTROL03.CTL'
ORA-27041: unable to open file
OSD-04002: Unable to open file
O/S-Error: (OS 5) Access is denied.Please, how can I solve this problem?
Thanks.Even if you get this to work one time, the very operation of your db is dependent on the availability of that second computer. Not a wise design decision. What problem are you trying to solve with this technique?

Similar Messages

  • How to pass parameters to the Control file while loading the data from flat file to staging table

    Thanks in advance

    Hi ,
    LOADDATA statement is required at the beginning of the control file.
    INFILE: INFILE keyword is used to specify location of the datafile or datafiles.
    INFILE* specifies that the data is found in the control file and not in an external file. INFILE ‘$FILE’, can be used to send the filepath and filename as a parameter when registered as a concurrent program.
    INFILE   ‘/home/vision/kap/import2.csv’ specifies the filepath and the filename.
    Hope this will help you......

  • How to copy one playlist and associated files to another's computer

    I have my iTunes music files on an external hard drive. My friend has created on my computer a largish (8GB) playlist of songs she wants from my library. I want to attach my external drive to her computer, and copy into her library only the songs that are on that playlist she's created. It would take forever to add them one by one using "add to library" and then hunting down one file at a time. Is there some way to copy the playlist onto her computer, and then use the playlist to automatically copy over the music files represented on the playlist? Many thanks for your help. If it matters, I'm on Windows XP and she's on OSX.

    You can burn that playlist as data CD/DVD (backup). Go to the preferences menu and make sure that data CD/DVD is selected. If the playlist is too large you could split it by moving a part of the files to a second playlist.
      Windows XP   iPod mini 2nd gen.

  • Is a copy of .xml file on the iPod too? If so, how can I copy ONLY the .xml file to my computer and NOT have to copy all my music files too?

    I had to re-load my OS (Windows XP Pro) from a HD snapshot via Acronis True Image Server. I save my OS on my C: drive and all my data files on my D: drive.  So when I re-loaded my OS, I still have all of my music files intact.
    I have re-loaded the OS before and had to re-create iTunes library which I did by doing the follwing:
    1. cut & paste .xml file in iTunes folder to desktop
    2. delete .itl file in iTunes folder
    3. import .xml file through iTunes  file>library>iport playlist
    4. navigate to .xml file on desktop and import
    This worked last time I re-loaded my OS but not this time for some reason.
    So I'm wondering if there is a copy of the .xml file on the iPod itself in the iPod_Control folder that I can copy and paste to my comuter desktop and import via the above steps?
    I have seen all kinds of solutions on the web that include copying the music files from the iPod to the computer.  I don't need to do that.  I have the music files.  I just need the .xml file so iTunes can talk to my iPod (5th Generation - 30G).

    Backup your music library, that is the only way to ensure it does not go missing through theft, damage, operator error, machine breaks, upgrades go wrong, operator goes wrong .........

  • How to copy one of my iWeb sites to another computer

    I have version 3.0.2 of iWeb.
    I created a site for someone else on my computer and now I want to give/transfer that site to another computer that has iWeb.
    How do I do this? I read something about all the iWeb files being in the Application Support/iWeb/Domain file, but having never heard of this before, I don't know how to JUST load that SINGLE site and not all of my iWeb sites.
    I was hoping that it was/is something as easy as copying and pasting a Word document.
    Help?
    Sara

    Duplicate the domain file that contains all of the sites. Move it to the other computer and open it with iWeb. Select the sites that you don't want and delete them from within iWeb leaving just the one site.
    Happy Holidays

  • HT4854 Can I copy the downloaded file to another computer to avoid the 4gigs re-download?

    I'm downloading ML and it takes A LOT to download the 4gb install files, can I just copy the downloaded files into my other computer so I can avoid re-downloading it?

    When Mountain Lion is fully downloaded it will automatically start. DO NOT click the Install button. Instead Quit the installer. Make a copy and put it in your Downloads folder for safe keeping. Now, see the following:
    Make Your Own Mountain/Lion Installer
    1. After downloading Mountain/Lion you must first save the Install Mac OS X Mountain/Lion application. After Mountain/Lion downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the Mountain/Lion installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
    2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    3. Locate the saved Mountain/Lion installer in your Downloads folder. CTRL- or RIGHT-click on the installer and select Show Package Contents from the contextual menu. Double-click on the Contents folder to open it. Double-click on the SharedSupport folder. In this folder you will see a disc image named InstallESD.dmg.
    4. Plug in your freshly prepared USB flash drive. You are going to clone the content of the InstallESD.dmg disc image to the flash drive as follows:
    Double-click on the InstallESD.dmg file to mount it on your Desktop.
    Open Disk Utility.
    Select the USB flash drive from the left side list.
    Click on the Restore tab in the DU main window.
    Select the USB flash drive volume from the left side list and drag it to the Destination entry field.
    Drag the mounted disc icon from the Desktop into the Source entry field.
    Double-check you got it right, then click on the Restore button.
    When the clone is completed you have a fully bootable installer that you can use without having to re-download Mountain/Lion.
    Note: The term Mountain/Lion used above means Lion or Mountain Lion.

  • How can I import all the music files on my computer directly into my iTunes library?

    I recently cleaned my computer of all junk files and this resulted in a loss of all my music from my iTunes library. All of the files are still on my computer but I can only find them one at a time is there a way to speed up this process?

    Ok, go to your downloads in itunes and right click on what you wish to remove and click delete, then confirm the dialoague box and it should remove it.  I did this with a free tv episode to test it out.  Just now worked.  If you have problems try updating itunes and then try again.

  • How to make the control file consistent when I re-mulitplexing them

    Oracle 10g R2 on the AIX 5.3L
    My current control files (three) from the default set-up are all located in the same directory (/dbbaan/oradata/<SID>/). If I want to change some of the multiplexing of the control file to different directory to avoid the media failure,
    1. I copy one or two control files to different directory.
    2. create a new init_sid.ora from spfile
    2. edit the init_sid.ora file and change the locations of the control file
    3. shutdown/restart the DB using the init_sid.ora.
    4. create the spfile from the pfile
    5 shutdown/restart the DB with new spfile ( "SQL> startup")
    My question is: since there is always time lag between copying and recreating the new init_sid.ora, while the control file(s) are constantly updating, how can Db guarrente the consistency of the DB when I restart the DB (the control file specified in the init_sid.ora may be some time old) ? or does it matter?
    I did above and my DB restart without problem.

    Another problem concerns me. What happen if one of
    multiplexed control file location, which I use a NFS
    of another server, goes down and is not available
    during the operation ( After I restart up the DB)? I
    am sure I will see the error of that control file in
    the alert log.If one of the control files not accessible during operation, Oracle will crash. So you better make sure all of your control file location are reliable and accessible.

  • Re createing the control file

    alter database backup controlfile to trace;
    How do I re create the control file using what's in trace(Oracle 9i Solaris 9)
    Thanx.

    See Note 1012929.6 How to Recreate the Controlfile, the trace contains the syntax to recreate the controlfile, you can copy the contents to a sql file such as newctl.sql, edit the contents removing the header and make other changes such as increasing maxlogfiles, then run the sql file.
    HTH
    Enrique
    PS Why do you need to rebuild the controlfile?

  • MAC OS Yosemite - CS6 - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one

    - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one window without having to be in full screen mode? I've managed to go some time like this, but right now it's just really annoying me. HELP!!!

    Just drag the small window to the top right below the toolbar, you'll see the area highlighted and when you drop it the file should dock.

  • How to refer the SQL*Loader command line parameters in the control file

    The problem I am trying to resolve is to insert the input file name when SQL*Loader is loading the record from the file. I have multiple files to load and it is nice to associate a record with a particular input file.

    Create the control file dynamically (and fill one of the columns with the file name as a constant) before you start SQL*Loader
    Another option is to use external tables
    Re: Data Loading
    Message was edited by:
    Jens Petersen

  • How to synchronize if one servlet read a file and anothe servlet update the

    How to synchronize if one servlet read a file and anothe servlet update the file at a time?

    Create a class that holds the reference to the file and do the whole file manipulation just in that class. than synchronize the read and write methodes. A reference to this file handler class can be stored to the servlet context in one servlet and read out from the servlet context in the other servlet.

  • How to recreate the control files

    Can someone tell me how to recreate the control file?
    Thanks in advance
    Himanshu

    Hi, You can use the following statement.
    CREATE CONTROLFILE
    SET DATABASE prod
    LOGFILE GROUP 1 ('/u01/oracle/prod/redo01_01.log',
    '/u01/oracle/prod/redo01_02.log'),
    GROUP 2 ('/u01/oracle/prod/redo02_01.log',
    '/u01/oracle/prod/redo02_02.log'),
    GROUP 3 ('/u01/oracle/prod/redo03_01.log',
    '/u01/oracle/prod/redo03_02.log')
    NORESETLOGS
    DATAFILE '/u01/oracle/prod/system01.dbf' SIZE 3M,
    '/u01/oracle/prod/rbs01.dbs' SIZE 5M,
    '/u01/oracle/prod/users01.dbs' SIZE 5M,
    '/u01/oracle/prod/temp01.dbs' SIZE 5M
    MAXLOGFILES 50
    MAXLOGMEMBERS 3
    MAXLOGHISTORY 400
    MAXDATAFILES 200
    MAXINSTANCES 6
    ARCHIVELOG;
    Thanks

  • How do I get itunes back once ive delted one of the sub files ?

    i accidentally deleted one of the sub files of itunes, and when I followed the steps on the apple website I could delete all the programmes apart from bonjour and itunes. a message comes when when I press uninstall a message comes up saying "
    the installation source for this product is not available. verify that the source exists and that you can access it" well I don't know what that means and where to find it, please help.

    You've just described how Airplay works!

  • How can i validate the data in the control file?

    Consider that the SQLLoader reads the Input data File from the path and it loads the data into the tables based up on the descrition specified in the control File.
    First, the table to be filled is created:
    create table sql_loader_1 ( load_time date, field_1 Numeric, field_2 varchar2(10)
    Sample Control File :
    load_1.ctl
    load data
    infile 'load_1.dat' "str '\r\n'"
    insert into table sql_loader_1
    load_time sysdate,
    field_2 position( 1:10),
    field_1 position(11:20)
    Note that the positions 11 through 20 are loaded into field_1 and positions 1 through 10 into field_2. The field load_time is filled with the current time (sysdate) of the load.
    Here's the data. The name of the file (load_1.dat) had been specified with the infile statement in the control file.
    load_1.dat
    0123456789abcdefghij
    foo bar
    here comes a very long line
    and the next is
    short
    Here i want to validate the field_1 (Numeric Datatype) since the data file contains the character value (i.e)abcdefghij

    Good question for this forum:
    Export/Import/SQL Loader & External Tables
    Werner

Maybe you are looking for