Oracle_Home destination

Hello,
I am using ORACLE 10g on a windows server and i want to know my ORACLE home on a client PC
I used the below command
C:\>echo ORACLE_HOME = %ORACLE_HOME%
and i get the below
ORACLE_HOME = %ORACLE_HOME%
I need to know the destination for ex: C:\oracle\product\10.2.0\db_1
Thanks in advance

user3489571 wrote:
OK, I am a newbie but am having real difficulty with my DB 10G which I had set up on Unix Solaris box but someone was messing around with it and now I can't see ORACLE_HOME, ORACLE_BASE and ORACLE_SID.
Realise I should have originally set it in Bash_profile, too late.
So how do I set them back up, I cannot get SQLPLUS / AS SYSDBA.........bash: sqlplus: command not found
I have tried to reset but still doesn't work.
I got the ORACLE_BASE as:
training:/export/home/training/product/10.2.0/Db_1:N
but can't seem to set the three variables to run SQLPLUS, any ideas what I am doing wrong?What you are doing wrong is letting other people mess with your setup.
You have to get those variables set into your profile by one of several possible means.
You can probably find ORACLE_HOME for the server by looking at some entries in the 'oratab' file. If I remember, on solaris that should be in /var/opt/oratab. That will also show the value for ORACLE_SID. If you see a line in oratab that looks something like this:
ORCL:/oracle/app/product/10.2.0:YIn the above, the value for ORACLE_SID is 'ORCL' and the value for ORACLE_HOME is '/oracle/app/product/10.2.0'. In addition to setting those two environment variables, you need to add $ORACLE_HOME/bin to your PATH.

Similar Messages

  • Silent Install -- ignore Non Empty Home

    Doing a 10g install in Silent mode and wondering how I can get past the Non Empty home message.
    During the interactive install, you simply say ignore or continue. I cleared all of the files in the $ORACLE_HOME prior to the install, but it creates a log file in that directory as that is also the $UNIX_HOME. I cannot change the ORACLE_HOME destination because of backup scripts and cannot do an interactive install. So, does anyone know how to bypass the OUI-10029 message during a silent install using a responsefile?
    Thanks.

    Prakash,
        Thank you for the reply.  This error occurs in a previously empty directory.  The oracle installer adds a log and lock directory.  I am using the -force flag only to get around the installer files (not to be confused with the /tmp installer files elsewhere).  I thought about turning validation off but I still need it.
    I can't access the bug.  Is there a way to force the installer to not write to the empty directory before it validates that is is empty by writing the log and lock directory elsewhere?
         However, with the -novalidation flag the WebLogic 12.1.2.0 silent install is proceeding - I will verify it shortly
    Check complete. The overall result of this check is: Passed
    CertifiedVersions Check: Success.
    Expected result: 1.7
    Actual Result: 1.7.0_51
    Check complete. The overall result of this check is: Passed
    CheckJDKVersion Check: Success.
    Verifying data......
    Copying Files...
    -----------20%----------40%----------60%--
    thank you
    Michael

  • Trouble with sqlplus

    Hi all,
    I just installed oracle 10g XE R2 and want to do some sql requests but it doesn't work.
    when i enter this
    oracle@fadoua-laptop:~$ sqlplus
    i got this error
    -su: sqlplus: command not found
    please can someone help me, i am really stuck here

    Thank you very much for your replies,
    when i have followed these steps
    export ORACLE_HOME=/destination where you installed oracle
    cd $ORACLE_HOME/bin
    *./sqlplus /nolog*
    connect / as sysdba
    it worked very well but i still have a problem when i logout from oracle and login an other time i must do the same steps otherwise it doesn't work,
    what can i do to solve it?
    thank you for your help

  • 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

  • Data are not being applied at destination side

    Hi all,
    I have implemented real time streams replication(not archive log based downstream replication).
    source:9.2.0.8.0
    destination:10.2.0.2.0
    Capture and propagation is working fine. DBlinks are also fine. Apply process is running , but data are not being applied in destination side.
    The trc file shows this:
    Dump file /dev1/visdb10/10.2.0/admin/VIS_wbsebdev1/bdump/vis_p001_14628.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /dev1/visdb10/10.2.0
    System name: Linux
    Node name: wbsebdev1
    Release: 2.4.21-32.ELsmp
    Version: #1 SMP Fri Apr 15 21:17:59 EDT 2005
    Machine: i686
    Instance name: VIS
    Redo thread mounted by this instance: 1
    Oracle process number: 21
    Unix process pid: 14628, image: oracle@wbsebdev1 (P001)
    *** SERVICE NAME:(SYS$USERS) 2008-05-29 11:39:26.957
    *** SESSION ID:(388.16) 2008-05-29 11:39:26.957
    The Alertlog file shows at the end this:
    Thu May 29 11:19:06 2008
    Streams APPLY A001 with pid=16, OS id=9531 stopped
    Thu May 29 11:21:25 2008
    Incremental checkpoint up to RBA [0x746.d359.0], current log tail at RBA [0x746.d471.0]
    Thu May 29 11:39:26 2008
    Streams APPLY A001 started with pid=18, OS id=14624
    Streams Apply Reader started P000 with pid=20 OS id=14626
    Streams Apply Server started P001 with pid=21 OS id=14628
    Thu May 29 11:41:33 2008
    Incremental checkpoint up to RBA [0x746.11565.0], current log tail at RBA [0x746.121b9.0]
    Pls help.
    Thanking You,
    Nitesh.

    Problem solved.

  • On windows, while cloning error The destination file does not have write pe

    Hi,
    I am cloning in windows 2003, 11.5.10.2. After copying files while runnig
    adcfgclone.pl dbTier it is hanging at 13% and throwing error "The Destination file does not have write permissions ......\9.2.0\OPatch\perl_modules\Command.pm"
    i am not using MKS perl.
    i changed directory to $ORACLE_HOME\Apache\perl\5.*\MS*\
    perl .....\appsutil\clone\bin\adcfgclone.pl dbTierPlease any pointers will be helpful.
    Regards
    Taher

    Hi Taher;
    Please check:
    perl setting windows:
    Re: cloning oracle applications 11i on windows
    Also check:
    Setting the Perl Environment PERL5LIB [ID 395294.1]
    Common Perl Setup Issues and Solutions for E-Business Suite 11i [ID 404055.1]
    Regard
    Helios

  • Create physical standby failed at destination preparation step

    I have tried several times to create a physical standby using Grid Control. Everytime, the job failed at the step "Destination Preparation". The log file indicated the following error message:
    PLS-00553: character set name is not recognized.
    This is because an extra word "PuTTY" was inserted into the spfile as shown in the following spfile, therefore, the instance cannot be started. In addition, everytime when issuing the command "cat spfilermslag.ora", the word "PuTTY" will automatically appear in the command line after the "cat spfilermslag.ora" command.
    $ cat spfilermslag.ora
    gé ú&PuTTYrmslag.__db_cache_size=150994944
    rmslag.__large_pool_size=4194304
    rmslag.__shared_pool_size=71303168
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/u01/app/oracle/admin/rmslag/udump'
    [oracle@wppnode2 dbs]$ PuTTY
    What is going on here? How can I fix the problem?
    Thanks!

    You can still carefully use the corrupted spfile to create a pfile and start your database with teh pfile, then create spfile from the pfile.
    Make a copy of the spfilermslag.ora sand save it as initrmslag.ora. Open the spfile with notepad, carefully remove all the wrong characters at the begining and end of the file. Use the init file to startup the database
    SQL>connect sys as sysdba
    SQL>startup spfile=$ORACLE_HOME/dbs/initrmslag.ora
    SQL>create spfile from pfile;
    SQL>shutdown immediate
    SQL>startup

  • Archive destination on Logical Standby

    Dear colleagues,
    A physical standby database writes archivelogs in '/oradata3/iclgstdb/archivelog' destination because a parameter standby_archive_dest set in '/oradata3/iclgstdb/archivelog':
    SQL> sho parameter standby
    NAME                                 TYPE        VALUE
    standby_archive_dest                 string      /oradata3/iclgstdb/archivelog
    standby_file_management              string      AUTO
    When I switch the physical to a logical standby then archivelogs are written in '$ORACLE_HOME/dbs/arch' destination:
    SQL> ARCHIVE LOG LIST
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            /ora/OraHome11203/dbs/arch
    Oldest online log sequence     1
    Next log sequence to archive   2
    Current log sequence           2
    But I don't see this destination in v$parameter view.
    How can I change "Archive destination /ora/OraHome11203/dbs/arch" to '/oradata3/iclgstdb/archivelog'?

    Hi,
    Above answered given by one of our DBA friend is correct...just want to add few things,
    We need to update both the parameters related to log_archive_dest_1 and log_archive_dest_2 on primary and standby location,
    on primary,
    log_archive_dest_1 would be local directory or would be ASM...
    log_archive_dest_2 would be standby database service name and archive will generated on standby location location...
    Correct ans:-
    "If your version of Oracle is 11 then STANDBY_ARCHIVE_DEST parameter is deprecated.
    set LOG_ARCHIVE_DEST_1  to '/oradata3/iclgstdb/archivelog on the standby"
    Regards,
    GRB

  • How to figure out ORA_12203:TNS unable to connect to destination?

    OS: WSK
    I have installed oracle817 and form6i in different directory in a machine
    and defined two oracle home for them. I can access sqlplus through
    OEM of oracle817, but I can not do the same thing through form6i,
    the error showed me: ORA_12203:TNS unable to connect to destination.
    But after installation, I have copied tnsname.ora of oracle817(oracle_home/network/admin) to tnsname.ora of form6i
    (oracle_home_net80/admin). The same error slao showed me when I open
    From Builder, droped the menu FILE --> Connect: system/manager/oradb,
    TNS unable to connect to destination.
    How to figure out this promble? I think maybe listener configuration
    have some promble, but I am not sure how to do that?
    COuld some give me some ideas? Thanks

    Hi shay,
    I have not fixed my problem. I defined two homes respectively:
    Oracle817: Home_name: oraHome81
    Path: D:\oracle
    Form6i: home_name: orahome6i
    path: d:\Form6i
    But I'm wondering when I opened the ORACLE folder under
    HKEY_LOCAL_MACHINE, All_Homes just show one home name:
    oraHome81 or orahome6i, deponding on which I imported later.
    So I like to ask do I need make the export/import
    registery of ORACLE floder under HKEY_LOCAL_MACHINE
    when you install oralce and form6i together?
    By the way, let me attached the TNSNAMES.ora file which
    configured by Oracle during installation:
    # TNSNAMES.ORA Network Configuration File: D:\oracle817\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORADB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = name3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORADB)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = name3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = ORADB)
    (PRESENTATION = http://admin)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)

  • Oracle8 Error Message ora-12203 TNS unable to connect to destination

    I am receiving error message 12203 TNS unable to connect to
    destination when trying to connect to the database. Also notice
    Oracle TNSListener80 isn't starting properly. I start the
    service and close services and open up again and the service is
    not running. Any idea's would be greatly appreciated.

    Please try to start the listener via dosbox:
    lsnrctl80 start
    Maybe you have to set environment variables before that:
    set ORACLE_HOME =
    set ORACLE_SID =
    If the listener start correct then try from client:
    tnsping <alias>
    -> ok ?
    sqlplus name/password@alias
    -> ok ?
    If not ok, please check first if you set the hostname correctly
    in listener.ora and tnsnames.ora.
    Regards,
    Thomas

  • Archived log destination

    Hi,
    In init.ora file,the archive destination is "oracle_home/database/archive" but all archived logs are placed in "oracle_home/rdbms/". why it is stored in that place, please tell me.
    Thanks,
    Venkat P.

    venkat P. wrote:
    Hi,
    In init.ora file,the archive destination is "oracle_home/database/archive" but all archived logs are placed in "oracle_home/rdbms/". why it is stored in that place, please tell me.What's Your db version?
    Is spfile or pfile is in use?
    sqlplus> show parameter spfile;
    If spfile is in use and You looked into init.ora, then of course You could observe difference in archive log destinations.
    Are several archive_log destinations set and are they enebled?
    sqlplus> show parameter log_archive_dest;
    sqlplus> show parameter log_archive_dest_state;

  • Adding new ORACLE_HOME

    Hi guys,
    Im planning to add new ORACLE_HOME on Linux Red Hat server. Now we have 9.2.0.4 home and im planning to add new one with higher version 9.2.0.6. I know that i need to put new ORACLE_HOME variable during installation, but what about oraInventory location? Please just few pointers ....
    Thank you!

    To install 9.2.0.6 home ,you need to install 9.2.0.1 base install with runinstaller in new home and then upgrade the home with 9.2.0.6 patchset.
    You dont need bother about inventory ,it will be properly updaded by run installer.
    or
    From an existing oracle 9.2.0.6 home ,tar the the directory content and
    cd /u01/app/oracle/product/9.2.0.6
    tar -cvf oracle_home.tar .
    then oracle_home.tar transfer to destination server and extract there
    then you need this command from $ORACLE_HOME/bin
    ./runInstaller -silent -attachHome -invPtrLoc ./oraInst.loc
    ORACLE_HOME="<Oracle_Home_Location>" ORACLE_HOME_NAME="<Oracle_Home_Name>"
    REMOTE_NODES="{}" -local

  • ORACLE_HOME/log/diag/clients folder with no ADR. What it is for?

    Hi,
    I'm behind a troubleshooting in a 11.2.0.1 DB, and for it I enabled sqlnet trace level 16 for both server and client (since the issue is related with Nagios connections running on the same server). [So, this is my first time testing with traces]
    I'm also familiarized with ADR structure and adrci commands so I wanted to keep it, but no for sqlnet client traces generated by root user.
    This is my configuration. I move adr/traces to a separate volume, so I wont scary if they growth too much:
    parameter diagnostic_dest=/mnt/tracesvol/ADR/
    $ORACLE_HOME/network/admin/sqlnet.ora
    TRACE_LEVEL_CLIENT=16
    TRACE_LEVEL_SERVER=16
    /root/.sqlnet.ora
    DIAG_ADR_ENABLED = off
    TRACE_LEVEL_CLIENT = 16
    LOG_DIRECTORY_CLIENT = /mnt/tracesvol/client/
    TRACE_DIRECTORY_CLIENT = /mnt/tracesvol/client/
    TRACE_TIMESTAMP_CLIENT = on
    This configuration writes all the server traces in the new ADR repository destination, and sqlnet client traces by root user in /mnt/tracesvol/client/ folder without ADR (cli_*.trc trace files). Trace files were generating on them as expected.
    The problem is that our sysadmin found the folder /root/oradiag_root/diag/clients/user_root/host_486939793_76/ with several trace files. In its subdir ./alert/, the log.xml said that $ORACLE_HOME/log/diag does not exist. So, we created that folder (but I dont know why he was looking for this folder. As I see on Parameters for the sqlnet.ora File he only looks for this folder if ADR is enabled and no $ORACLE_BASE variable is defined [but I've disabled ADR in /root/.sqlnet.ora]).
    After that , we found that the folder $ORACLE_HOME/log/diag/clients/user_root/host_486939793_76/ were generating new trace files, with the format ora_*_*.trc, but they dont content the same traces as /mnt/tracesvol/client/cli_*.trc has
    What is this folder and all these traces, and who generate them?
    Regards

    Hi,
    I think you answered most of your own questions.
    I found your post because I was looking at een exploding /var/tmp/oradiag_<client>/diag/clients.
    It appears that if the unix user who connects via the oracle client does not have a $ORACLE_BASE variable defined, the oracle client write to the $ORACLE_HOME/log/diag/clients.
    But if the $ORACLE_HOME/log/diag does not exist, it uses /var/tmp to put trace and alert logs in.
    regards

  • How to Schedule and then mail to Destination

    pls tell me the procedure or code or steps to schedule and when report executed sucessfully then mail to destination
    i am using 10g application Server
    thanks
    Jai

    For the mail element to work properly, the Reports Server must know which outgoing SMTP mail server to send mail to. You specify this information in the Reports Server configuration file (server_name.conf located in ORACLE_HOME\reports\conf). This file has a pluginParam element where you can enter the name of a mail server. For example:
    <pluginParam name=mailServer>smtp01.mycorp.com</pluginParam>
    Refer the link below for details about Configuring Reports Server
    [http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_conf.htm#g1041448|http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048/pbr_conf.htm#g1041448]

  • Looking up JMS destinations

    How do you create/edit/look up the password for executing
    this command in the application server:
    $ORACLE_HOME/j2ee/home#
    java com.evermind.server.jms.JMSUtils -username admin
    -password ??? destinations
    I have tried every possible password but i still get :
    javax.jms.JMSException:Unable to create a connection to HOSTNAME as user "admin".
    Can anyone please tell me what do i need to enter the value for password or how to create a new one. I have tried ias_admin password value. i have also tried resetting the password (java -jar oc4j.jar install). But any of the above values do not work. I need the value for the password for using it in my JMS applications.
    Thanks

    I see the same problem when I try to send a message to a Queue on Oracle AS 10G Java Edition (9.0.4).
    I lookup the queue using JNDI with the following properties
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "jazn.com/admin");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    env.put(Context.PROVIDER_URL, "opmn:ormi://172.16.3.250:6003:home");
    Using the above jndi properties I am able to lookup the QueueConnectionFactory and the Queue but when I try to invoke
    queue.createConnection() ;
    I get the error that says that
    javax.jms.JMSException:Unable to create a connection to HOSTNAME as user "null".
    So I tried
    queue.createConnection("jazn.com/admin","welcome");
    and then I get the following error
    javax.jms.JMSException:Unable to create a connection to HOSTNAME as user "jazn.com/admin".
    Has anyone sent a message to a queue running on the Oracle AS 10G (not oc4j standalone) from a remote client ???

Maybe you are looking for

  • Depreciation not calculated and posted

    Dear All I have a problem. Actually we had a legacy data transfer last year in the month of March. All the  assets were posted to new company code  fronm the old company code by using an initial clearing account. the entries were done through f-02. M

  • Free goods vs financial realated issues -?

    Hi experts Please some one can help me to understand free goods related financial issues. Ex: If  I am giving for  materil 1 quantity 10 ---> materil 1(Inclussive) quatity 2 free. so how the financial accounts will be adjusted for the material 1(in m

  • Error in RSCRM_BAPI

    I am using RSCR_BAPI to get the query data in flat file. When I restrict the query with fiscal year/period it is giving zero bytes file. Any suggestions would be highly appreciated.

  • Jdeveloper 11g - JAX-RPC 1.1 method is not supported in WLS 8.1 clients.

    Hi, I am using Jdeveloper 11g and migrating a web Service Proxy created using jdeveloper 10g. I imported all the proxy classes and when I try to run web service client In Jdeveloper 11g I get the following error "JAX-RPC 1.1 method is not supported i

  • TS3048 mouse buttons do not work

    I had this same problem on my MacBookAir  and now I have it on the iMac.  The left and right click functions of the mouse stop working in Yosemete.    Has anyone else experienced this and how did you correct it? Thanks,