Disc change - Oracle Home Dir.

Hi!
We need to change a disc on one of our servers. The Oracle Home directory is installed on this
disc.
We would like to proceed as follows:
1) Backup the entire database (in case of recovery/restore)
2) Copy the home directory to an external disc
3) Change disc, setup raid, create new partition with same disc label
4) Copy the home directory from the ext. disc onto the new disc
My question: Would Oracle recognize the new disc as the "old" disc or will the system throw an error?
Thanks!
Edited by: user545194 on 14.12.2011 02:14

You can change this in windows from regedit HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<ORACLE_HOME_NAME> and linux export ORACLE_HOME_NAME=<new name>
see http://www.lazydba.com/oracle/0__153979.html

Similar Messages

  • Change ORACLE HOME NAME

    Can we change ORACLE HOME NAME(not oracle_home path) in oracle?
    If yes please let me know.
    Thanks in advance,

    You can change this in windows from regedit HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<ORACLE_HOME_NAME> and linux export ORACLE_HOME_NAME=<new name>
    see http://www.lazydba.com/oracle/0__153979.html

  • Re-config of ssh fails after changing Oracle Home while installing RAC

    Hi,
    Red Hat Linux 5
    Oracle 10.2.0.1 RAC installation
    While installing Oracle RAC under ORACLE user we are Configuring ssh for the first time works fine. If any changes done (Eg: i changed the home path of oracle user), then the ssh configuration will prompt for password no matter how many times you reconfigure the ssh.
    I have created another OS user orclusr instead of oracle to over come this issue
    Have any one came across this situation or finds a solution, please reply back.
    Regards
    hari
    Edited by: hariharan.thyagarajan on Apr 8, 2010 12:33 PM

    hariharan.thyagarajan wrote:
    Hi,
    One of the most important reasons for building Real Application Clusters is stability.
    Changing the Oracle Home, after the cluster is built is about 180 degrees counter to this philosophy.
    I agree with this but we face the error while installing oracle cluster
    here is my scenario:
    create oracle user on both the nodes(rac1,rac2):
    1) my first oracle home - /home/oraclePart of thinking these things through before proceeding is to recognize that the concept of ORACLE_HOME is not the same as the $HOME directory for the OS user who happens to be named "oracle".
    Since you appear to be still in the process of building this system, I'd suggest you go back to square one while you can.
    2) configure ssh on both the nodes
    3) due to sapce constraint in /home mount point we changed the oracle home to /oracle
    4) so my new oracle home is /oracle
    5) re-configuring of ssh is working fine, no error's
    6) but if i issue the below command ssg date rac2 it prompts for password why ?
    Any possibility to over come this issue ?
    Regards
    hari
    Edited by: hariharan.thyagarajan on Apr 8, 2010 1:14 PM

  • Changing Oracle Home

    I recentely installed Oracle 11g r2 to a new home and now I need to move it to another home. Is it possible without reinstalling?
    This is the problem:
    We already have an 11g r2 home with two other databases installed on a Windows 2003 server. I recently upgraded another database from release 1 to release 2, but put that database in a second home. After the installation, I realized it is a wast of space, plus we are having listener problem as well so I want to move the last database in the same home with the other two databases.
    Can I do it, if yes how?

    Albert Zaza wrote:
    According to Oracle, it is a no no, you can't change or move Oracle to a new home after installation. But one thing that was not clarified is whether i can create the service name with Oradim pointing to the home with the current listener.
    Can I delete the current service name from other home and create it in the home with the Listener? Right now the listener is not even listening to this service name.Ok we decided to delete the service name from the database home (OraHome_2) since we can't move or change it and installed it using OraDIM in the home (OraHome_1) were we want it. This is the same home with the default Oracle Listener. The listener detected the service with no time. The only draw back is we had to reinstall enterprise manager.

  • How change Oracle Homes ? - ORA-12154

    Hi
    I am stuck with a bug for 2 days now.
    I can open the DB with TOAD or SQL/PLUS easily
    When i open TOAD, if i choiose 10g as client "i have a TNS:could not resolve the connect identifier specified ".
    If i choose oracle92 as client, i access the database via TOAD
    My .NET App prompt me the same error message
    So How can i say to my app or the operating system that i always want to use 92 ?
    My permission are OK for the oracle folder.
    In my environnement variables i have
    $ORACLE_OUI_PATH$ = C:\oracle\ora92\bin
    TNS_ADMIN = C:\oracle\ora92\network\ADMIN
    S.O.S.

    But like i said, with TOAD, if i choose 10g as client
    (in the dropdown in the connection screen) i have the
    ORA-12154 error.
    If i choose 9.2, everything is OK
    This is the bug. How can i change this ? re-installed
    ?Not a bug, I think. Sounds like misconfig.
    Error Message text includes:
    // - Check that the net service name used as the connect identifier
    // exists in the TNSNAMES.ORA file.
    // - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
    // file. Look for unmatched parentheses or stray characters. Errors
    // in a TNSNAMES.ORA file may make it unusable.
    TNSNAMES.ORA & SQLNET.ORA are configure properlyIs your tns name identical in both tnsnames.ora?
    Is a sqlnet domain in 9i home configured? Is this domain used in tnsnames.ora?

  • Changing Oracle Home in unix

    Hi Experts,
    How can we change Oracle_Home in unix ?
    Db version : 9.2 patch (9.2.0.8)
    Any ideas.......
    Thanks & Regards,
    MB

    Yes true...but am facing some errors
    root@beryl # sh root.sh
    Running Oracle9 root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /orabin/appl/oracle/product/9.2.0
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
    Adding entry to /var/opt/oracle/oratab file...
    Entries will be added to the /var/opt/oracle/oratab file as needed by
    Database Configuration Assistant when a database is created
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/bin/runInstaller
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/lib/libnavhoa.a
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/lib32/ldflags
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/jdk/jre/lib/sparc/libjvm.so
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/JRE
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libctxx9.so
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libXML4CMessages.so
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libXML4CMessages.so.54
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libicudata.so
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libicudata.so.26
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libicuuc.so
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libicuuc.so.26
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libxml4c.so
    chmod: WARNING: can't access /orabin/appl/oracle/product/9.2.0/ctx/lib/libxml4c.so.54
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    How can i change them ?
    Thanks & Regards,
    MB

  • Changing Oracle Home Directory

    I accidentally installed 8i Lite in the worng directory. How can I re-install it in another directory?

    simply delete the existing copy...if on NT.. and make sure all the registry are taken off..
    if on UNIX simply rename the ora_home path
    good LUCK
    Shah

  • Cant restore after installing updates how do I change the home user/account

    I installed 3 updates, opps, this morning, and when I restarted the computer it had reverted back to old setting from 2004. I purchased the computer from a friend, and had worked hard to remove his stuff, now my settings mail etc are gone and the old stuff is back. How do I restore the computer to what it was before the updates took it all off? also how do I change the home from his back to ours? sorry, I am new at this and very very frustrated with the mac so far.

    Changing the home folder name caused the problems, not the updates. The problems won't show up until you restart, which, in your case, was just
    after the updates. See:
    <http://docs.info.apple.com/article.html?artnum=107854>
    <http://docs.info.apple.com/article.html?artnum=106824>
    When you get a used computer, it is safest to erase the disk (with zeroing option), then reinstall OSX, update it, and get the latest versions of all the software you need. You should also run Extended Tests from the Apple Hardware Test disc to be sure there are no hardware problems.

  • Error whlie registering the oracle home in oracle 9i

    Hi,
    I am doing the oracle_home software cloning in oracle 9i.After the copy process of home i tried to register the Oracle home with the central inventory.
    I tried so many commands to register the oracle_home but still i am getting same error in my log file.
    OS : OEL 5.4
    DB : 9.2.0
    FYI,
    My registration log file details:
    Using paramFile: /d01/oracle/testdb/9.2.0/oui/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, UnitedLinux-1.0, redhat-3, SuSE-7 or SuSE-8
                                          Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2013-11-23_07-00-04PM/installActions2013-11-23_07-00-04PM.log
    Below methods also i used for home registration,
    ERROR WHILE REGISTERING THE NEW ORACLE HOME IN 9i:
    =================================================
    [oracle@db ContentsXML]$ ./runInstaller -silent -attachHome -invPtrLoc ./oraInst.loc ORACLE_HOME="/d01/oracle/testdb/9.2.0" ORACLE_HOME_NAME="Oracle_Home_9i" LOCAL_NODE="db.sapcle.com"
    -bash: ./runInstaller: No such file or directory
    [oracle@db ContentsXML]$ cd /d01/oracle/testdb/9.2.0/oui/bin/
    [oracle@db bin]$ pwd
    /d01/oracle/testdb/9.2.0/oui/bin
    [oracle@db bin]$ /d01/oracle/testdb/9.2.0/oui/bin/runInstaller -silent -clone ORACLE_HOME="/d01/oracle/testdb/9.2.0" ORACLE_HOME_NAME="Oracle_Home_9i"
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, UnitedLinux-1.0, redhat-3, SuSE-7 or SuSE-8
                                          Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2013-11-23_06-59-27PM/installActions2013-11-23_06-59-27PM.log
    [oracle@db bin]$ ./runInstaller -silent -invPtrLoc /d01/oracle/testdb/9.2.0 ORACLE_HOME="/d01/oracle/testdb/9.2.0" ORACLE_HOME_NAME="Oracle_Home_9i"
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, UnitedLinux-1.0, redhat-3, SuSE-7 or SuSE-8
                                          Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2013-11-23_07-00-04PM/installActions2013-11-23_07-00-04PM.log
    [oracle@db bin]$ vi /tmp/OraInstall2013-11-23_07-00-04PM/installActions2013-11-23_07-00-04PM.log
    Please suggest me anything am i did wrong manner.
    Thanks.

    Hi All,
    I am facing the same issue again after installed the oracle linux 4.5.
    My Source database is 9i it is running in oracle linux 4.4, So i couldn't register my oracle home in the ORACLE Linux 4.5.I have to downgrade my Oracle linux from 4.5 to 4.4.
    I sourced the below steps from google,
    Hello everybody! I have a problem with my server and I want to check that it isn't a software problem. So, firstly I want to downgrade from 4.5b6 to 4.4. Just to point out, I have a Plus license. So, to do the downgrade, Do I just have to change the following files? : bzimage
    bzroot Nothing else? Thank you so much. 
    It is that easy.
    You can rename the existing two files so you can put them back into place as bzroot and bzimage if the experiment does not result in an improvement.  I do that on my system.  bzroot would become bzroot.456 and bzimage woud be re-named as bzimage.456
    As an alternative, you could add the 4.4.2 files as bzroot.442 and bzimage.442 and then add three lines to your syslinux.cfg file.  They would result in additional menu choices when you next boot to allow you to choose to boot on either the older or the current version.
    A copy of my syslinux.cfg file is below.  You can see I can elect to boot on on almost any of the recent releases, as I've kept re-named copies of each release in turn on my flash drive.
    (All the lines I added are in "blue", the three lines for 4.4.2 you would need to add are in "bold blue.".  It would require you to put the 4.4.2 files in place renamed as bzroot.442 and bzimage.442)
    The only thing you need to be aware of if you re-name the files as I've done is the names must be legal names under DOS on a FAT file-system.  Therefore, the names must be at most 8 characters long with a three character "extension"
    bzimage.456 is legal, bzimage.45b6 is not. (because it has a 4 character extension)
    Joe L.
    default menu.c32
    menu title Lime Technology LLC
    prompt 0
    timeout 100
    label unRAID OS
      menu default
      kernel bzimage
      append initrd=bzroot rootdelay=10
    label unRAID 4.5beta5 OS
      kernel bzimage.455
      append initrd=bzroot.455 rootdelay=10
    label unRAID 4.5beta4 OS
      kernel bzimage.454
      append initrd=bzroot.454 rootdelay=10
    label unRAID 4.5beta2 OS
      kernel bzimage.452
      append initrd=bzroot.452 rootdelay=10
    label unRAID 4.4.2 OS
      kernel bzimage.442
      append initrd=bzroot.442 rootdelay=10
    label unRAID 4.4 OS, no VGA
      kernel bzimage.44
      append initrd=bzroot.44 rootdelay=10
    label unRaid 4.3.3
      kernel bzimage.433
      append initrd=bzroot.433 rootdelay=10
    label Memtest86+
      kernel memtest
    But in my Linux 4.5 the syslinux.cfg file is not available.Please suggest me or refer any document for the downgrade process.
    Thanks in advance.

  • Finding the path to Oracle home

    Hi
    I am trying to get the value of "oracle home" (e.g OraDb11g_home1) and display it within my java program, not sure how to do this. One possible way it to parse the ContentsXML/inventory.xml file. The only drawback I can think of is that a user may change the directories from default during installation resulting in the program unable to find the file. Some feedback will be appreciated.
    Thanks

    875864 wrote:
    The program will display a list of all "oracle home" names within a combo box and some input fields for authentication e.g. username and password to log in. Until they login a user will not have access to the database therefore no interaction between the user and database will take place. I am looking for an OS Level solution. The Registry option looks feasible but its not perfect as it depends on the version name to get this info, which could be an issue since not all versions store the data in same place or under the same key.Knowing ORACLE_HOME has nothing to do with connecting to a database. Why not just ask for their credentials and try to connect? If they have a valid account, they'll be connected. If they don't have a valid account, they won't be connected? Why is the app trying to add extra layers?

  • Multiple Oracle Homes

    Hi everybody,
    I have Oracle 9i installed on my Windows machine.
    I installed Oracle Developer Suite, but could not login due to TNS errors.
    I have a little idea of what the problem is. We need to edit TNSNAMES.ORA file so that it could resolve the service name.
    Can u please help me out in configuring Developer Suite to work properly?
    Thanks.
    -- Kishore.

    Not quite sure why your title is Multiple Oracle Homes. Can you connect to SQLPLUS or any other product in the suite? Is it just Designer you are having hassles with? Do you have the database on the same machine and can you connect to that? If you are successful at connecting to SQLPLUS, then take a look at the tnsnames file in the Database network /admin directories.
    There was a bug at one point where the tnsnames would fail if the network connect string was between 184 and 192 characters in length. You may be running into this. In which case if your tnsnames.ora contains
    (CONNECT_DATA =(SID = <SID>), you can change this to use (CONNECT_DATA =(SERVICE_NAME= <SID>)
    Regards
    Sue

  • Multiple Oracle Homes - Oracle Listener failes to start after installation

    Just in case the listener fails to start after an oracle installation, please check the oracle ports in the listener.ora and tnsnames.ora, both of which are present in the following directory:
    ...\oracle\<SID>\<Ver>\NETWORK\ADMIN
    All installations should have separate listener ports eg. If the first installation has port 1527, the next one should be 1528 and so on..
    If they do not, manually change the ports and start the listeners.
    Also check SAP Note 98252. Although I didn't find it necessary (I think it applies only if you have a single listener for all oracle homes), it did give me an idea that there some config problem in the .ora files.
    Also see [this thread|Oracle Listener error in Import ABAP phase?; for related details

    hi
    thanks for the help ,
    I have been using the SQL Server , i am totally blank about Oracle
    i am totally confused with this user, and hoststring
    i logged in to the enterprise manager using System and manager password
    But i cannot connect to any database using SQL Server
    i am not remembering any user name or password i have given during installation.
    the only thing i remember is
    Global databasename = (globedb) i have given
    For SID = globedb the same name i have given
    for sys ,i have given sysdb as password
    and for system i have given systemdb as password
    with this can i do anything
    when expand the schemas ,i can see the XDB,SCOTT and SYS . how can i login to this .
    if i want to login to the scott
    what would be the username,password,and hoststring. since i haven't set any password and username ,there would be some default username ,password, and hoststring.
    if any one can help me please help me
    thanks regards

  • Two oracle homes in linux!

    Hello !
    Can we make two oracle homes in Linux .
    In one home i have to install 8i database and in the other home i have to install 9iAS.
    What i think is , for two oracle homes in linux u need to make two oracle users first ,and in two different bash_profile file u have to give the path of oracle home. So this thing will not allow to start
    your database every time. u have to change user every time and then start your database .
    This thing will create problem .
    I have tried this thing on NT and it worked . I mean i made two oracle Homes and on one home i installed 8i and on other home i installed 9iAS. and it worked uccessfully.
    How can i do it on Linux .
    Regards
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by seemab:
    Sir i am talking about Red Hat Linux.
    Can we do it on it .
    Regards<HR></BLOCKQUOTE>
    I don't see why not. I used to use Red Hat and it worked the same.
    Say you want to start the database, open a terminal and do something like
    su - oracle
    <give password>
    . setupdbenv
    small script you write to set your SID, ORACLE_HOME, etc
    then start the database in that terminal.
    Similarly, for Oracle9iAS, log on using the correct user (root?), set the environment using something like . setupiasenv, and do the apachectl thing.
    I have 5 different Java environments I can setup in this way. Would be impossible if I used .bashrc or .profile to setup my environments.
    Cheers,
    Malte
    null

  • Oracle reading binary files from other oracle home.

    Hi all,
    I have two oracle db installed on the same server but on different oracle home.
    It seems to me that the second oracle is reading the binaries from the other installation.
    I can start this database and the sap instance and it starts on the correct oracle home but I see that it is reading files on the first oracle home.
    for example, it saves the spfile under the first oracle_home\database directory. I started it using pfile=<the_correct_ora-home>\database\initSID.ora and set on this  init.ora file the correct path for  spfile.
    But even after this if i change any parameter, it stills change the spfile on the wrong <oracle_home>\database.
    Is there a way to fix this ? I mean to make the second oracle to see files under its own oracle home ?
    It is oracle 11g under windows 2008.
    Remember that all the environment variables is pointing to the correct oracle home and I can start SAP and Oracle as well on this oracle_home.
    Thanks in advance,
    Joao.

    Hi Orkun,
    No, we don't have anything else installed yet.
    Please see what I found out:
    Checking those binary errors I found out that the oracle service
    OracleServiceDPC (the second instance on this server) is being started from the wrong oracle_home path. Please
    see the path to the executables on that service properties:
    g:\oracle\dnc\11202\bin\ORACLE.EXE DPC
    It is pointing to the other oracle home DNC but starting instance DPC. How can I change that ?
    Please see that the oracle home, the listener, etc is correct pointing
    to oracle home G:\oracle\DPC\11202.
    I would like to disable this service and create the correct one.
    Is that possible ?
    thanks and regards,
    Joao

  • ODI installation out of Oracle home

    Hi,
    I have to install Oracle Data Integrator on a development server where EPM 11.1.2 is already installed. I encounter the following error after setting the install folder (I leave it to default: D:\Oracle\Middleware\EPMSystem11R1):
    OUI-10044: The selected Oracle Home location already contains an Oracle Home
    or APPL_TOP created while running a different OS
    I've done some research and found [ that post|http://gerardnico.com/wiki/database/oracle/oui-10044], which didn't help much.
    Basically my ODI file shiphomeproperties.xml shows an OS id 233, which is good.
    The problem might be that I have two Oracle folders under C:/. One under "Program Files(x86)" that shows an OS id of 912 and another under "Program Files" which shows an OS id 233. Now I'm guessing that the Oracle installer looks into the wrong file...
    Now I might have a workaround, if I change the default install folder, for example to Oracle1, I can access the next step.
    My question is to know if it's ok to installl ODI in another Oracle home, is it ok to have two oracle home ?
    thanks for your help.
    cyril

    Check out Metalink Note:191567.1
    (http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=191567.1)
    Step 11.
    11. Error in invoking target relink of makefile
    /home/ias/infrastructure/precomp/lib/ins_precomp.mk      
    To fix it:      
    As ias go to $ORACLE_HOME/bin      
    vi genclntsh      
    change line LD_SELF_CONTAINED="-z defs" to LD_SELF_CONTAINED="" (line 147 of 200)      
    save genclntsh file      
    ./genclntsh      
    Created /home/ias/infrastructure/lib/libclntst9.a      
    Click "Retry" at error popup window. Installer will continue.      
    Link successful.

Maybe you are looking for