Diff ORA homes on same host

Hi guys its me again
I have question is it possible to have homes of two different versions on same Linux host?
I have installed 10.2.0.3 Db on one home and on second one 9.2.0.4. After several attempts i have finnaly finish that but now i have this situation:
When i want to connect on 9i db with OS auth conn / as sysdba i have no problem BUT when i want to connect on 10g version of db i have this error message:
[oracle@dbadmin 10.2.0]$ sqlplus /nolog
Message 133 not found; product=SQLPlus; facility=SP2
: Release 9.2.0.1.0 - Production on Thu Jan 28 12:54:37 2010
Copyright © 1982, 2002, Oracle Corporation. All rights reserved.
SP2-0306: Invalid option.
Just to say i always set ORA home and sid when switch between db's. I supose that problem is because i trying to connect locally on that host with 9i client on to 10g database but like i said alway export proper SID and HOME for it.
Please help me somehow with this issue....
Thank you!

Yes, you can have as many installs as you want, but you need to change ORACLE_HOME, ORACLE_SID, PATH, LD_LIBRARY_PATH to use a new home.
If the homes are registered in the oratab file you can use the "oraenv" utility to set the variables.

Similar Messages

  • Does Oracle 10G supports 2 Oracle homes on same Host?

    Hi,
    I have installed oracle 10 G R2 on windows OS. I have installed oracle twice, i.e. i have two oracle homes. After installation these are the problems i am facing:
    1. I am not able to start oracleDBconsoleorcl, OracleOraDb10g_home1TNSlistener services. I am not able to get sql command prompt for the oracle home1.
    2. But I am able to start oracleDBconsoleorcl2, OracleOraDb10g_home2TNSlistener services. I am able to get sql command prompt for the oracle home2.
    Can anyone please tell me what the problem is? Someone told me that in 10G i cannot have two Oracle homes. Is it true? if yes then waht is the work around for this problem.
    Thanks
    Varun

    Why have you installed it twice?
    You only need a single home for running any number of instances. (though I question the logic of the person who runs multiple database instances on the same platform as sop)
    Running multiple homes are usually a solution when having to run two different version instances. E.g. installing Oracle 10G in addition to a 9i installation in order to create a 10G database to use for porting the 9i database, after which the 9i database and installation will be trashed.
    Running two homes of the same version is silly - you're simply duplicating a truck load of static files, executables, libraries, message files and so on.. for what purpose?

  • 64-bit database and 32-bit companion on same host oracle home problem

    Hi.
    We have following situation in production.
    Installed database version is 10.02.04. 64-bit,host Windows 2008 x64, now we are trying to install 32-bit companion cd and this time we are trying not to loose/kill our 64-bit oracle home inventory.
    Last time 32-bit version was installed our 64-bit home vanished and attachHome script always returned error, it seems to me that 32-bit and 64-bit versions overwrite installation info to each other, only last install is visible.
    When I run setup for 32-bit companion I don't see anything in installed products(it's not listing 64-bit oracle homes). We had a lot of problems with this,patch failing, no way to install anything anymore for 64-bit version...
    So is it possible to install 32 and 64 bit homes on same host, can they coexist, and keep both homes(OUI homes info), are there any special steps or something?

    Well I looked at Inventory.xml file, after 32-bit version was installed entry for 64-bit install was gone.
    Although I can not confirm that 100 percent because 32-bit installation was not done by me, maybe other guy who did it manually delete it as I did with 32-bit version to return my 64-bit inventory.
    So my options are to backup 64-bit inventory, install 32-bit companion my 64-bit inventory will be overwritten, backup 32-bit, delete 32-bit, restore 64-bit inventory and I'll have active 64-bit inventory. Now I have inventory for 64-bit and I can restore 32-bit or 64-bit inventory when I need it.
    This woks by is there another way...somebody...

  • TDE Wallets & Multiple Databases on same Host

    The Oracle TDE Best Practices (doc ID 130696) states this:
    Multiple databases on the same host
    If there are multiple Oracle Databases installed on the same server, they
    must access their own individual TDE wallet. Sharing the same wallet between independent instances is not supported
    and can potentially lead to the loss of encrypted data.
    If the databases share the same ORACLE_HOME, they also share the same
    sqlnet.ora file in $TNS_ADMIN . In order to access their individual wallet, the
    DIRECTORY entry for the ENCRYPTION_WALLET_LOCATION
    needs to point each database to its own wallet location:
    DIRECTORY= /etc/ORACLE/WALLETS/$ORACLE_UNQNAME
    The names of the subdirectories under /etc/ORACLE/WALLETS/ reflect
    the ORACLE_UNQNAME names of the individual databases.
    If the databases do not share the same ORACLE_HOME, they will also have their individual sqlnet.ora
    files that have to point to the individual subdirectories.
    What is the correct sqlnet.ora syntax to do this?  I currently have what is below but it doesn't seem to be correct:
    ENCRYPTION_WALLET_LOCATION =
      (SOURCE = (METHOD = FILE)
      (METHOD_DATA =
      (DIRECTORY = /local/oracle/admin/wallet/DB#1)
      (DIRECTORY = /local/oracle/admin/wallet/DB#2)

    Hi,
    You can check this :Setting ENCRYPTION_WALLET_LOCATION For Wallets Of Multiple Instances Sharing The Same Oracle Home (Doc ID 1504783.1)
    i haven't done this for multiple database, but as per Doc you can use the syntex like
    ENCRYPTION_WALLET_LOCATION =
      (SOURCE = (METHOD = FILE)
      (METHOD_DATA =
      (DIRECTORY = /local/oracle/admin/wallet/$ORACLE_UNQNAME)
    Whenever you set the Environmnet with
    export $ORACLE_UNQNAME=DB#1 
    it will choose the file from respective directory like  /local/oracle/admin/wallet/DB#1
    HTH

  • Creation of Standby database on same host

    Hi All,
    I am using oracle 9.2.0.1.0 on windows XP machine.
    *I want to create the standby database for my primary database on same machine.
    But both tha data base is heaving diff instance as well as the diff database name say "ASHU" for primary & "TEST" for standby database.
    I took the backup of all datafile and copied it in the standby location.
    Generate the standby control file also and copied to the standby location.
    But when i am going to start the standby database it is giving the below error:
    SQL> startup nomount;
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01103: database name 'ASHU' in controlfile is not 'TEST'
    How to rectify it? Please help me
    (* This is only for learning pupose , that's why i am going to create both on same host"

    >
    SQL> alter database mount standby database;
    alter database mount standby database
    ERROR at line 1:
    ORA-01103: database name 'ASHU' in controlfile is not 'TEST'
    How to rectify it? Please help me
    >
    You do not change the dbname of the physical standby database. They always must have the same name as the primary.
    Here is a snippet from my standby initialization file for a 9i installation. Notice the parameter LOCK_NAME_SPACE that was replaced in 10g with DB_UNIQUE_NAME
    db_file_name_convert=('E:\PRIMA','E:\PHYST')
    db_name='PRIMA'
    instance_name='PHYST'
    service_names='PHYST'
    lock_name_space='PHYST'
    log_archive_dest_1='LOCATION=E:\PHYST\ARCHIVE'
    log_archive_start=TRUE
    log_archive_format='%t_%s.arc'
    log_file_name_convert=('E:\PRIMA','E:\PHYST')Kind regards
    Uwe
    http://uhesse.wordpress.com
    Edited by: Uwe Hesse on 27.07.2009 13:36

  • How to Create Primary DB and Physical/Logical Standby DB on the same host?

    Now I encounter a issue. I want to create one Primary DB and one Physical standby DB and one Logical standby DB on the same host.
    Create this env on the same host aims to test whether we can using EM Patching DP to apply patches on Primary/Physical/Logical DB successfully.
    I try to setup this env but fails. I want to know more related issues about create Primary DB /Physical DB/Logical DB on the same host and how to configure between them.
    Below steps is my try:
    1. Create Primary DB on the /scratch/primary_db
    2. Create Physical Db software only on the /scratch/physical_db
    3. Create Logical Db software only on the /scratch/logical_db
    4. Using EM Wizard to create physical standby database and logical standby database, and these two targets can show up on the "All Targets" Page.
    5. But when using EM Patching DP, it fails and the reason is the listener of physical and logical db cannot configured well.
    Issues:
    So I want to know about how to configure physical db and logical db's listener using EM or manually?
    If the listener name of Primary Db is LISTENER and the port is 1521,and the listener.ora is under the /scratch/primary_db/network/admin directory, then how to config physical db and logical db's listener's name and port?

    Hi,
    As this a test case then you need to create two more listener for each Oracle Home (/scratch/physical_db & /scratch/logical_db) make sure that they have different names and ports.
    Then add the new listeners manually using GC?
    Try it and let me know
    Regards
    Amin

  • How to dup d'base on same host ???

    Hi,
    I want to create dup d'base on the same host with
    diff directory structure with rman.I have few question to ask.
    I am using oracle 9.0.1 on win 2000 server and I am using stand
    alone server so what step I should take to avoid future mishapes?
    please answer these question ...
    1.Can I use same Oracle host and same dir structure?
    2.Can I use primary d'base datafiles for the stdby d'base?
    3.Is it necessary to have catalog d'base or it can be ---
    created w'out a catalog d'base?
    4.Can I use same datafiles of primary d'base?
    4.I also connect to taget d'se but,when I tried to connect aux db
    I got these errors :
    error from auxiliary database: ORA-12519: TNS:no appropriate
    service handlet found.
    my main pproblem is that, I am not able to create aux instance
    and connect to it. please let me know the remedy of these problems.
    and if you could let me know the step by step solution all of
    these considering regarding problems,which I mention above.
    With regards : Alok Kumar

    The docs might help:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#442448
    Kailash.

  • How to create dup d'base on same host??

    Hi,
    I want to create dup d'base on the same host with
    diff directory structure with rman.I have few question to ask.
    I am using oracle 9.0.1 on win 2000 server and I am using stand
    alone server so what step I should take to avoid future mishapes?
    please answer these question ...
    1.Can I use same Oracle host and same dir structure?
    2.Can I use primary d'base datafiles for the stdby d'base?
    3.Is it necessary to have catalog d'base or it can be ---
    created w'out a catalog d'base?
    4.Can I use same datafiles of primary d'base?
    4.I also connect to taget d'se but,when I tried to connect aux db
    I got these errors :
    error from auxiliary database: ORA-12519: TNS:no appropriate
    service handlet found.
    my main pproblem is that, I am not able to create aux instance
    and connect to it. please let me know the remedy of these problems.
    and if you could let me know the step by step solution all of
    these considering regarding problems,which I mention above.
    With regards : Alok Kumar

    The docs might help:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#442448
    Kailash.

  • Ora 12543 tns destination host not reachable

    Dear All,
    OS: RHEL 5
    DB VERSION:-11.2.0
    I am facing problem related to ora 12543 tns destination host not reachable
    The problem here is little bit different what exactly other face:-
    i have 2 servers with name abc.localdomain & xyz.localdomain.
    Db name on abc.localdomain is abc
    Db name on xyz.localdomain is xyz
    When i try to ping with below mentioned command abc and xyz from abc.localdomain i am successful
    ping abc
    ping xyz
    But when the same thing i am trying to do from xyz.localdomain i am able to ping the db running on xyz.localdomain. but getting the above mentioned error duringg pinging of abc database located on abc.localdomain server
    I am able to ping both the server's from their ip's and hostname but not by abc db name and also checked firewall on both servers are disabled.
    Here are my tnsnames.ora and listener.ora files for both machines
    xyz.localdomain tnsnames.ora file:-
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
    xyz =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
        (CONNECT_DATA =
          (SERVICE_NAME = xyz)
    abc =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = abc)
    xyz.localdomain listener.ora:-
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
    SID_LIST_LISTENER1 =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = xyz)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
          (SID_NAME = xyz)
    ADR_BASE_LISTENER1 = /u01/app/oracle
    abc.localdomain machine:-
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = abc)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/grid)
          (SID_NAME = abc)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    tnsnames.ora:-
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    xyz =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xyz.localdomain)(PORT = 12001))
        (CONNECT_DATA =
          (SERVICE_NAME = xyz)
    abc =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = abc.localdomain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = abc)
    So kindly advice over the same if anyone of you face the same problem.

    Hi,
    Before actually looking up on this issue. I would suggest you to read the below posts to get true knowledge of what these utility do (i.e Listener, tnsping) and what are there purpose.
    Help! I can't connect to my database...; | Ed Stevens, DBA
    Help! I can't connect to my database (part duex) | Ed Stevens, DBA
    tnsping  what it is, what it isn't | Ed Stevens, DBA

  • Cloning of database to same host give error, unable to re-create online log

    clone the database to same host
    oracle version: 9.2.0.5
    os HP
    target db: tardb
    catlog catlog
    auxiliary: auxbr
    After running this script, I am getting error unable to re-create online log.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/08/2009 23:17:38
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
    /redolog.001/catalog1/catalog1_log1.rdo'
    ORA-27040: skgfrcre: create error, unable to create file
    HP-UX Error: 2: No such file or directory
    I tried to shutdown, and mount, recover with backup contorlfile until cancel. and open with reset logs ,
    I am not able to make the copy of the database on same host.
    Help is appreciated.
    complete error log
    oracle@dimondz{auxbr}/db/app/oracle/dba/sql> sqlplus '/as sysdba'
    SQL*Plus: Release 9.2.0.5.0 - Production on Mon Jun 8 23:11:23 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    SQL> startup nomount pfile='/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
    ORACLE instance started.
    Total System Global Area 219115512 bytes
    Fixed Size 737272 bytes
    Variable Size 83886080 bytes
    Database Buffers 134217728 bytes
    Redo Buffers 274432 bytes
    SQL> create spfile from pfile='/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
    File created.
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.5.0 - Production
    oracle@dimondz{auxbr}/db/app/oracle/dba/sql>
    oracle@dimondz{auxbr}/db/app/oracle/dba/sql> rman
    Recovery Manager: Release 9.2.0.5.0 - 64bit Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN> connect catalog rman/rman@catlog
    connected to recovery catalog database
    RMAN> connect target sys/dimondz@tardb
    connected to target database: tardb (DBID=3063303886)
    RMAN> connect auxiliary sys/dimondz@auxbr
    connected to auxiliary database: auxbr (not mounted)
    RMAN>
    RMAN> RUN
    2> {
    3> SET NEWNAME FOR DATAFILE 1 TO '/db/catalog1.001/oradata/system01.dbf';
    4>
    5> SET NEWNAME FOR DATAFILE 2 TO '/db/catalog1.001/oradata/undotbs01.dbf';
    6>
    SET NEWNAME FOR DATAFILE 3 TO '/db/catalog1.001/oradata/ptest01.dbf';
    7> 8>
    9> SET NEWNAME FOR DATAFILE 4 TO '/db/catalog1.001/oradata/users_01.dbf';
    10>
    11> SET NEWNAME FOR DATAFILE 5 TO '/db/catalog1.001/oradata/drsys_01.dbf';
    12>
    13> SET NEWNAME FOR DATAFILE 6 TO '/db/catalog1.001/oradata/qms_dat_01.dbf';
    14>
    15> SET NEWNAME FOR DATAFILE 7 TO '/db/catalog1.001/oradata/ultradat_01.dbf';
    16>
    17> SET NEWNAME FOR DATAFILE 11 TO '/db/catalog1.001/oradata/xmltbs_01.dbf';
    18>
    19> DUPLICATE TARGET DATABASE TO auxbr
    20>
    21> pfile=/db/app/oracle/admin/catlog/pfile/initauxbr.ora
    22> logfile
    23> ' /db/redolog.001/catalog1/catalog1_log1.rdo' size 5m,
    24> ' /db/redolog.003/catalog1/catalog1_log2.rdo' size 5m,
    25> ' /db/redolog.002/catalog1/catalog1_log3.rdo' size 5m;
    26> }
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 08-JUN-09
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=11 devtype=DISK
    printing stored script: Memory Script
    set until scn 229907626;
    set newname for datafile 1 to
    "/db/catalog1.001/oradata/system01.dbf";
    set newname for datafile 2 to
    "/db/catalog1.001/oradata/undotbs01.dbf";
    set newname for datafile 3 to
    "/db/catalog1.001/oradata/ptest01.dbf";
    set newname for datafile 4 to
    "/db/catalog1.001/oradata/users_01.dbf";
    set newname for datafile 5 to
    "/db/catalog1.001/oradata/drsys_01.dbf";
    set newname for datafile 6 to
    "/db/catalog1.001/oradata/qms_dat_01.dbf";
    set newname for datafile 7 to
    "/db/catalog1.001/oradata/ultradat_01.dbf";
    set newname for datafile 11 to
    "/db/catalog1.001/oradata/xmltbs_01.dbf";
    restore
    check readonly
    clone database
    executing script: Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 08-JUN-09
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /db/catalog1.001/oradata/system01.dbf
    restoring datafile 00002 to /db/catalog1.001/oradata/undotbs01.dbf
    restoring datafile 00003 to /db/catalog1.001/oradata/ptest01.dbf
    restoring datafile 00004 to /db/catalog1.001/oradata/users_01.dbf
    restoring datafile 00005 to /db/catalog1.001/oradata/drsys_01.dbf
    restoring datafile 00006 to /db/catalog1.001/oradata/qms_dat_01.dbf
    restoring datafile 00007 to /db/catalog1.001/oradata/ultradat_01.dbf
    restoring datafile 00011 to /db/catalog1.001/oradata/xmltbs_01.dbf
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/dump/DBA/RMAN/tardb_bkup/db_tardb_f_04kgt77h tag=WHOLE_DATABASE_tardb params=NULL
    channel ORA_AUX_DISK_1: restore complete
    Finished restore at 08-JUN-09
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "auxbr" RESETLOGS ARCHIVELOG
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 907
    LOGFILE
    GROUP 1 ' /db/redolog.001/catalog1/catalog1_log1.rdo' SIZE 5242880 ,
    GROUP 2 ' /db/redolog.003/catalog1/catalog1_log2.rdo' SIZE 5242880 ,
    GROUP 3 ' /db/redolog.002/catalog1/catalog1_log3.rdo' SIZE 5242880
    DATAFILE
    '/db/catalog1.001/oradata/system01.dbf'
    CHARACTER SET UTF8
    printing stored script: Memory Script
    switch clone datafile all;
    executing script: Memory Script
    datafile 2 switched to datafile copy
    input datafilecopy recid=1 stamp=689037446 filename=/db/catalog1.001/oradata/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafilecopy recid=2 stamp=689037446 filename=/db/catalog1.001/oradata/ptest01.dbf
    datafile 4 switched to datafile copy
    input datafilecopy recid=3 stamp=689037446 filename=/db/catalog1.001/oradata/users_01.dbf
    datafile 5 switched to datafile copy
    input datafilecopy recid=4 stamp=689037446 filename=/db/catalog1.001/oradata/drsys_01.dbf
    datafile 6 switched to datafile copy
    input datafilecopy recid=5 stamp=689037446 filename=/db/catalog1.001/oradata/qms_dat_01.dbf
    datafile 7 switched to datafile copy
    input datafilecopy recid=6 stamp=689037446 filename=/db/catalog1.001/oradata/ultradat_01.dbf
    datafile 11 switched to datafile copy
    input datafilecopy recid=7 stamp=689037446 filename=/db/catalog1.001/oradata/xmltbs_01.dbf
    printing stored script: Memory Script
    set until scn 229907626;
    recover
    clone database
    delete archivelog
    executing script: Memory Script
    executing command: SET until clause
    Starting recover at 08-JUN-09
    using channel ORA_AUX_DISK_1
    starting media recovery
    channel ORA_AUX_DISK_1: starting archive log restore to default destination
    channel ORA_AUX_DISK_1: restoring archive log
    archive log thread=1 sequence=3
    channel ORA_AUX_DISK_1: restoring archive log
    archive log thread=1 sequence=4
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/dump/DBA/RMAN/tardb_bkup/db_arch_tardb_f_06kgt7ih tag=ARCHIVE_LOG_tardb_BACKUP params=NULL
    channel ORA_AUX_DISK_1: restore complete
    archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_3.arc thread=1 sequence=3
    channel clone_default: deleting archive log(s)
    archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_3.arc recid=1 stamp=689037447
    archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_4.arc thread=1 sequence=4
    channel clone_default: deleting archive log(s)
    archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_4.arc recid=2 stamp=689037447
    media recovery complete
    Finished recover at 08-JUN-09
    printing stored script: Memory Script
    shutdown clone;
    startup clone nomount pfile= '/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
    executing script: Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area 219115512 bytes
    Fixed Size 737272 bytes
    Variable Size 83886080 bytes
    Database Buffers 134217728 bytes
    Redo Buffers 274432 bytes
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "auxbr" RESETLOGS ARCHIVELOG
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 907
    LOGFILE
    GROUP 1 ' /db/redolog.001/catalog1/catalog1_log1.rdo' SIZE 5242880 ,
    GROUP 2 ' /db/redolog.003/catalog1/catalog1_log2.rdo' SIZE 5242880 ,
    GROUP 3 ' /db/redolog.002/catalog1/catalog1_log3.rdo' SIZE 5242880
    DATAFILE
    '/db/catalog1.001/oradata/system01.dbf'
    CHARACTER SET UTF8
    printing stored script: Memory Script
    catalog clone datafilecopy "/db/catalog1.001/oradata/undotbs01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/ptest01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/users_01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/drsys_01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/qms_dat_01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/ultradat_01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/xmltbs_01.dbf";
    switch clone datafile all;
    executing script: Memory Script
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/undotbs01.dbf recid=1 stamp=689037456
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/ptest01.dbf recid=2 stamp=689037456
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/users_01.dbf recid=3 stamp=689037456
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/drsys_01.dbf recid=4 stamp=689037457
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/qms_dat_01.dbf recid=5 stamp=689037457
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/ultradat_01.dbf recid=6 stamp=689037457
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/xmltbs_01.dbf recid=7 stamp=689037457
    datafile 2 switched to datafile copy
    input datafilecopy recid=1 stamp=689037456 filename=/db/catalog1.001/oradata/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafilecopy recid=2 stamp=689037456 filename=/db/catalog1.001/oradata/ptest01.dbf
    datafile 4 switched to datafile copy
    input datafilecopy recid=3 stamp=689037456 filename=/db/catalog1.001/oradata/users_01.dbf
    datafile 5 switched to datafile copy
    input datafilecopy recid=4 stamp=689037457 filename=/db/catalog1.001/oradata/drsys_01.dbf
    datafile 6 switched to datafile copy
    input datafilecopy recid=5 stamp=689037457 filename=/db/catalog1.001/oradata/qms_dat_01.dbf
    datafile 7 switched to datafile copy
    input datafilecopy recid=6 stamp=689037457 filename=/db/catalog1.001/oradata/ultradat_01.dbf
    datafile 11 switched to datafile copy
    input datafilecopy recid=7 stamp=689037457 filename=/db/catalog1.001/oradata/xmltbs_01.dbf
    printing stored script: Memory Script
    Alter clone database open resetlogs;
    executing script: Memory Script
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/08/2009 23:17:38
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
    /redolog.001/catalog1/catalog1_log1.rdo'
    ORA-27040: skgfrcre: create error, unable to create file
    HP-UX Error: 2: No such file or directory
    RMAN>
    I tried to shutdown and open with resetlogs , it still error
    oracle@dimondz{auxbr}/db/app/oracle/dba/sql> sqlplus '/as sysdba'
    SQL*Plus: Release 9.2.0.5.0 - Production on Mon Jun 8 23:27:05 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.5.0 - Production
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 219115512 bytes
    Fixed Size 737272 bytes
    Variable Size 83886080 bytes
    Database Buffers 134217728 bytes
    Redo Buffers 274432 bytes
    Database mounted.
    SQL> recover database until cancel using backup controlfile;
    ORA-00279: change 229907626 generated at 06/06/2009 11:58:09 needed for thread
    1
    ORA-00289: suggestion : /oradump/oradata/catlog/arch/catlog-1814470384_1_5.arc
    ORA-00280: change 229907626 for thread 1 is in sequence #5
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    Media recovery cancelled.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/
    /db/redolog.001/catalog1/catalog1_log1.rdo'
    ORA-27040: skgfrcre: create error, unable to create file
    HP-UX Error: 2: No such file or directory
    SQL>
    Thanks, Your help and guide will appreciated very much.

    Hello,
    The directory for the creation of the logfiles does not exist, from the error:
    RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
    /redolog.001/catalog1/catalog1_log1.rdo'
    ORA-27040: skgfrcre: create error, unable to create file
    HP-UX Error: 2: No such file or directoryI.e., there is no such directory as *'/db/app/oracle/product/9.2.0.5/dbs/ /db/redolog.001/catalog1/catalog1_log1.rdo'*
    Your db_recovery_file_dest parameter may be set here, therefore change this:
    '/db/redolog.001/catalog1/catalog1_log1.rdo' size 5m,
    ' /db/redolog.003/catalog1/catalog1_log2.rdo' size 5m,
    ' /db/redolog.002/catalog1/catalog1_log3.rdo' size 5m;To this:
    'catalog1_log1.rdo' size 5m,
    'catalog1_log2.rdo' size 5m,
    'catalog1_log3.rdo' size 5m;And try again.

  • 9i and 10g on same host

    Hi folks,
    i am just trying to run 9i and 10g on same host (sun solaris 5.9)
    I created 2 different oracle users on os level for installation and management of those 2 instances.
    There is no problem with it, but i am just curious. would it be better to run them both with the same account?
    or is it better to have 2 separete accounts for each of them?
    just want to hear expert's opinion about this, Thanks in advance.
    Edited by: merope on May 14, 2009 2:25 PM

    >
    There is no problem with it, but i am just curious. would it be better to run them both with the same account?
    or is it better to have 2 separete accounts for each of them?It depends on Your needs. Both ways are ok. Easier is to manage if both oracle homes are under the same account, because then it's easier to upgrade database, maybe in future You will want just one oracle home and so on.
    But if for example You are running on the same machine test and dev envs, then it's somewhat normal to separete and then there is no dependency between envs and You can for example upgrade dev without touching test (that can be achieved with simple 2 different oracle_homes, but with two different users as well).

  • Clone DB same host with ASM

    Hello,
    I am cloning a database running in 11.2.0.3 version with ASM to a new database running in the same version with ASM in the same host.
    The OS version is Redhat Linux 5.5.
    The source database is SOURCE and the target to clone database is CLONE.
    The source database datafiles are in DG_SOURCE diskgroup and the clone database datafiles are in DB_CLONE diskgroup.
    After mounting the database source , I am now backing up the source database using this command:
    run {
    backup as copy database format '+DG_CLONE/CLONE/DATAFILE/%N_%f.dbf';
    }This will copy the datafiles to the DG_CLONE which will be the diskgroup of CLONE instance.
    I am thinking after that to :
    1- startup nomount the clone database with an init.ora modified of the source database.
    2- create the controlfile with CREATE CONTROLFILE command,
    3- mount the clone instance.
    4- run the following script with RMAN;
    catalog start with '+DG_CLONE/CLONE/DATAFILE/';
    restore database;
    switch datafile all; 
    recover database;
    alter database open resetlogs;I wonder if my steps are correct?
    Thanks,
    S

    DBA wrote:
    Hello,
    I am cloning a database running in 11.2.0.3 version with ASM to a new database running in the same version with ASM in the same host.
    The OS version is Redhat Linux 5.5.
    The source database is SOURCE and the target to clone database is CLONE.
    The source database datafiles are in DG_SOURCE diskgroup and the clone database datafiles are in DB_CLONE diskgroup.
    After mounting the database source , I am now backing up the source database using this command:
    run {
    backup as copy database format '+DG_CLONE/CLONE/DATAFILE/%N_%f.dbf';
    }This will copy the datafiles to the DG_CLONE which will be the diskgroup of CLONE instance.
    I am thinking after that to :
    1- startup nomount the clone database with an init.ora modified of the source database.
    2- create the controlfile with CREATE CONTROLFILE command,
    3- mount the clone instance.
    4- run the following script with RMAN;
    catalog start with '+DG_CLONE/CLONE/DATAFILE/';
    restore database;
    switch datafile all; 
    recover database;
    alter database open resetlogs;I wonder if my steps are correct?
    Thanks,
    S
    I do not think you would be able to restore & recover the backup of your SOURCE database to create the CLONE database on the same host using the method you have stated. You can go with the RMAN duplicate command or since you are on 11g, you can go with the RMAN "duplicate from active database" method.
    In your method, you would be restoring the backups of SOURCE on the same server where SOURCE exists and this backup would contain the DB NAME as SOURCE which already exists and is running and you cannot restore it on the same server.
    You can refer this http://aprakash.wordpress.com/2011/01/24/duplicate-database-using-from-active-database-clause-11gr2/ for duplicate database using "FROM ACTIVE DATABASE" clause
    For normal RMAN duplicate, you can refer this
    http://www.shutdownabort.com/quickguides/clone_rman.php
    http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta028.htm

  • Same Host Machine

    Hi All,
    I have a doubt regarding integration of APEX with BI Publisher.
    Is the APEX and BI Publisher has to be installed in a same machine(i.e Same host) for integration, or it can be in a different host machine.
    Since my APEX is in one machine and BI publisher is in other machine.
    If it is in different machine it is possible to integrate between these two.
    Otherwise, it is strictly recommended the inorder to integrate BI publisher with APEX means, then the both has to be in a same machine.
    Regards,
    Mini

    Hi jari,
    Thanks for the reply, you mean that BI publisher has to be installed where the database is installed,
    Since i have APEX with a database in one machine, and i have BI publisher not in the APEX database it is entirely in the another machine.
    <li> I have APEX with DB in linux and BIP in windows server 2003.
    <li> I have also made changes under the instance settings like specifying the printer server address etc.
    Now what is the error it is returning means jari
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.Regards,
    Mini

  • Can smb and afp coexist on the same host?

    Greetings all!
    I've been using Macs and OSX for a year. And recently I bought another MBP so I am seriously considering Time Machine backups. I have a Linux home server running Ubuntu 12.04 and Samba and my previous MBP running Mountain Lion connects to it happily without any problem. But my trouble started when I tried to setup afp on the same box.
    I followed this post and this post and got the fake time capsule showing in Time Machine without any problem. But soon I found myself unable to connect to the old samba shares. The smb host now displays as a Time Capsule. If I click on that OSX will say 'failed to connect'.
    As I understand there are 2 pieces involved on the server side, avahi to broadcast the service info and netatalk to provide the service itself. It's a bit like nmbd and smbd in Samba. If this is true then it's somewhat understandable that OSX can not display the same host as 2 different types of services at the same time. So I stopped avahi-daemon and very soon the old Samba shares appeared again.
    I am able to connect to both services using command+k but I would rather have them running normally so that my wife will be able to use them without extra tech support. Can anyone tell me if what I said above is true and/or if there is a graceful way around this? If answer is no then I will have to create a virtual machine or nic alias just for time machine and I think it's quite a waste.
    Thanks!

    tristonej wrote:
    I don't quite understand why people buying non-Apple devices should not expect OSX to work with them
    Because Apple has no control over 3rd parties. They can do what they want. If Apple publishes a new authentication mechanism in 2002, the 3rd party doesn't have to implement it. That isn't Apple's fault. If they do get around to supporting it in 2009 and then some 4th party doesn't bother to use the 2009 code in 2011, Apple still can't do anything about that. If anyone else wants to advertise, and support, Time Machine compatibility, they are welcome to do that. They definitely have the advertising part down, the support, not so much.
    There is a time when apple only worked with apple but that aparently was not sustainable. And that's why now Apple is embracing smb
    Apple's goal is to choose the best solution for its customers. Sometimes that is a proprietary connection or protocol and sometimes it is something industry standard. In all cases, there has to be some cut off for testing and support. That is why Apple eventually stops supporting its own hardware and technologies at a certain point. That is also why Apple will support SMB as deployed by Microsoft but isn't going to waste much time on home-built Linux servers.
    (it's said even samba was used shortly on OSX, not quite sure) and allow users to install windows on macs. Even OSX itselt is based on FreeBSD and uses quite a lot of open source components.
    Apple uses a lot of open source software. Samba was one of those projects. Unfortunately, the people that made those products didn't want Apple using them so they changed the licensing to prohibit Apple (and pretty much only Apple) from using their source code. That is why some of the open source packages in OS X are stuck in a 2007 version. That is also why Apple abandonned Samba and wrote its own SMB implementation.
    OS X is not based on FreeBSD. It has a BSD-flavoured POSIX layer, but it is a distinct operating system at its core.
    IMHO there is no magic in throwing money at propiretary hardware/software or praying to Steve Jobs. If something is not working, it must be that there is a bug in the code or the design. And neither OSX nor Macs are built by God, which means they are bugged as other software/hardware.
    I'm confused. When did anyone say anything about praying to Steve Jobs or divine technology? You asked about using Linux as a Time Machine server. I suggested you avoid that if you value your data. I also asked why you would want to keep running Linux now that you have a Mac. A Mac can do anything Linux can do with a fraction of the effort.
    The answer is simple, Macs can not do what I want.
    Which is?
    Withe a standard mATX case I can have quite a few 3.5" drive bays while there is only one 2.5" in a Mac mini. And with Ubuntu/Debian, getting/updating the software or the system is quite easy, just one or a few lines of apt commands, not quite possible with OSX.
    That's certainly true. OS X updates itself without having to run any apt commands.
    If you must compile something from the source to get a Linux running then something must be seriously wrong.
    My thoughts exactly. But perhaps you didn't follow me entirely. Apt, yum, etc don't have everything one needs to setup something as fancy as, I don't know, a web server. While I did have to compile a number of things from source, I had to actually edit the source a couple of times as well.
    The best thing I love about Linux is openess. You can customize almost everything and change it whatever way you want. With Mac, for example the 2013 Retina MBP I just bought, it's not even possible to change the power button behavior, which is very annoying.
    Then why did you buy a Mac? That's no big secret. Some people like not have to configure everything just to get it running. I have other things to do than edit config files.
    Back to my original question. I think the problem is not quite with compatibility of Bonjor but rather whether OSX can show this or not. Imagine you have a smb share and afp share on the same host, with the same name, how would OSX display it? And which icon will OSX use to display the host? I can not think of the answer so if you know please tell me.
    OS X will just display it like it display any server. One of your links event has instructions on how to pick the icon you want to fake. If you are running both services then I am not sure which one it would try to connect with. Neither of your services are native, not matter how much they try to fake it. If you wanted a specific service you would have to manually use the correct protocol in Finder > Go > Connect to Server. However, bot of those links were posted before Mavericks. Obviously they don't work anymore. It's Linux. It's open. Right? So fix it and post it on your own blog. I do not know what modifications you would have to make to either Samba or Netatalk to make them work with Mavericks.
    If all you need is to allow your wife to connect to one specific protocol, then manually connect to that service, saving your password in the keychain, and create an alias by Command-option dragging the server to some other folder. Then, she can just double-click on the alias to connect to the network.
    Now, if you really want to be clever, you can setup an automount to that service instead. Then the server will be mounted and unmounted as needed.

  • SSO within an ABAP+JAVA on the same host

    Experts:
    We have a dual stack (ABAP+JAVA) NW04s on the same host.
    The usage type EP7 is enabled.
    From this EP7 we want to access its own ITS thru SSO.
    We configured the SSO just like we did for the EP7 + ECC on 2 different hosts.
    However, we are always asked for an ID/password when trying to test the SSO from the EP7.
    The error is:
    "SSO logon not possible; browser logon ticket cannot be accepted"
    Please advise. Points guaranteed. Thanks!

    hi,
    I also tried to do the same, but i think it's not possible.
    I read somewhere that SAP recommends to use different instances of ABAP and Java. I installed seperate ABAP and Java instances on the same host and then configured SSO using the Configuration Wizard in NWA configuration. and it works perfectly.
    regards,
    Ankur

Maybe you are looking for

  • After charging my 5th gen ipod on vista computer, it is no longer showing on itunes/windows xp.

    i have only been able to set the ipod to Disk Mode, itunes/windows XP then finds the ipod, it then tells me i need to restore which i do, it then starts to restore then tells me it needs to diconnect to finalise but will then appear in itunes.  howev

  • Open HTTP connection failed

    Hi all. The environment is J2SDK4 + Tomcat4.0.4 I tried to implement the WebClient.java in SUN/Marty Hall's book "Core Servlets and JavaServer Pages". Everything compiles okay. All the java and class files are in a package under the /examples folder

  • Strange vertical bar in address bar blinking near cursor

    After I updated my Firefox to version 33, I noticed that there is strange grey vertical bar keep blinking near cursor in the address bar and sometime it appear near close tab button. How to fix that problem? Sorry for my bad english.

  • Best way to create DVD from videos from several events?

    Hi all - I'm very new to iMovie and iDVD and was hoping for some advice. I'm making a compilation DVD "for the grandparents" of videos from a variety of the kids' events throughout the year. What's the best way to do this? By the way, I've switched t

  • Symbian OS update

    Hello. First, excuse my english as my native language is georgian. I bought my N70 not a long time ago. It was 11 august. But had a little courios about Symbian OS, (my previous phone was SE K750)and I have a question: Why I can't update my OS 8.1a t