Moving control files; That I should stop after step 5?

DB version: 10 gr 2

I need to move the control files DBs to a new file system. I have prepared the following steps.
Step1. create pfile from spfile

Step2. shutdown immediate
        
                
Step3. Using cp command, copy control files to the new location.

step 4. startup NOMOUNT pfile=$ORACLE_HOME/dbs/init.ora;

step5. ALTER SYSTEM SET CONTROL_FILES='new_location' SCOPE=spfile;

step6. startup 
I read somewhere in OTN Instance needs a stop after step 5. Should an afte step5 stop the Forum? The database is not mounted. Right?

ALTER SYSTEM SET CONTROL_FILES = "nouvel_emplacement";
no need to bounce back.

Julien,
CONTROL_FILES parameter requires a rebound.

Pete,
The database may not be mounted or open but the instance has started in nomount stage and you have to stop the instance. While its always good to make a backup of spfile, go CONTROL_FILES, you don't need to start using pfile. That's all you need to do.

1. IMMEDIATE STOP

2. copy control files to the new location.

3 STARTUP NOMOUNT; -It now uses the spfile to start and now uses the old control files.

4 issue the command ALTER SYSTEM SET CONTROL_FILES as

SQL>ALTER SYSTEM SET CONTROL_FILES='/u02/oracle/ctrl_files/CONTROL01.CTL',-
 '/u02/oracle/ctrl_files/CONTROL02.CTL',-
 '/u02/oracle/ctrl_files/CONTROL03.CTL' SCOPE=spfile;

System altered.

5. stop the instance

SQL > SHUTDOWN;
ORA-01507: database not mounted

ORACLE instance stops.

6. start-up

Tags: Database

Similar Questions

  • M35X - beginning of fan but that the unit stops after 3 seconds

    Hi, I have a Toshiba M35X and when I press on IT it starts but in 2 or 3 seconds it stops...
    I already changed the memory and the processor, but nothing...
    Sometimes the main chipset sometimes no harm, the processor same...
    I thank everyone helps me!

    Thank you

    Hello

    Maybe the problem is just overheated? Try to clean the unit. It is also possible that you didn t Exchange processor correctly and there is no cooling enough stick. In this case, the processor can burn in a few seconds of work.

    Sorry, but you should check the device by a technician. On this way, we can only speculate on the possible causes.

  • my laptop freezes and won't do anything that I should stop with the power button of the suggestions on how to make it work again

    When I turn on my laptop (dell inspiron 1525, windows vista) it freezes and won't do anything even ctrl alt del work nothing I went back and in SafeMode system restore and run antivirus scans and registry fix also uninstalled no recent data again, nothing don't market it please help I need laptop for school

    Hello

    1 have you done any recent software or the hardware changes on your computer?

    2. are you able to boot to the desktop in normal mode?

    Method 1:

    If you are not able to boot into normal mode, then I suggest you to start in safe mode and perform the clean boot.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7 http://support.microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 article to start on normal startup.

    Method 2:

    I also suggest you to disconnect all external devices and then try to start.

    See also:

    Island of the Windows recovery environment (WinRE) Windows Vista, 7, Server 2008, Server 2008 R2 ve'yi kurtarmak

    http://blogs.technet.com/b/bulentozkir/archive/2009/12/29/Windows-recovery-environment-WinRE-Ile-Windows-Vista-7-Server-2008-ve-Server-2008-R2-Yi-kurtarmak.aspx

  • Installation of Windows 7 stopped after step "finish installation".

    During the installation, the process got to the step "Installation complete" and seems to have stopped. He remained at the same point now for more than 10 hours. Now what should I do?

    Pavilion Slimline s5704y PC

    I restart the computer. It comes up with "the installation program starts services. After a while, it says the installer does not start due to an error and I have to restart the computer and reinstall Windows 7. But it is immediately in the same message. I tried several different methods, and he repeats the problem. I think I have a problem that can only fixed by sending to the seller or the factory. Thanks in any case.

    It looks like a possible, true hardware problem, could be...
     
    You have this PC:
    http://h10025.www1.HP.com/ewfrf/wc/product?cc=us&LC=en&DLC=en&product=5049558
     
    Maybe one of these items might you get?

  • Satellite Pro U200 starts after some time it stops after 5 minutes

    Satellite Pro U200 stops after 5 minutes, then starts after some time. When she stops the
    blue screen say - stop: (0x0000008e, 0xaa846f58, 0xa9f29808, 0x00000000)

    Sysaudio.sys - address aa846f58 base at aa843000, datestamp 41107f1a

    Hello

    Believe me; It's not easy to say exactly why the BSOD appears.
    It usually happens because of a malfunction or severe software hardware fault.
    Have you used the operating system of the image of Toshiba?
    Message it says something about sysaudio.sys.
    This file is a system audio WDM filter processes and it s a part of the Windows operating system. It controls the material such as the printer or the graphics card at a lower level.

    Note: The virus uses these files as a camouflage. You should always use an anti virus application.

    In addition, you suggested that the laptop stops after 5 min.
    Well, this looks like an overheating problem. How did you use the laptop? You know that free space around the laptop is very important due to the circulation of air. Fans should also be free.

    I you use Notepad in the right position and it happen, so I recommend asking for help Toshiba service partner. They should check the laptop.

  • Disable the break control file

    Please can someone tell me how to disable the breaking control file that is attached to a data definition, it is no longer necessary for this definition of data...

    I need an option without re-creating the data definition

    Concerning

    Check this https://community.oracle.com/thread/1027694

  • problem in the control file created by file LKM to Oracle (SQLLDR)

    I have a fixed file ABC.txt and it has three fields/columns of length, C1: = 4, C2: = 10 & C3: = 6 & I use LKM to Oracle (SQLLDR) file to load data into the target oracle table.

    I received the following error message in step CALL SQLLDR at km
    "org.apache.bsf.BSFException: exception of Jython: Traceback (innermost last):
    File "< string >", line 3, in? »

    Then I checked the registry of file control and found that the start value position & final value was not defined in the control file that is created automatically by LKM
    "
    SQL * Loader-350: error of syntax on line 14.
    Expects an integer positive, found ': '.
    C1_C1 POSITION (:) '


    The control created by ODI file & the position value is missing.

    OPTIONS)
    SKIP = 0,
    ERRORS = 0,
    DIRECT = FALSE
    )
    DOWNLOAD THE DATA
    INFILE 'C:/SNAPON/EOL.txt '.
    BADFILE "C:/SNAPON/ABC.bad."
    DISCARDFILE 'C:/SNAPON/ABC.dsc '.
    DISCARDMAX 1
    IN THE TABLE SNAPON_W.C$ _0ABC
    (
    C1_C1 POSITION (:),
    C2_C2 POSITION (:),
    C3_C3 POSITION (:)
    )

    '
    Anyone know why the position value is not created in the control file.

    Published by: neeraj_singh on March 3, 2011 01:25

    Hi Neeraj,

    It happens because you have not selected the area of mapping as STAGUING running.

    Open your interface, click each column of your data target store, make sure that "run them One" is marked on the "transit Zone".

    Then run your interface.

    Thank you
    Fati

  • SQL Loader control file (.ctl) given in table

    Hello

    I have a table 'region' in my schema called dss.
    SQL > desc region
    R_REGIONKEY
    R_NAME
    R_COMMENT
    I want to LOAD the data into this table of the region in a file called "region.tbl" located at d:\tpch\region.tbl, using a CONTROL file that is also on the the same place is to say d:\tpch\region.ctl.

    Region.tbl file contains few records. Recording of a SAMPLE of region.tbl is as follows:

    * 1 | AMERICA | HS ironic use, same request. s | *

    Region.CTL file contains the following lines to load data using sql loader:

    DOWNLOAD THE DATA
    INFILE'd:\tpch\region.tbl'
    IN THE REGION OF THE TABLE
    FIELDS TERMINATED BY ' |'
    * (R_REGIONKEY, R_NAME, R_COMMENT) *.

    so I go to the command prompt, navigate to the location of the above files and run the command:
    D:\TPCH > sqlldr control = region.ctl dss/dss = userid
    and get the following error:

    SQL * Loader-128: unable to start session
    ORA-01017: name of user and password invalid. connection refused

    I have the same table under the "system" user creation, but I get a different error with this that is:

    SQL * Loader-941: error when the table REGION describe statement
    ORA-04043: object REGION does not exist

    Using Oracle 11 g on my Windows XP.

    I'll appreciate the valuable suggestion.

    Thank you very much.

    Best regards
    Kam

    You can connect with dss/dss? For example, what

    sqlplus dss/dss
    

    If no, and you are sure that the name of username/password combination is correct, have you checked things like $ORACLE_SID - i.e. it points to the right database?

  • Conditions in SQL Loader Control file

    Hello

    I am trying to find a way to set up a sql loader control file that will have the data to a CSV (as shown below):

    ACCOUNT DESCRIPTION 9-Apr 9-May 9-June 9 - Jul 9-Aug 9-Sep
    3573000 H - 75 68 75 75 75 30 CLRICL
    3123000 10 10 6 12 10 7 HRS-OTHER
    3151000 HRS - BISHOP 150 143 150 143 120 143
    3153000 HRS - BISHOP 22 22 14 29 22 22
    3571000 H-TEACHER 135 143 150 218 143 143

    and import it into an Oracle table as below:

    ACCOUNT YR_MNTH TOTAL DESCRIPTION
    3573000 h-CLRICL April 9, 70
    3123000 HRS-OTHER 9-Apr 5
    3151000 HRS - MGR 9 - APR 129
    HRS - MGR 3153000 9-April 20
    3571000 HRS - TEACHER 9 - APR 145
    3573000 h-CLRICL 9 may 73
    3123000 HRS - OTHER 9 - May 12
    3151000 HRS - MGR 9 - may 135
    HRS - MGR 3153000 9-10 may
    3571000 HRS - TEACHER 9 - may 150
    3573000 h-CLRICL June 9, 75
    3123000 HRS-OTHER 9 - Jun 10
    3151000 HRS - 9 - Jun 150 MGR
    HRS - MGR 3153000 9-June 22
    3571000 HRS-TEACHER 9 - Jun 135
    3573000 h-CLRICL July 9, 68
    3123000 HRS - OTHER 9-Jul 10
    3151000 HRS - MGR 9 - Jul 143
    HRS - MGR 3153000 9 - Jul 22
    3571000 HRS - TEACHER 9 - Jul 143
    3573000 h-CLRICL August 9, 75
    3123000 HRS - OTHER 9-August 6
    3151000 HRS - MGR 9 - August 150
    HRS - MGR 3153000 9-August 14
    3571000 HRS - TEACHER 9 - August 150
    3573000 h-CLRICL 9 - Sep 75
    3123000 9 HRS-OTHER-Sep 12
    HRS - MGR 3151000 9-Sep 143
    9 HRS - MGR 3153000 - Sept. 29
    3571000 HRS-TEACHER 9 - Sep 218

    Has anyone done anything like this? Any light anyone can throw is greatly appreciated.

    Thank you.

    Edited by: user11293056 January 6, 2010 09:19

    Hello

    I think you'll be better off using external pointing to csv data, and then by running the query on the external table to insert rows in the target table table.

    Concerning

  • Can I restore my laptop hard drive files that have been moved to my external hard drive (who subsequentally has stopped working)?

    I cut and pasted and then a few important files from my laptop on an external hard drive. Since the external hard drive stopped working. Is it possible to find the files that have been moved?

    Thank you!

    (More info: I tried to recover the files from external hard disk but it requires a physical recovery and would cost over $ 1000, which I did not; also unfortunately I don't think I created backup via the "backup and Restore Center" files in the control panel).

    It depends on how long you have moved the files, and how the computer has been used since.

    If you have Vista Business, Ultimate or enterprise, you can use the previous versions.

    http://Windows.Microsoft.com/en-us/Windows-Vista/previous-versions-of-files-frequently-asked-questions

    Try these programs:

  • I lost the hybrid sleep on my laptop Vista Home Premium. The controls reveal that it is because of VGA files and or legacy (that they) what should I do to recover the hybrid sleep please

    I lost the hybrid sleep on my laptop Vista Home Premium. The controls reveal that it is because of VGA files and or legacy (that they) what should I do to recover the hybrid sleep please

    Allow hybrid sleep is turned on? :

    How enable and activate standby hybrid under Vista
    http://www.mydigitallife.info/how-to-enable-and-turn-on-hybrid-sleep-in-Vista/

    Missing or not found allow advanced settings of hybrid sleep in Vista Power Options
    http://www.mydigitallife.info/missing-or-not-found-allow-hybrid-sleep-in-Vista-power-options-advanced-settings/

  • Windows Media Player cannot find the file. 'If you try to play, burn, or sync an item that is in your library, the element can point to a file that has been moved, renamed or deleted'.

    Original title:

    Problems with rip audio CDs with windows media player

    Bought the CD now 82 and try to tear with the windows media player player, but keep getting the message "Windows Media Player cannot find the file. If you try to play, burn, or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted." What should I do to rip this cd please did tear previously no probs, but now seems to have a problem

    Thanks in advance

    Anne

    Hello
    1. You did changes to the computer before the show?
    2. Are you able to extract other CDs using Windows media Player?
    3. What is the file format of the file you are trying to extract?
    Method 1:
    Step 1:
    You can run the Windows Media Player Library convenience store & check if you are able to rip CDs.
    Step 2:

    Open the troubleshooting Windows Media Player settings Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter


    Method 2: Rebuild the windows media player.

    exit Windows Media Player.
    b. click Start, type %LOCALAPPDATA%\Microsoft\Media Playerand then click OK.
    c. Select all files in the folder, and then click delete on the file menu.

    Note:
    You don't have to remove the folders that are in this folder.
    c. restart Windows Media Player.
    Note:
    Windows Media Player automatically rebuilds the database.
    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:
    exit Windows Media Player.
    b. click Start, type %LOCALAPPDATA%\Microsoft, and then click OK.
    c. Select the Media Player folder, and then click delete on the file menu.
    d. restart Windows Media Player.
    Note:
    Windows Media Player automatically rebuilds the database.

    Method 3: Disable and enable the windows media player. Follow these steps:

    a. open the Control Panel from the Start menu.
    b. open programs and features in Control Panel .

    Note: If the programs and features are not available, change the view by large icons at the top right of the control panel.

    c. Select Windows turn on or off features in the left column of the window programs and features.
    d. click on the plus sign next to multimedia functions.
    e. uncheck Windows Media player and then click OK. (You may receive a warning message. Click on the Yes button.)
    f. restart your computer.
    g. to reactivate the Media center follow the same steps and place a checkmark for Windows Media player.
    h. click on the Ok button.


    i. restart your computer.
    Reference:
    Method 4:
    Change the location of Rip. see the steps mentioned in the link
    given below:
    To change rip settings in the Options dialog box

    http://Windows.Microsoft.com/en-us/Windows7/change-settings-for-ripping-music
    I hope this helps!
  • Incompatible control file and the data after the backup files

    The company that I work has servers where some components are new more, so have a backup in the event of hardware failure. If we intend to do some clones of 1:1 of the current servers to change them in case of emergency. As most of the necessary data is not volatile and we reset stuff in any case, there is no need of replicaton, replace an old version of the database works very well. Now we could not easily get substitutes for our old material, so we had to set up new machines. And that's where my trouble starts, because now I had to actually set up the system and the database rather than do a simple copy of byte to byte. I'm mainly a programmer, using Oracle of 'other' side, but as our DBA is yet to come and the work must be done now...

    So I did some reasearch and decided to do a normal backup of the cold. I have dumped the controlfile, copied data and configuration files to the new server and read the prompt SQL (no mistake there) control file. After some initial hiccups with the system (memory, etc.), I was finally about to start the database, only to get an error ORA-01190 ("1 database or control file is from before the last RESETLOGS").

    I guess I did is a bad thing when you restart the database (used the wrong part of the control file) or when the copy of the data. The original data have split two readers for simplicity and logical, I copied their entire contents. So maybe I don't not copied to little but too?

    As I said in the introductory paragraph, I'm not a DBA, but I'm willing to learn and listen. I don't expect a complete solution, but some guidelines when to look and what to avoid. Any help on this would be appreciated.

    Currently, there are some points need clarification,

    1. you don't need to re-create the control file, if you have a clean shutdown database and copied all the files at the same time (data files, control files etc.)

    2. If you stop DB, copied files of data but do not copy the control at shutdown file, you must re-create the control file.

    3. the error ORA-19909 suggested you resetlog prior to recovery.

    ORA-19909: string data file belongs to an orphan incarnation
    Cause: The data file specified has been restored from a backup that was taken during a period of time that has already been abandoned by a resetlogs operation or Oracle cannot identify what incarnation of database file belongs. The alert log contains more information.
    Action: Restore a backup of this file that belongs to the current or a previous incarnation of the database. If you use RMAN to restore, RMAN automatically selects a good backup.

    4. it would be better that again follow you from scratch the article.

    for example,.

    Copy the files you did copy over the data base to the bottom of the old server,
    modify the control file creation script

    RECOVER DATABASE USING BACKUP CONTROLFILE;
    ALTER DATABASE OPEN RESETLOGS;

  • Why I no longer storage capacity after moving the files of external volumes?

    Disk utility reported that I had only 29.76 GB available; the 250 GB SSD was used as follows:

    Apps 48Go; Photos of 32 GB; Audio 24GO; 18 GB movies; Other 99.72 GB; Available 29.76 GB

    After moving to photos of 34.2 GB external volumes, films of 6,76 GB and files of documents 1 GB, disk utility has reported:

    Apps 48Go; Photos 9GB; Audio: 24 GB; Movies 11FR; Other 132,14; Available 29.76 GB

    After moving ~ 42 GB of data to external volumes, HD of 'other' content is passed to 132,14 GB 99,72 GB.

    Not after winning more space, I moved other files; Other rose the same amount and available showed I have now 39 GB

    I don't understand why 'other ' space used increases as much as I thought I had released.

    So, how can I increase the space available in this SSD?

    Thank you

    You can try to reboot to refresh

    or terminal may have a current look used and available to your applications/Utilities/Terminal.app

    copy and paste:

    DF H

  • I'm looking for a file that was left after an uninstall

    I recently downloaded a program with a crack file, figure I would try to get something for nothing. A message came on a serial number fake identity card, and the program stops. So I uninstalled the program and downloaded the legitimate program, this time at the sight of corporate web.      I implemented the legitimate program and the same message came again, on a fake serial ID. I can only imagine the program left behind them a file that has kept a journal and the origin of the problem. I would like to know if someone could tell me what kind of file, and where there might be, so I can remove it. If it helps the program has been internet download manager. Thank you for your help.

    Each company has their unique way of dealing with software piracy.  It is unclear what this company has implemented.  Since you have a legitimate copy of the program, you should contact their support personnel and ask them to sit.

    HTH,

    JW

Maybe you are looking for