Oracle 11R2 ORACLE_BASE

If I want to know the ORACLE_BASE to define the variable on the right, where I can find exactly?

I know that the ORACLE_HOME.

Thank you

If your oracle home is "/ u01/app/oracle/product/11.2.0/dbhome_1".

then your Oracle base would be

' / u01/app/oracle '.

Tags: Database

Similar Questions

  • Upgrade of Oracle 11r2

    Can someone tell me please to an auto-lien (s) for the migration to 11r2? My current database is 11.1.0.7 so will 11r2 just a binary file to the replacement file or is it more involved?

    Thank you all,

    type http://otn.oracle.com/documentation and a bit of clickin gave rise to

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e10819/TOC.htm

    Strange isn't it that!

    A it is an upgrade of version, the database must be updated, using the upgrade of startup.

    ---------
    Sybrand Bakker
    Senior Oracle DBA

    Published by: sybrand_b on 15 / mrt / 2010 05:50

  • Password Oracle 11r2 with non-alphanumeric characters

    Spec: Windows 2008, Oracle 11 g 2

    Problem: create userme identified by myp * ssword!
    I'm trying to create a user name with a password with some of the non-alphanumeric characters, but get the error:
    ERROR at line 1:
    ORA-00922: missing or not valid option
    the error is non-alphanumeric characters (* AND!)

    Any idea and soluton would be appreciated.

    The * character is not allowed, check http://docs.oracle.com/cd/B28359_01/server.111/b28337/tdpsg_user_accounts.htm#BEICECGF "Requirements to create passwords" for more details.

    Published by: 197652048902 on June 7, 2012 20:44

    Published by: 197652048902 on June 7, 2012 20:46

  • Oracle $11g ORACLE_BASE/cfgtoollogs

    Hello guys,.
    I installed a 11 GR 1 fresh matter (6 Group of hotfixes) database and configured the ADR to another location that $ORACLE_BASE.

    Now, it seems that tools like the emca, dbca, etc. are written in $ORACLE_BASE/cfgtoollogs. This is also described in metalinknote #188134.1.

    The path of ADR is configured by the diagnostic_dest setting for the database... and the listener is replaced by < EARPHONE > ADR_BASE_.

    Now my question: How can I configure the path to the config tools? I found nothing in the documentation or anywhere else.

    Concerning
    Stefan

    ADR records 'current affairs' of the database, its location may vary. Configuration tools continue to write on a location fix in $ORACLE_BASE, which cannot be changed.

    Werner

  • 11r2 SLOW SQL on ORACLE fast on 9i

    Hello guru´s

    We have a sql that runs to more information, then 3 minutes on data bases with oracle11r2 but the same sql finish in 1 second on oracle 9i databases
    databases oracle 11r2 normally are upgraded to 9i, I tested it on databases created on 11r2 already and the results are the same more then 3 or 4 minutes on 11r2.

    tested around two or three different servers with oracle 9i and always the result is the same 1 or 2 seconds to respond.

    all databases running on HP - UX servers some itanium some users but makes no difference on the results, doubled PGA already to test and also makes no difference.

    SQL is below:

    Select * from (select null TABLE_CATALOG, decode (owner, 'PUBLIC', null, owner) TABLE_SCHEMA, TABLE_NAME, of object_name decode (owner, "SYS", decode (object_type, 'TABLE', 'SYSTEM TABLE', 'VIEW', 'SYSTEM VIEW', object_type) 'SYSTEM', decode (object_type, 'TABLE', 'SYSTEM TABLE', 'VIEW', 'SYSTEM VIEW', object_type) 'DMSYS', decode (object_type, 'TABLE', 'SYSTEM TABLE', 'VIEW', 'SYSTEM VIEW', object_type) 'ORDSYS', decode (object_type, 'TABLE', 'SYSTEM TABLE' 'VIEW')) (, "VIEW SYSTEM", object_type), 'EXFSYS', decode (object_type 'TABLE', 'SYSTEM TABLE', 'VIEW', 'SYSTEM VIEW', object_type), 'WMSYS', decode (object_type 'TABLE', 'SYSTEM TABLE', 'VIEW', 'SYSTEM VIEW', object_type), "MDSYS", decode (object_type, 'TABLE', 'SYSTEM TABLE', 'VIEW', 'SYSTEM VIEW', object_type) 'CTXSYS', decode (object_type, 'TABLE', 'SYSTEM TABLE', 'VIEW', 'SYSTEM VIEW', object_type) 'OLAPSYS', decode (object_type, 'TABLE', 'SYSTEM TABLE', 'VIEW' "SYSTEM VIEW" ((, object_type), 'WKSYS', decode (object_type 'TABLE', 'SYSTEM TABLE', 'VIEW', 'SYSTEM VIEW', object_type), object_type) TABLE_TYPE, null TABLE_GUID, DESCRIPTION null, null TABLE_PROPID, DATE_CREATED created, last_ddl_time DATE_MODIFIED of object where object_type in ('TABLE', 'VIEW') union select null table_catalog, decode (o2.owner,'PUBLIC ", NULL, o2.owner) table_schema, table_name table_type o2.object_type o2.object_name (, null table_guid, description, null table_propid, DATE_CREATED o2.created, o2.last_ddl_time DATE_MODIFIED of object o2, o3 object, s all_synonyms where o2.object_type = 'SYNONYM' and (o3.object_type = 'TABLE' or o3.object_type = 'VIEW') and o2.owner = s.owner and o2.object_name = s.synonym_name and s.table_owner = o3.owner and s.table_name = o3.object_name) order by 4 desc, 3 CSA DBSCHEMA_TABLES , CSA 2
    Hello , thanks to reply
    using the optimizer settings to 9 as you suggest on oracle11 database i got really good reply 3s instead of 1min or more.
    
    what could be done now ??
    
    thanks a lot
    

    OK now that you have a temporary job near you should start investigating the problem.

    I suggest you for this

    11gR2> alter session set statistics_level=ALL;
    11gR2> execute your query (with the optimizer feature set to 9i)
    11gR2> select * from table (dbms_xplan.display_cursor(null,null,'ALLSTATS LAST'));
    

    This will give you the proper execution plan

    Then do the same thing but with a value of 11 GR 2 optimizer device

    11gR2> alter session set statistics_level=ALL;
    11gR2> execute your query (using the optimizer feature of the new database 11gR2)
    11gR2> select * from table (dbms_xplan.display_cursor(null,null,'ALLSTATS LAST'));
    

    This will give you the bad execution plan.

    Post here the two plans comparison and suggestions

    Hope this helps

    Mohamed Houri
    www.hourim.WordPress.com

  • 11R2 Oracle in HP - UX cluster environment

    Hello
    I have to install Oracle 11R2 in a cluster of HP - UX environment.

    Environment:
    HP cluster
    HPUX 2 nodes with local ORACLE HOME (binary in the file system local app/oracle...on)
    2 shared storage with DB data files
    2 DB 11.2.0.2

    HP cluster is not yet installed.
    I installed the Oracle engine on every node following "Setup Guide" fast Oracle Database 11 g 2 for HP - UX.
    Then, I created data bases only on node 1 node 2 has not yet configured storage.

    Is this correct? I have a special procedure to install Oracle Clustered hp?

    Thanks in advance

    Concerning
    Alessandro

    Published by: Alessandro Zenoni on 9.19 4 - there is a 2011

    Hi Alessandro,.

    First of all, I guess you want to create the environment of high availability and have Oracle running in active/passive mode data.

    There are a few assumptions, you should take care of that:
    0. do you have a binary Oracle installed on both servers.
    1. do you have a virtual IP address that will serve as the database and LISTENER configured to run on it.
    2. have you shared storage, few options here: filesystem for Cluster (CFS), shared LVM or ASM.
    3. do you have an HP ServiceGuard 11.19 installed on both servers.
    4. build a ServiceGuard cluster between the two servers.
    5 create a package and configure it to run the Oracle database, it's database, the name of the listener, oracle asm home home and so on.
    6. something that must be done manually: copy pwd {SID} .ora, create .ora init {SID} file to point to the SPFILE, create directories of dump. The same applies if used ASM.

    Basically, these are the steps major and mandatory to have a package of SG running with Oracle Database 11 g.

    BTW. Was thought to describe the procedure and display it on the web, I was not sure if there will be a hearing. Now I see that it would be a good idea.

    Kind regards
    EVS

  • COMMAND NOT FOUND - ORACLE GRID

    Hi all

    While typing in the mentioned order, I received the command not found below. I wonder what could be the reason. I installed ORACLE GRID on my test server. Also, feel free to check the output of bash_profile for grid below: -.

    [grid@storage Desktop] $ sqlplus / as sysdba

    bash: sqlplus: command not found

    asmca $ [grid@storage Desktop]

    bash: asmca: command not found

    [grid@storage Desktop] $ lsnrctl status

    bash: lsnrctl: command not found

    [grid@storage Desktop] $

    [grid@storage Desktop] $ vi ~/.bash_profile

    # .bash_profile

    # Get the aliases and functions

    If [~/.bashrc - f]; then

    . ~/.bashrc

    FI

    # Specific programs startup and user environment

    $PATH = path: $HOME/bin

    export PATH

    ORACLE_SID = + ASM; export ORACLE_SID

    JAVA_HOME = / usr/local/java. Export JAVA_HOME

    ORACLE_BASE = / u01/app/grid; export ORACLE_BASE

    ORACLE_HOME=/U01/app/11.2.0/grid; Export ORACLE_HOME

    ORACLE_TERM = xterm; export ORACLE_TERM

    NLS_DATE_FORMAT = 'HH24:MI:SS OF MON-DD-YYYY "; Export NLS_DATE_FORMAT

    TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN

    ORA_NLS11 = $ORACLE_HOME/nls/data; export ORA_NLS11

    Path=.:${JAVA_HOME}/bin:${path}:$Home/bin:$ORACLE_HOME/bin

    PATH = ${PATH}: / usr/bin: / bin: / usr/bin / X 11: / usr/local/bin

    PATH = ${PATH}: / u01/app/common/oracle/bin

    export PATH

    LD_LIBRARY_PATH = $ORACLE_HOME/lib

    LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}: $ORACLE_HOME/oracm/lib

    LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}: / lib: / usr/lib: / usr/local/lib

    export LD_LIBRARY_PATH

    CLASSPATH = $ORACLE_HOME/JRE

    CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/jlib

    CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/rdbms/jlib

    CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/network/jlib

    Export CLASSPATH

    THREADS_FLAG = native; export THREADS_FLAG

    Export = TEMP/tmp

    export TMPDIR = / tmp

    umask 022

    You should also check the USER ORACLE .bash_profile OUTPUT as well. The following is an OUTPUT

    [oracle@storage ~] $ vi ~/.bash_profile

    # .bash_profile

    # Get the aliases and functions

    If [~/.bashrc - f]; then

    . ~/.bashrc

    FI

    # Specific programs startup and user environment

    $PATH = path: $HOME/bin

    export PATH

    ORACLE_SID = orcl; export ORACLE_SID

    ORACLE_UNQNAME = orcl; export ORACLE_UNQNAME

    JAVA_HOME = / usr/local/java. Export JAVA_HOME

    ORACLE_BASE = / u01/app/oracle; export ORACLE_BASE

    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/Db_1; Export ORACLE_HOME

    ORACLE_TERM = xterm; export ORACLE_TERM

    NLS_DATE_FORMAT = 'HH24:MI:SS OF MON-DD-YYYY "; Export NLS_DATE_FORMAT

    TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN

    ORA_NLS11 = $ORACLE_HOME/nls/data; export ORA_NLS11

    Path=.:${JAVA_HOME}/bin:${path}:$Home/bin:$ORACLE_HOME/bin

    PATH = ${PATH}: / usr/bin: / bin: / usr/bin / X 11: / usr/local/bin

    PATH = ${PATH}: / u01/app/common/oracle/bin

    export PATH

    LD_LIBRARY_PATH = $ORACLE_HOME/lib

    LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}: $ORACLE_HOME/oracm/lib

    LD_LIBRARY_PATH = ${LD_LIBRARY_PATH}: / lib: / usr/lib: / usr/local/lib

    export LD_LIBRARY_PATH

    CLASSPATH = $ORACLE_HOME/JRE

    CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/jlib

    CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/rdbms/jlib

    CLASSPATH = ${CLASSPATH}: $ORACLE_HOME/network/jlib

    Export CLASSPATH

    THREADS_FLAG = native; export THREADS_FLAG

    Export = TEMP/tmp

    export TMPDIR = / tmp

    umask 022

    PROBLEM has BEEN SOLVED NOW by tuning in ORACLE ENTERPRISE LINUX 6.5 (making the new facility). I want to especially thank you Aman.... for his great support and advice. Also be sure to check the blog that I have prepared during installation.

    Blog URL: Setup Guide of grid complete Oracle 11 g on Oracle Enterprise Linux 6.5

    In order to perform the complete Oracle with the Installation of the grid. Follow the mentioned below of the measures accordingly.

    1 install Oracle Enterprise Linux 6.5 (if you have already installed OS then follow step 2)

    2 oracle 11 g with Installation of the rack on Oracle Enterprise Linux 6.5 (part of the Configuration)

    3 prepare the disk to ASM DISK using ASMLib
    4. infrastructure installation oracle Grid (DATA of GROUP of DISKS ASM creation)

    5. using creation of GROUP of DISKS ASM FRA ASMCA (ASM Configuration Wizard)

    6. Install ORACLE DATABASE SOFTWARE only

    7. Configure the LISTENER

    8. create the DATABASE

    9 Start ENTERPRISE MANAGER CONTROL

  • Help connecting to the DB-Pluggable in Oracle 12 c

    Hello

    Let me start by providing the details and what I've done so far and what I'm trying to do.

    I have an office of Suse Linux 13.1

    I managed to install the server Oracle 12 c on the machine. (During installation I chose the option to install as a db container)

    I put my .bashrc file to set the variables to oracle at the start.

    ORACLE_HOSTNAME=shona.teamshona.dom; export ORACLE_HOSTNAME
    ORACLE_BASE=/home/oracle/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1; export ORACLE_HOME
    ORACLE_SID=orcl; export ORACLE_SID
    

    I understand that with oracle 12 c, we have the container DB (CBD) and DB-ins (PDB)

    I modified my file tnsnames.ora as below-

    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = shona.teamshona.dom)(PORT = 1521))
    
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = shona.teamshona.dom)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.teamshona.dom)
        )
      )
    PDBORCL =
    
    
      (DESCRIPTION =
    
    
        (ADDRESS = (PROTOCOL = TCP)(HOST = shona.teamshona.dom)(PORT = 1521))
    
    
        (CONNECT_DATA =
    
    
          (SERVER = DEDICATED)
    
    
          (SERVICE_NAME = pdborcl.teamshona.dom)
    )
    )
    

    I have my listener.ora as file

    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = shona.teamshona.dom)(PORT = 1521))
        )
      )
    
    
    #pdborcl.teamshona.dom
    
    
    SID_LIST_LISTENER=
      (SID_LIST=
        (SID_DESC=
          (GLOBAL_DBNAME=orcl.teamshona.dom)
          (SID_NAME=orcl))
        (SID_DESC=
           (GLOBAL_DBNAME=pdborcl.teamshona.dom)
           (SID_NAME=pdborcl))
    
    
        )
    

    My listener status-

    lsnrctl status
    
    
    LSNRCTL for Linux: Version 12.1.0.1.0 - Production on 06-FEB-2014 21:26:29
    
    
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 12.1.0.1.0 - Production
    Start Date                06-FEB-2014 21:25:31
    Uptime                    0 days 0 hr. 0 min. 58 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /home/oracle/app/oracle/diag/tnslsnr/linux-gan9/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linux-gan9.nycap.rr.com)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=linux-gan9.nycap.rr.com)(PORT=5500))(Security=(my_wallet_directory=/home/oracle/app/oracle/admin/orcl/xdb_wallet))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "orcl.teamshona.dom" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.teamshona.dom" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "pdborcl.teamshona.dom" has 2 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Instance "pdborcl", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    

    I can connect to sqlplus in sys and gave the following orders:

    Connect to sqlplus -> sys as sysdba
    > startup
    ORACLE instance started.
    
    Total System Global Area 2505338880 bytes
    Fixed Size                  2291472 bytes
    Variable Size             671090928 bytes
    Database Buffers         1811939328 bytes
    Redo Buffers               20017152 bytes
    Database mounted.
    Database opened.
    
    SQL> alter pluggable database all open;
    Pluggable database altered.
    
    SQL> SELECT NAME, OPEN_MODE, RESTRICTED, OPEN_TIME FROM V$PDBS;
    
    NAME                           OPEN_MODE  RES  OPEN_TIME                                                                                                                                                                          
    
    PDB$SEED                       READ ONLY  NO   06-FEB-14 08.33.36.043 PM
    PDBORCL                        READ WRITE NO   06-FEB-14 08.38.27.992 PM
    
    SQL> ALTER SESSION SET container = pdborcl;
    
    Session altered.
    
    SQL>alter user hr identified by *** account unlock; 
    -user altered-
    
    
    Now I exit out and try 
    $ sqlplus 
    Enter user-name: hr@pdborcl
    Enter password: 
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    
    Enter user-name: [email protected]
    Enter password: 
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    

    I read a lot about the connection to PDB

    Many articles on how oracle 12 c uses the name of the service and no SID to connect to PDB etc etc.

    But ultimately I cannot connect to my PDB by using my user hr.

    Appreciate the help in advance and looking forward to a solution.

    Will provide additional details as requested

    Hello

    You should have an entry in your home/oracle/app/oracle/product/12.1.0/dbhome_1/network/admin/tnsnames.ora file with the following:

    pdborcl =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = linux - gan9.nycap.rr.com)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = pdborcl.teamshona.dom)

    )

    )

    That sqlplus hr@pdborcl should work.

    Kind regards

    Gerwin

  • Installing multiple oracle.

    Hello Experts,

    I installed oracle 10.2 on oel5.8. Now, I want to install oracle 10.2 on the same system using different oracle home. My request is that I should change.

    as

    1. in .bash_profile file input current is

    ============================================================

    # Oracle settings

    TMP = / tmp; Export TMP

    TMPDIR = $TMP; export TMPDIR

    ORACLE_BASE = / u01/app/oracle; export ORACLE_BASE

    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/Db_1; Export ORACLE_HOME

    ORACLE_SID = TSH1; export ORACLE_SID

    ORACLE_TERM = xterm; export ORACLE_TERM

    PATH = / usr/sbin: $PATH; export PATH

    PATH = $ORACLE_HOME/bin: $PATH; export PATH

    LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib. export LD_LIBRARY_PATH

    CLASSPATH = $ORACLE_HOME/JRE: $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH

    If [$USER = 'oracle']; then

    If [$SHELL = "/ bin/ksh"]; then

    Pei 16384 ulimit

    ulimit-n 65536

    on the other

    ulimit-u 16384-n 65536

    FI

    FI

    ===============================================================

    2. what will be the status of the oracle inventory after the installation.

    3. How can I make sure that these tow are not conflict.

    Help, please.

    Do not change the bash profile entry. Just install the oracle home. The caution that you need to do is that both the software must have different oracle home (if you use the same directory for both the software). Connect to oracle home you will need to export ORACLE_HOME, PATH and ORACLE_SID.

  • Parameters of the env for user oracle, during the installation of Oracle on linux

    Hello Oracle Experts;

    Basicallly my major is electrical and electronic

    I am very new to ORACLE/LINUX [LEARNING ORACLE DBA] technology.
    I have THREE questions... Please, help me understand oracle concepts.

    QUESTION 1:
    I get confused about 'parameter bash_profile' and it is contained
    I Googled, he said to set variables for user oracle env. Ok.
    Can someone explain clearly what is happening exactly when "setting bash_profile?


    MY SETTINGS BASH_PROFILE
    My bash_profile that contained the following:

    + # Oracle parameters +.
    TMP = / tmp; Export TMP
    TMPDIR = $TMP; export TMPDIR

    ORACLE_BASE = / u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/Db_1; Export ORACLE_HOME
    ORACLE_SID = TSH1; export ORACLE_SID
    ORACLE_TERM = xterm; export ORACLE_TERM
    PATH = / usr/sbin: $PATH; export PATH
    PATH = $ORACLE_HOME/bin: $PATH; export PATH

    LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib. export LD_LIBRARY_PATH
    CLASSPATH = $ORACLE_HOME/JRE: $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH
    + #LD_ASSUME_KERNEL = 2.4.1; export LD_ASSUME_KERNEL +.

    + If [$USER = 'oracle']; then +.
    + If [$SHELL = "/ bin/ksh"]; then +.
    Pei 16384 ulimit
    ulimit-n 65536
    on the other
    ulimit-u 16384-n 65536
    FI
    FI

    QUESTION 2:

    Please note: this url says a lot of env variables

    http://www.idevelopment.info/data/Oracle/DBA_tips/UNIX/UNIX_4.shtml

    2. in my case, why following env variables * [LD_ LIBRARY_PATH, CLASS_PATH, PATH] * are missing?

    My pc showing that four env variable $ env |  grep EI EI TNS ORA

    ORACLE_SID = TSH1
    ORACLE_BASE = / u01/app/oracle
    ORACLE_TERM = xterm
    ORACLE_HOME=/U01/app/Oracle/product/10.2.0/Db_1

    QUESTION 3:

    * [LD_ LIBRARY_PATH, CLASS_PATH, PATH] *.

    * Are they [above mentioned variable env] needed (or) not necessary for oracle DB? *
    To enumerate env variables, why they are not displayed? (something wrong)?


    As a beginner, I expect some technical information to improve my knowledge...
    Thanks in advance;

    969352 wrote:
    should NOT serve as a substitute for Oracle installation manual.

    Specifically can provide you good document or links for 10g and 11g?

    Wire suggest me to follow the docs of oracle installation... Thank you

    =================================================
    Learn how to look for things in the documentation is good time invest in your career. To this end, you should drop everything you're doing and do the following:

    Go to [url tahiti.oracle.com] tahiti.oracle.com.

    Explore your product and version.

    TO BOOKMARK THIS SITE

    Spend a few minutes to familiarize yourself with what is available here. Take note special tabs "books" and "search". Under the tab 'books' (for 10.x) or the "Master books list" link (for 11.x), you will find the complete documentation library.

    Spend a few minutes just know what kind of documentation is available by simply browsing the titles under the "Books" tab

    Open the reference manual and spend a few minutes looking through the table of contents to familiarize yourself with what kind of information is available here.

    Do the same with the SQL reference manual.

    Do the same with the utilities manual.

    Do not read the above in depth. These are reference manuals. Knowing that just getting here is to be referenced. Ninety percent of the questions on this forum can be answered in less than 5 minutes just looking for one of the books above.

    Then, set a plan to dig deeper.
    - Read a chapter a day from the Concepts manual.
    -Take a look in your alert log. One of the first things listed at startup is the parms of initialized with default values. Find out about each of them (shown in your alerts log) in the reference manual.
    -Take a look at your sqlnet.ora, listener.ora and tnsnames.ora files. Go to the manual of network administrators and ask about what you see in these files.
    - When you have finished reading the guide to Concepts, do it again.

    Give a man a fish and he eats for a day. Teach him to fish and he eats for a lifetime.

    =================================

  • Error when trying to backup oracle rac to another location

    Hello

    I'm trying to backup of database to another location to a 11 GR Oracle RAC database version 2. Here is my script:

    #! / bin/ksh
    export ORACLE_SID = vvsms1
    ORACLE_BASE = / u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; Export ORACLE_HOME
    BASE_PATH = / usr/sbin: $PATH; export BASE_PATH
    PATH = $ORACLE_HOME/bin: $BASE_PATH; export PATH
    /U01/app/Oracle/product/11.2.0/dbhome_1/bin/RMAN target sys/viviet@vvsms journal /home/oracle/log_rman/vvsms.log append < < EOF
    RUN {}
    CROSS-CHECKING OF BACKUP;
    OVERLAP ARCHIVELOG ALL;
    FORMAT of DISC TYPE ALLOCATE CHANNEL channel 1 ' / home/oracle/backup/vvsms/backup_%U';
    TAG 'incr_vvsms' DATABASE INCREMENTAL LEVEL 0 BACKUP;
    ARCHIVELOG BACKUP ALL.
    REMOVE OBSOLETE;
    CHANNEL1 CHANNEL OUTPUT;
    }
    EXIT;
    EXPRESSIONS OF FOLKLORE

    I write it to a file .sh and set crontab to run it. But when he does I get error like this:

    From 22 October 12 backup
    channels channel 1: start the incremental level 0 datafile backup set
    channels channel 1: specification of the datafile (s) in the backup set
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/sysaux.289.794242439 00002
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/ts_service.dbf 00006
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/ts_viviet.dbf 00007
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/viviet.dbf 00008
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/ts_vivietct_primary.dbf 00009
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/undotbs1.290.794242445 00003
    Enter a number of file datafile = 00001 name=+DISK2/vvsms/datafile/system.288.794242429
    Enter a number of file datafile = name=+DISK2/vvsms/datafile/undotbs2.292.794242453 00004
    Enter a number of file datafile = 00005 name=+DISK2/vvsms/datafile/users.293.794242455
    channels channel 1: from room 1 to October 22, 12
    output channel: channel 1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on the channel 1 channel at 22/10/2012 01:50:16
    ORA-19504: cannot create the file ' / home/oracle/backup/vvsms/backup_2anobqu5_1_1.
    ORA-27040: create file error, cannot create the file
    Linux-x86_64 error: 2: no such file or directory

    I don't know what I am wrong? The location is OK ("/ home/oracle/backup/vvsms /").

    Please suggest me some things about it. What should I do?

    Thanks in advance!

    P/s: sorry for my bad English.
    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms  log /home/oracle/log_rman/vvsms.log append
    

    This line may be your problem.
    As this database is a RAC and you are using a service with NLB 'vvsms' and ' / home/oracle/backup/vvsms ' is not a shared location. RMAN is starting a session on the other node where ' / home/oracle/backup/vvsms ' does not exist.

    Try changing:

    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms  log /home/oracle/log_rman/vvsms.log append
    

    This (using the easy connection method):

    /u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@localhost:1521/VVSMS  log /home/oracle/log_rman/vvsms.log append
    

    Where:
    localhost: your local node
    VVSMS: is at the service of database

    Also check if ' / u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora ' set up the line "NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT).

    PS: When RMAN start a session it shows where is recorded, control over the newspapers which RMAN instance has been registered.

    HTH,
    Levi Pereira

  • Is possible to clone oracle applications without service interruption data?

    I was looking for a way to clone an EBS production to a pre-production machine, but all that copying is very time consuming.
    Is it possible to copy only the data from the database? Already, 2 machines have the application installed and equal layer.

    Reise wrote:
    Hello

    HP - UX 11
    Oracle 11R2
    EBS 12.1

    All documents that you sponsor speak of cloning the database and applications and not say (as long as I can tell) you can only do the database part and not the application.
    After you have copied the files of data in hot backup mode, I need to run this two-step independent copy only the database or not?
    Perl adcfgclone.pl dbTechStack
    Perl adcfgclone.pl appsTier

    It is in (cloning Oracle Applications V12 with rapid Clone [406982.1 ID]), under the section "Option 6: cloning the database separately.

    Thank you
    Hussein

  • ORA-28500 and ORA-02063 connecting MySQL to Oracle.

    Dear all,

    My database is Oracle 11 GR 2 Rac 2 knots and on 64-bit Linux operating system.
    Version of my MySQL database is 5.5.17 it's the Linux 32-bit operating system.

    I am trying to connect to MySQL database to Oracle database using a database link.

    Here is the step by step process that I followed to reach my goal. All my processes are on an Oracle RAC node.

    1)
    Yum install mysql-connector-odbc
    Yum install unixODBC

    2)
    Edit the file /etc/odbc.ini
    [test]
    Driver = /usr/lib64/libmyodbc3.so
    Description = MySQL ODBC 3.51 Driver DSN
    SERVER = 10.0.0.1
    PORT = 3306
    USER = test
    Password = test
    Database = test
    OPTION = 3
    SOCKET =

    3)
    Edit the /etc/odbcinst.ini file
    [MySQL]
    Description = ODBC for MySQL
    Driver = /usr/lib64/libmyodbc3.so
    Setup = /usr/lib64/libodbcmyS.so
    FileUsage = 1

    (4) test connection
    isql - v test test test
    Returns:
    ---------------------------------------
    | Connected!
    | |
    | SQL query |
    | help [tablename] |
    | quit smoking |
    | |
    ---------------------------------------
    SQL >

    (5) now, I change the listener.ora file and add the entry. After the entry of my file listener.ora is like this:

    LISTENER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = CIP)(KEY = LISTENER))
    (ADDRESS = (PROTOCOL = TCP)(HOST=testnode1) (PORT = 1521))
    )
    )

    # line added by Agent
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = LISTENER_SCAN1))
    )
    )

    # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1 = ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON # line added by Agent

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (PROGRAM = dg4odbc)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = test)
    (ENVS = LD_LIBRARY_PATH = usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    )
    )

    (6) after these entries, the listener after REBOOT status is as follows:

    LSNRCTL > status
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start date December 27, 2011 01:19:32
    Uptime 0 days 9 h 31 min 12 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/11.2.0/grid/network/admin/listener.ora file
    The listener log file /U01/app/grid/diag/tnslsnr/racnode1/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=testnode1) (PORT = 1521)))
    Summary of services...
    Service '+ ASM' a 1 instance (s).
    Instance '+ ASM1' READY State, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'test' has 1 instance (s).
    Instance of 'test', status UNKNOWN, has 1 operation for this service...
    Service 'testdb' is 1 instance (s).
    'Testdb1' instance, State LOAN, has 1 operation for this service...
    Service 'racdbXDB' has 1 instance (s).
    'Testdb1' instance, State LOAN, has 1 operation for this service...
    The command completed successfully

    (7) then in the tnsnames.ora file, I added the following entry:

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = EXTPROC1521)
    )
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )


    test =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.1)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = test)
    )
    (HS = OK)
    )

    When I test tnsping, it works.

    (8) I change the file .bash_profile for Oracle
    ORACLE_HOME, ORACLE_BASE were already pointing to the right destination, I added:

    LD_LIBRARY_PATH=/usr/local/lib:/U01/app/Oracle/product/11.1.0/Db_1/lib:/U01/app/Oracle/product/11.2.0/dbhome_1/HS/lib:/usr/lib64:/usr/lib
    export LD_LIBRARY_PATH

    ODBCINI=/etc/ODBC.ini
    Export ODBCINI

    ODBCINSTINI=/etc/ODBC.ini
    export ODBCINSTINI

    ODBCSYSINI = / etc
    export ODBCSYSINI

    (9) then I configured $ORACLE_HOME/hs/admin/inithsodbc.ora
    And modified these lines:
    HS_FDS_CONNECT_INFO = test
    HS_FDS_TRACE_LEVEL = WE
    HS_FDS_TRACE_FILE_NAME = odbc_test.log
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_SUPPORT_STATISCTICS = FALSE
    HS_LANGUAGE = AMERICAN_AMERICA. WE8ISO8859P1
    Set = /etc/odbc.ini ODBCINI

    (10) then I created a link of database with the following command:
    Create a database connection test audience to connect to test identified by test using 'test '.

    Also I tried the username and password in the database link with double quotes.

    (11) now finally when I try to select records from a mysql table:
    Select count (*) from "table"@"test" -I tried with and without double quotes

    I get the following error:

    ERROR on line 1:
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    ORA-02063: preceding the TEST line

    How to pass through this error and how do I check the logs for HS?

    Your help is needed.

    Best regards, Imran

    Published by: misterimran on December 27, 2011 13:21

    Hello
    You had your listener.ora for the DG4ODBC entry-

    (ENVS = LD_LIBRARY_PATH = usr/local/lib:/u01/app/oracle/product/11.2.0/dbhome_1/lib)

    but it should also include the path to the driver manager directory which in your case is/usr/lib64 might then you add this?
    The error:

    Unable to load the ODBC library symbol: usr/lib64/libmyodbc3.so(SQLSetDescRec)

    indicates the lib64 directory are not accessible.

    The entry should look like-

    (SID_DESC =
    (PROGRAM = dg4odbc)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = test)
    (ENVS = LD_LIBRARY_PATH = usr/local/lib:/usr/lib64:/u01/app/oracle/product/11.2.0/dbhome_1/lib)
    )

    Spaces may have bene lost at the time of publication, but at least there should be a space in the file as indicated by the .
    After the change is made and then stop and start the listener.
    If you still have problems, please post again the current versions of the configuration files, the complete errors figure in SQLPLUS to a select statement and the output of a trace debugging with errors.

    According to the information you use the 3.51 MySQL ODBC driver so could you also try with the latest version of the 5.1 driver and see if you have the same problem?

    Kind regards
    Mike

  • Solaris PHP 5.2.12 Oracle Instant Client error

    We test an Oracle Solaris 11 Express Server with the standard installation of Apache and PHP. But we have the Oracle Instant client and module oci8 enabled for applications of our society.

    We did it using the. / pecl install oci8 in usr/php/5.2/bin. We set the LD_LIBRARY_PATH in /etc/apache2/2.2/envvars

    version 32 bit for solaris (x 86) of the Oracle Instant Client 11.2 is installed in/opt/oracle/instantclient_11_2 with the symbolic link.

    envvars:
    LD_LIBRARY_PATH = / opt/oracle/instantclient_11_2
    ORACLE_HOME = / opt/oracle/instantclient_11_2
    ORACLE_BASE = / opt/oracle/instantclient_11_2

    PHP and the oci8 module set the charge.

    phpinfo(); output:

    OCI8
    OCI8 Support enabled
    Version 1.4.6
    Revision $Revision: $313688
    Persistent connections active 0
    Active connections 0
    Oracle Client Run-time Library Version 11.2.0.2.0
    Oracle Instant Client Version 11.2
    A temporary Lob support is enabled

    When we discover everything first a site there is no problem but very random, we get the following error:

    OCIEnvNlsCreate() failed. There is a problem with your system - please check LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries*.

    but when we use echo getenv ("LD_LIBRARY_PATH"); in php, the output is "/ opt/oracle/instantclient_11_2.

    now, the strange, that it's as random as it appears he disappears we can load the web page without a problem and after a few clicks of the error is back. If we wait for a cup of seconds you can reload the page and it loads normally.
    The error seems to be random and we get it over and over again, it comes and goes after a cpl of pages are read. It seems to appear more when there are multiple users browsing the Web site.

    Is there any solution for this? is this a known bug? It seems strange that the instant client works sometimes and fails a second later without a change in the system.
    Hope someone can help us.

    Published by: user10978378 on Sep 3, 2011 04:20

    Action of the host:
    This message has been moved to the Solaris 11 forum the Forum of the OIC for reconciliation of the subject.
    The Solaris forum readers won't have a clue as to the nuances of the OIC.

  • Oracle user does not pick up environment (variables &amp; c.)

    Hi all

    Installed 10 XE on my machine that created an oracle user and dba
    Group as expected.

    When I do

    Su - oracle

    I find myself in the oracle user's home directory

    / usr/lib/Oracle/XE

    with a bash shell. So, I create .bashrc I set ORACLE_HOME, JAVA_HOME and c.

    However, my user is still not picking up his (its?) variables.

    Can someone explain to me how to get the oracle user has an appropriate default value
    environment - TIA.


    Paul...

    Salvation;

    Go to the home directory of the user and change the.profile(aix,solaris) .bash_profile (linux) and reconnection system it should work

    You can turn down enteries

    # Oracle settings
    TMP = / tmp; Export TMP
    TMPDIR = $TMP; export TMPDIR

    ORACLE_BASE = / u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.1.0/Db_1; Export ORACLE_HOME
    ORACLE_SID = TSH1; export ORACLE_SID
    ORACLE_TERM = xterm; export ORACLE_TERM
    PATH = / usr/sbin: $PATH; export PATH
    PATH = $ORACLE_HOME/bin: $PATH; export PATH

    LD_LIBRARY_PATH = $ORACLE_HOME/lib: / lib: / usr/lib. export LD_LIBRARY_PATH
    CLASSPATH = $ORACLE_HOME/JRE: $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH

    Source:
    http://www.Oracle-base.com/articles/10G/OracleDB10gInstallationOnFedora2.php

    Respect of
    HELIOS

Maybe you are looking for

  • judgment of new e-mail drop-down menu

    How to stop these little boxes of new emails coming down on the top right of my macbook air

  • volume iPhone6s problems - need help!

    Sometimes when I use Siri as "Hey Siri" when I'm not able to reach for the phone, or driving, the volume is so low I can hardly hear it. This happens in my car via bluetooth or in my house. My volume controls are all the way up, so it isn't that. It

  • anniversary of the death in the calendar (iOS, OSX)

    Hi, for some reason I would 'stay' people in my contacts/address book, even if they are deceased. I plead for an opportunity to get both shown in my calendar automatically: the birthday AND the date, there are deceased. Is there anyone who could give

  • What version of Vista with product key?

    I know that some brands, has their own product keys that do not work on a regular version of OEM of Vista. Is this also the case of Toshiba? On the bottom of my X 200 - 21r laptop is my product key sticker. So, I want to know if I can use it with any

  • Export image minor grid

    Hello Could someone help me solve the problem that I have encountered in 'Export picture'? I saved a BMP format XY chart using "Export to Image". But the recorded image did not show minor grids. I think that the minor grids would make interpretation