How to change the path of all dbf files once database installed...

Hi All,
I m using 10g Database...
During my DBCA installation I forget to change location of the database files, redlologs and control files... and my Database is successfully installed. Now, I want to change my all these above mention files location And also adump,bdump,cdump and udump...so what I did is
1- create pfile from spfile.
2- Shutdown immediate.
3- from OS level copies all files to new location.
4- Editing in pfile
5- Startup with new pfile and check all the locations...
for datafiles
SQL> select FILE_NAME,TABLESPACE_NAME,STATUS from dba_data_files;
(this shows me the older location not new one.)
for controlfiles,adump,bdump,cdump and uduump
SQL>Show parameter...
6- create spfile from pfile .
pl. suggest me what should I do for the datafiles?
Thx,

Hi All,
Thx for ur support.
I go through with both links and able to success for the renaming of all datafiles except system and undotbs.. as below :
SQL> alter tablespace sysaux offline normal;
Tablespace altered.
SQL> alter tablespace sysaux rename datafile '/u01/app/oracle/product/10.2.0/oradata/elitrepl/sysaux01.dbf'
2 to '/u01/app/oracle/oradata/elitrepl/sysaux01.dbf';
Tablespace altered.
SQL> select FILE_NAME,TABLESPACE_NAME,STATUS from dba_data_files;
FILE_NAME TABLESPACE_NAME STATUS
/u01/app/oracle/oradata/elitrepl/sysaux01.dbfSYSAUX AVAILABLE
but for the system n undotbs.. what I did is below :
SQL> startup exclusive mount elitrepl
SQL> alter database rename file '/u01/app/oracle/product/10.2.0/oradata/elitrepl/system01.dbf' to
2 '/u01/app/oracle/oradata/elitrepl/system01.dbf';
Database altered.
SQL> alter database elitrepl open;
alter database elitrepl open
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: '/u01/app/oracle/oradata/elitrepl/system01.dbf'
Now, I don't hv any backup of my database.... let me know how to overcome this scenario?

Similar Messages

  • How to change the header in all pages at once?

    I'm new to iWeb and can't figure out how to change the headers of all pages without having to go through and do it to every page. There should be a way, but is this a feature iWeb doesn't have?

    Hi,
    Refer following link which states how to change the Page Setup setting (just an addition to above poster's explanation):-
    http://docs.oracle.com/cd/E12825_01/epm.111/fr_user/frameset.htm?1900.html
    Regards,
    Edited by: 918547 on Dec 14, 2012 6:17 PM

  • How to change the path of the Transport

    HI all!
    I had the system of portal dev,qas,prd,I want to made the export folder of the dev point to the import folder of the qas.But how to change the path of the transport ?I change the file of the D:\usr\sap\dev\SYS\global\pcd\pcdStartup.properties,But it not useful.I think my type is not correct.Plz tell me the key.thanks very much!!!
    D:\usr\sap\dev\SYS\global\pcd\pcdStartup.properties,I changed:
    Transport Application
    Root directory for exporting transport packages
    #Pcd.TransportApplication.ExportRootDir=
    qas\Import
    Root directory for importing transport packages
    #Pcd.TransportApplication.ImportRootDir=${Pcd.Share}/Import
    Directory for temporary transport files
    #Pcd.TransportApplication.TempDir      =${Pcd.Temp}/transport
    Edited by: joecui on Nov 12, 2008 8:15 AM
    Edited by: joecui on Nov 12, 2008 8:16 AM

    Did you try to remove the "#" character before every line you changed?
    Save the file...
    Reload/Refresh it in the Portal...
    Try if that helps you.
    Cheers,
    Benjamin

  • How to change the path of sysprep files that were copied to reference computer when i capture the image from reference.

    Dears ,,
    how to change the path that sysprep were copied to reference computer when i capture the image from reference.
    Should i modify some codes in LTIAPPLY.wsf? how to modify it?
    Thanks.

    Sysprep and capture has *Three* steps.
    1. Run sysprep on the local machine (easy).
    2. Copy WinPE down to the local machine so we can reboot into winpe for capture.
    3. Capture the drive in an *offline* state from within WinPE.
    What is most likely happening is that you are having problems with step #2. 100MB is *WAY* too small to copy down WinPE. By default MDT will make this System partition much bigger, 499MB. IF you install Windows 7 from the default media. IT will only create
    a 100MB partition.
    By default MDT 2012 Update 1 and greater *should* recover to a fallback drive with the OS on it, however if you are running older versions that might not happen correctly.
    If you are still having problems, copy your BDD.log file to a public share like OneDrive and copy the link here.
    Keith Garner - keithga.wordpress.com

  • How to change the path of MPLS

    How to change the path of MPLS core from one PE to the other PE with redundancy link? The IGP is OSPF and running MBGP among PE routers.

    Hi there,
    Load-balancing is applicable in MPLS as follows:
    If multiple equal-cost paths exist for an IPv4 prefix, the Cisco IOS can load-balance labeled packets. If labeled packets are load-balanced, they can have the same outgoing labels, but they can also be different. The outgoing labels are the same if the two links are between a pair of routers and both links belong to the platform label space. If multiple next-hop LSRs exist, the outgoing label for each path is usually different, because the next-hop LSRs assign labels independently.
    If a prefix is reachable via a mix of labeled and unlabeled (IP) paths, Cisco IOS does not consider the unlabeled paths for load-balancing labeled packets. (The load balancing is done only between labeled paths. This means that if an IP (unlabeled) and a labeled path have the same cost, only the labeled path is used to forward the packets.)
    HTH,
    Mohammed Mahmoud.

  • How do we change the name of a sound file once it is in the session?

    how do we change the name of a sound file once it is in the session?
    Thanks
    Steve z

    The only way that you can rename the audio file from within Audition is to do a Save As from the Waveform view AFAIAA. You can rename clips by clicking in the name box at the top of the Properties window or by right clicking on the clip and selecting Rename from the drop down menu (this will automatically open the Properties window if it isn't already open).

  • How to change the location of all fotos in the iPhoto library?

    my iPhoto 11 library is stored locally on my macbook.
    however, my fotos (the actualy bits) are stored externally on a NAS box.
    (or in other words: option "Importing: [ ] Copy items to the iPhoto Library" is not checked)
    recently i purchased a timecapsule and i now want to move all fotos from the NAS box to the timecapsule.
    i am looking for a way to batch-change the location of all fotos from let's say "/Volumes/MyNas/..." to "/Volumes/MyTimecapsule/...".
    can this be done? any ideas?
    thank you.
    ps: i know how to deal with xml and .db/.apdb files. so don't be gentle on me ;-)

    Not really unless you search the forums and find the older post describing how to hack the SQLite database to accomplish this
    Or use Aperture which can do this easily
    However if you are using your Time Capsule as a Time Machine bakcup volume it is not a good place to put your photos - if you do you have no backup of them which means that sooner of later you will lsoe them - and sooner or later TM will fill the volume and make it impossible to add photos
    LN

  • How to change the path of an Access .mdb file @ runtime in Visual Studio 2012

    Hello,
      I'm hoping my question is simple enough to merit a quick answer.  I will lay out the details:
      I am writing a WindowsForms App in VB 2012.  I have a Crystal Report that points to an Access .mdb at design time in order to get the proper structure and layout correctly.
      However, during runtime, I need to point to a completely different .mdb file with the same identical structure.  How do I do this?  I've tried everything I could find on the net with no success and mostly because the answers are for C programmers.  I mean, I can pretty much decipher it, but have gotten zero results.
      Thank you for your time.
    -Mike

    ok. The code needs some small modifications.
    I gave it a quick try and here is the InProc RAS SDK code which works for me. Add the assembly references to the app for all those assemblies used in the 'imports' statements in the code.
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.DataDefModel
    Imports CrystalDecisions.ReportAppServer.ReportDefModel
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Web
    Imports CrystalDecisions.Shared
    Partial Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim ClientDoc As ISCDClientDocument
            Dim logonPb As New CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag()
            Dim table_Old As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            Dim table_New As New CrystalDecisions.ReportAppServer.DataDefModel.Table()
            'Open the report object to initialize the ReportClientDocument
            Dim rd As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
            rd.Load("C:\Users\Administrator\Desktop\Report1.rpt")
            ClientDoc = rd.ReportClientDocument()
            table_old = ClientDoc.Database.Tables(0)
            'Clone the original table in the report
            table_new = table_old.Clone(True)
            ' Get the connection information from the report document for the first table in the collection.
            logonPb = table_new.ConnectionInfo.Attributes("QE_LogonProperties")
    'set the path for new mdb
            logonPb.Item("Database Name") = "C:\Users\Administrator\Desktop\New folder\efashion1.mdb"
            ' Set a new table for the report, set the old table to the new one.
            ClientDoc.DatabaseController.SetTableLocation(table_old, table_new)
            'view the report
            CrystalReportViewer1.ReportSource = rd
        End Sub
    End Class
    Hope this clears the doubts

  • How to change the template of all my title pages

    ok i made a film using cs4
    with 20 seperate title pages all the title
    pages started from the same title template
    what i want to know is :-
    is it possable to change the properties of all the title pages at the same time
    for instance change the font / or font colour of all titles with one or two clicks
    rather than me go through each title page separately
    cheers

    ok
    so are you saying that in the future
    if i was to make all my titles from THE SAME template AND using the "based on current" function
    i would then be able to make adjustments to the first title in the project panel and the adjustments would be reflected on all titles  throughout the timeline

  • How to change the output directory of .xml files

    Hi,
    There are lots of .xml files generated under
    $ORACLE_AS_HOME/j2ee/home/applications/xmlpserver/xmlpserver/xml.
    (ex:/usb/bipub3/oracle/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xml).
    I found these files are generated in the following operation;
    1.Log in BI Publisher.
    2.Select the Schedules tab.
    I think they are kind of temp files so we will be able to delete them.
    But I'd like to know how to change the output directory.
    Can we change the above directory to other path?
    Regards.

    Why? As that may invalidate support since you configure/alter the deployment.
    The location is specified in oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver.war, so you could go into the war file and alter it.

  • How to change the attributes of an XML file

    hi peeps 'ope you can help me here i need to change the attributes of an xml file, i parse it first using a DOM parser but i cant find a way to change the attributes in the XML file, setAttribute() works only at runtime and doesn't change the attribute in the file itself. I can't find a method that will answer my question. I've searched through the forum and found similar threads....they say in order to write and change the attribute i must use the write() method of the XmlDocument class defined in com.sun.xml.tree.XmlDocument. But, i found another thread, and it says that com.sun.xml.tree.XmlDocument is not safe to use and i should use org.apache.crimson.tree.XmlDocument.....i can't find the XmlDocument class and the API for this package so i really dont know where to start...hope you guys can help me! thnx

    thanks for responding roland....i already found the solution...i didn't use the XmlDocument class because i can't find any documents about it except for JAXP 1.0 here is my code snippet...i used the TransformerFactory and Transformer class to write
    import org.w3c.dom.*;
    import org.w3c.dom.traversal.*;
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.*;
    import javax.xml.transform.stream.*;
    Document doc = null;
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    dbf.setValidating(false);
    doc = db.parse(fileGetFile); //this is the XML file
    n1 = (Node)doc.getDocumentElement();
    e1 = (Element) n1;
    NodeList nodeList = doc.getElementsByTagName ("File");
    //just insert whatever you want to do with the XML...parse it..set/change the attribute..etc....sample snippet below changes the attribute downloaded to "no"
    for(int iWriteFailed = 0; iWriteFailed <nodeList.getLength() ; iWriteFailed ++){     
    n2 = nodeList.item(iWriteFailed);
    e2 = (Element) n2;          
    e2.setAttribute("downloaded", "no");}
    try{
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    Transformer transformer = transformerFactory.newTransformer();
    transformer.transform(new DOMSource(doc), new StreamResult ( new FileOutputStream ( fileGetFile) ) );}
    catch(Exception trans){}
    thanks for responding and keeping the information interchange alive here in the forum...
    Pau

  • How to change the artwork of a video file???

    is it possible to change the artwork of a video file. sometimes it comes up with its own artwork, and others there is just a black screen.... Thanks in advance

    Have you changed the artwork in a song? It is the same thing with a video. If you havent changed any artwork before then simply right click on the song/video and click on Get Info>then the Art Work tab

  • How to change the path for dms repository in navigation iview

    Hi all,
    We integrate DMS in KM. With the documentexplorer iview we can navigate through the folders structure. So far so good.
    But for the end-user it will be easer if they can startright  from point X in the folder structure. Like dmsrm/aaa/bbb/..../X
    It's not possible to change the iview path property to dmsrm/aaa/bbb/..../X, preview shows the message  'Item nof found
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible'. For all the folders (except the root folder dmsrm) there is no acces link tab, so the ID, explorer URL and webdav URL are unknown. How to find out what the ID is?
    Thanks in advance,
    Vo

    Try going to Options > Global Preferences > Paths tab, you will see the User Settings.
    Nestor
    National Instruments

  • Microsoft ADFS / IIS : How to change the path of MSISAuth/MSISAuth1/MSISAuthentcation Cookies?

    Hi,
    I need to have the MSISAuth/MSISAuth1/MSISAuthentcation Cookies sent from a Browser to a Proxy upfront.
    But there are two issues:
    1) Cookies are set from MS ADFS to the host - not domain
    I solved that issue by editing the C:\inetpub\adfs\ls\web.CONFIG by including this setting:
        <httpCookies domain="mydomain.com" httpOnlyCookies="false" requireSSL="false"/>
    So the cookies got sent by the browser to all servers included in this domain - solved.
    2) Cookies are set to path /adfs/ls
    To have the browser sent the cookies the pattern https://<host>/adfs/ls
    need to be fullfilled - but now I need to change this path to "/" so that those cookies are also sent to other context roots.
    I have not found any documentation or property file to change this
    Anyone able to help me here by pointing me to the correct place to edit this setting?
    Thanks,
    Sascha

    Hi Sascha,
    Regarding ADFS specific issue, I suggest you refer to experts from the following forum to get professional support:
    Claims based access platform (CBA), code-named Geneva Forum
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    Thank you for your understanding and support.
    Best Regards,
    Amy

  • How to change the path for a file download? Sometimes, I want to save a file in a specific folder in my hard disc and I don't know how to do it. Thanks.

    There is a default folder for the download of files from the internet ("Descargas" or "Downloads"). But, what can I do if I wish to save the file in another location of the hard disk?
    Thank you.

    Use about:config and filter on browser.download, you'll see them
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config (entries)] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config (How to change)]

Maybe you are looking for

  • BAPI_PO_CREATE1 in background

    Hi, How to suppress the E and A type messages from BAPI_PO_CREATE1 in the background to avoid that messages in Job log? Ie. I want to avoid those messages which is automatically written to Job log in background mode. I will process the return table a

  • Why can't I sync my musics from my itunes library?

    I just downloaded the newest version of itunes to update my ipod to the version 5.0.1 and I have a whole playlist in my itunes. when i looked in the music icon of my ipod, there was only one song in the playlist. I clicked on sync many times and ther

  • The SYSVAL table entry for the database version (16) does not match the required version

    We upgraded from Tidal Enterprise Scheduler (TES) 5.31 to 6.1 on fresh Windows x64 2008 R2 servers.  I did a fresh install but our DBA restored a copy of our database from pre-prod which was at 5.31.  I get the error below.  Note, SQL went from 2005

  • Enterprise Structure-Company Code

    Hey Friends, I have a question here. Consider that there is a production system ABC. Within ABC When I go to the company code transaction within the Financial accounting, I see a list of lot of company codes existing. Also I saw that not all the comp

  • Save as Image, but modify file name From Page_[0-9]+.jpg to -%04d.jpg

    I have a PDF that was compiled from multiple tiffs of a scanned document. The Tiffs are no logner around, and we want to regenerate them from Acrobat. Easy enough. However, we cannot adjust the padding on the file name. For example we save a 10 page