ORACLE_SID: set to?

HI,
The ORACLE_SID env variable:
what is it for?
what should it be set to?
thanks
null

ok, i know what it's for now, thanks anyway. just confused me when i tried to start more than one database (only database with SID matching ORACLE_SID starts).
all your threads have been helpful and interesting. thanks all.

Similar Messages

  • Need to get .ENV and reports.sh set up correctly for 9i/WebUtil

    We have been editing default.env, a app-specific version of default.env called duris.env, and reports. sh, trying to fix the conflict between Forms WebUtil and Reports in 9.0.2.0.1. Now, it's to the point that I can't even run Reports from Forms without core dumping(direct URL calls to Reports work fine) .
    I am pasting the contents of these 3 files into this note, in hopes someone can look at them and tell me why Reports won't even run from Forms any more. Any suggestions are welcome. My email is [email protected].
    Here is the content of our default.env:
    # $Header: default.env@@/main/25 \
    # Checked in on Wed Apr 3 15:45:42 PST 2002 by vobadm \
    # Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
    # $
    # $Id: default.env /main/25 3-apr-2.15:45:42 vobadm $
    # default.env - default Forms environment file, Solaris version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value used will be that defined
    # in the environment in which the servlet engine (OC4J or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=/usr/oracle/product/9iasr2/mtier
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    FORMS90_PATH=/usr/oracle/product/9iasr2/mtier/forms90:/usr/oracle/product/webutil/forms:/usr/oracle/apps/duris/forms/bin:/usr/oracle/apps/tools/forms/bin
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here
    CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
    #@@CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:/usr/oracle/product/webutil/lib/webutil.jar
    #CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar
    # The PATH setting is not required for Forms if the Forms executables are
    # in <ORACLE_HOME>/bin. However, it is required if Graphics applications
    # are called from Forms applications.
    PATH=/usr/oracle/product/9iasr2/mtier/bin
    # Settings for Reports
    # NOTE: This setting is only needed if Reports applications
    # are called from Forms applications
    #@REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
    REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    GRAPHICS60_PATH=
    # Settings for forms9i tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS90_TRACE_PATH=<FORMS_ORACLE_HOME>/forms90/server
    FORMS90_TRACE_PATH=/ford/thishost/u/oracle
    # System settings
    # You should not normally need to modify these settings
    # Path for shared library objects
    # This is highly platform (if not machine) specific ! At install time
    # <percent>LD_LIBRARY_PATH<percent> should be replaced with the
    # actual value of the LD_LIBRARY_PATH environment variable (at install
    # time). That should ensure we have the paths for such necessities as
    # the motif and X11 libraries.
    # Explanations:
    # - Reports needs the path for libjava.so
    # (/cdm/solaris/o_jdk/1_2_2_0_0/jre/lib/sparc)
    # - Forms needs two paths to the jre, for libjvm.so and libhpi.so
    # - In ojdk 1.3.1 the location of libjvm.so is lib/sparc (there is no
    # classic directory) so we do not include the .../classic directory
    # below. There are other versions of libjvm.so (in directories server,
    # client and hotspot) but we will use the version in lib/sparc for now.
    SHLIB_PATH=/usr/oracle/product/9iasr2/mtier/lib32:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC/classic:%SHLIB_PATH%
    # Added for WebUtil
    WEBUTIL_CONFIG=/usr/oracle/product/webutil/server/webutil.cfg
    Here is the content of our app-specific .ENV file, duris.env:
    # $Header: default.env@@/main/25 \
    # Checked in on Wed Apr 3 15:45:42 PST 2002 by vobadm \
    # Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
    # $
    # $Id: default.env /main/25 3-apr-2.15:45:42 vobadm $
    # default.env - default Forms environment file, Solaris version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value used will be that defined
    # in the environment in which the servlet engine (OC4J or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=/usr/oracle/product/9iasr2/mtier
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    FORMS90_PATH=/usr/oracle/product/9iasr2/mtier/forms90:/usr/oracle/product/webutil/forms:/usr/oracle/apps/duris/forms/bin:/usr/oracle/apps/tools/forms/bin
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here
    CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
    #@@CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar:/usr/oracle/product/webutil/lib/webutil.jar
    #CLASSPATH=/opt/java1.3/jre/lib/rt.jar:$ORACLE_HOME/jlib/debugger.jar:$ORACLE_HOME/jlib/utj90.jar:$ORACLE_HOME/jlib/ewt3.jar:$ORACLE_HOME/jlib/share.jar
    # The PATH setting is not required for Forms if the Forms executables are
    # in <ORACLE_HOME>/bin. However, it is required if Graphics applications
    # are called from Forms applications.
    PATH=/usr/oracle/product/9iasr2/mtier/bin
    # Settings for Reports
    # NOTE: This setting is only needed if Reports applications
    # are called from Forms applications
    #@REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:/usr/oracle/product/webutil/lib/webutil.jar
    REPORTS_CLASSPATH=$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/reports/jlib/rwrun.jar
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    GRAPHICS60_PATH=
    # Settings for forms9i tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS90_TRACE_PATH=<FORMS_ORACLE_HOME>/forms90/server
    FORMS90_TRACE_PATH=/ford/thishost/u/oracle
    # System settings
    # You should not normally need to modify these settings
    # Path for shared library objects
    # This is highly platform (if not machine) specific ! At install time
    # <percent>LD_LIBRARY_PATH<percent> should be replaced with the
    # actual value of the LD_LIBRARY_PATH environment variable (at install
    # time). That should ensure we have the paths for such necessities as
    # the motif and X11 libraries.
    # Explanations:
    # - Reports needs the path for libjava.so
    # (/cdm/solaris/o_jdk/1_2_2_0_0/jre/lib/sparc)
    # - Forms needs two paths to the jre, for libjvm.so and libhpi.so
    # - In ojdk 1.3.1 the location of libjvm.so is lib/sparc (there is no
    # classic directory) so we do not include the .../classic directory
    # below. There are other versions of libjvm.so (in directories server,
    # client and hotspot) but we will use the version in lib/sparc for now.
    SHLIB_PATH=/usr/oracle/product/9iasr2/mtier/lib32:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC:/usr/oracle/product/9iasr2/mtier/jdk/jre/lib/PA_RISC/classic:%SHLIB_PATH%
    # Added for WebUtil
    WEBUTIL_CONFIG=/usr/oracle/product/webutil/server/webutil.cfg
    Here is the content of reports.sh:
    #!/bin/sh
    # $Header: reports.sh@@/main/pl_hpux_formsreports_9i/8 \
    # Checked in on Mon Apr 8 19:40:42 PDT 2002 by diglesia \
    # Copyright (c) 2002 by Oracle Corporation. All Rights Reserved. \
    # $
    # Copyright (c) 60, 2002 by Oracle Corporation. All Rights Reserved.
    ## Example file to set environment variables in Bourne-shell or K-shell
    ## for Oracle Reports 9i. Refer to Install Doc for more detail on each
    ## of these environment variables. You need to modify some of the environment
    ## variables before doing source on this file ( % . reports.sh ).
    ##DISPLAY=< your unix machine name:0.0 >; export DISPLAY
    DISPLAY=localhost:5; export DISPLAY
    ## ORACLE_HOME=< oracle home >; export ORACLE_HOME
    ## if you need more than one diretory in your path, all directories should be
    ## separated by ':'
    PATH=$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:${PATH}; export PATH
    ## Platform specific settings
    ## HP-UX settings
    if [ `uname -s` = 'HP-UX' ]
    then
    SHLIB_PATH=$ORACLE_HOME/jdk/jre/lib/PA_RISC:$ORACLE_HOME/jdk/jre/lib/PA_RISC/classic:$ORACLE_HOME/lib32:${SHLIB_PATH}; export SHLIB_PATH
    ## Linux settings
    elif [ `uname -s` = 'Linux' ]
    then
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    ## Compaq Tru64 settings (OSF1)
    elif [ `uname -s` = 'OSF1' ]
    then
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/alpha:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    ## Default settings
    else
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/sparc:$ORACLE_HOME/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    ## end platform specific settings
    fi
    ## You need to set TNS_ADMIN and TWO_TASK or ORACLE_SID to connect to database
    ## Some default values have been set below
    TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
    ## TWO_TASK=< two task name >; export TWO_TASK
    ## ORACLE_SID=< ORACLE SID >; export ORACLE_SID
    ## setting for Reports Runtime
    RW=$ORACLE_HOME/reports; export RW
    #REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers; export REPORTS_PATH
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
    ##This section added by configurefont.sh
    PRINTER=fontprinter;export PRINTER
    TK_PRINT_STATUS=echo;export TK_PRINT_STATUS
    REPORTS_PATH=$REPORTS_PATH:$ORACLE_HOME/guicommon9/tk90/admin/TTF;export REPORTS_PATH
    #REPORTS60_PATH=$REPORTS60_PATH:$ORACLE_HOME/guicommon6/tk60/admin/TTF;export REPORTS60_PATH
    TK90_UNKNOWN=$ORACLE_HOME/guicommon9/tk90/admin; export TK90_UNKNOWN
    TK90_PPD=$ORACLE_HOME/guicommon9/tk90/admin/PPD; export TK90_PPD
    TK90_AFM=/opt/rational/base/cots/acrobat.4.0/hppa_hpux/Resource/font:$ORACLE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
    TK90_FONTALIAS=$ORACLE_HOME/guicommon9/tk90/admin; export TK90_FONTALIAS

    I tried these steps here:
    http://articles.techrepublic.com.com/5100-10878_11-6174105.html
    However I don't have a selection called share Windows in my sharing prefs, nor do I have a Utility called Directory Access

  • Setting Environnemt to new machine to access sqlplus

    I have trouble setting enviromnet setting to new systems , want to understand my concepts.
    Make me right where i am not plz to clear my concepts.
    These are the 3 things we need to set to access sqlpuls
    set ORACLE_HOME=<oraclehome>; export ORACLE_HOME
    set ORACLE_SID=<SID>; export ORACLE_SID
    set PATH=$PATH:/var/oracle/9.2.0/bin
    beside these we should check which shell we are using by echo $SHELL
    Do we have to set these environment differently in differenet shell? and how we can check the ORACLE_HOME, SID, PATH if we dont know it? and is there any other thing i should set to access DB sqlplus ?

    Instead of this just post the error which you are getting while accessing sqlplus. That will be more helpfull to diagnose this.
    and how we can check the ORACLE_HOME, SID, PATH if we dont know it?If echo $ORACLE_HOME doesn't return anything it means ORACLE_HOME is not set, so you need to set it before running sqlplus and you must know the path where oracle is installed.
    Daljit Singh

  • About oracle_sid

    Hi,
    I use oracle 10g r2 in windows system,
    when i try
    sqlplus /nolog
    conn user/pass@db1
    it's working well, but i think if i set oracle_sid = db1, then i can do the following
    sqlplus /nolog
    conn user/pass
    without type the tnsname
    but, i get a error :ORA-12560: TNS:protocol adapter error
    so, any ideas?
    thanks inadvance

    Remove the blanks when setting ORACLE_SID:
    set oracle_sid=db1because:
    set oracle_sid=db1
    set | findstr oracle_sid
    oracle_sid=db1
    set oracle_sid = db1
    set | findstr oracle_sid
    oracle_sid=db1
    oracle_sid = db1Edited by: P. Forstmann on 7 janv. 2011 19:33

  • Startup open ORA_12514 error after Shutdown, just upgraded 9i to 10g

    Hi,
    Noobe here, again! Cheers and happy New Year to all!
    How should I edit script to start db that has been shutdown prior to backup?
    We are having a problem with backups, failure is occurring executing SQL*Plus startup after shutdown. I successfully upgraded our 9i to 10g, 10.2.0.5.0 on Windows server 2003, 32-bit. We have a back_script.bat that runs all this, the only edits that I had to make within this were the names for the new Oracle services, but that is not a problem. When I run through the actions in the batch file, it fails at the sql>startup open; action, throws the error "ORA-12514 TNS:listener does not currently nkow of service requested in connect descriptor" What is different here between 9i and 10g that now this doesn't work? By commenting out the line calling our oracle_stop_start.sql I am getting successful >exp dumps, but there could be processes running 'cause I'm not stopping everything before proceeding with the export.
    I have a complete image of the physical server running in a virtual that I am able to test on. Hopefully I'll not put too much info in here, but here is some background! Both the batch file and little stop_start script predate my involvement.
    Here are the pertinent statements in our backup_script.bat:
    SET NLS_LANG=AMERICAN_AMERICA.UTF8
    SET ORACLE_SID=wind
    net stop Windchill3_MethodServer (the third party application that uses the database wind)
    sqlplus "system/manager@wind as sysdba" @D:\ptc\windchill\backups\oracle_stop_start
    exp system/manager@wind owner=guest file=......\oracle_backup.dmp.....etc, etc, etc
    Here is oracle_stop_start.sql
    shutdown immediate;
    startup open;
    quit
    As stated earlier, this has worked at least since 2007 when the last edits were made to the batch file. Now it fails at the sql>startup open; throwing the error ORA-12514. I can duplicate this executing each statement in a dos shell. The shutdown command closes, dismounts and shuts down the database. I have tried changing the startup statement to sql>STARTUP OPEN wind; but that makes no difference. I have found that if I exit sql*plus and log back in /nolog (in the same shell window) then I can restart the instance, what I do is:
    sqlplus /nologsql>connect sys/* as sysdba;
    sql>startup open wind;
    This does successfully start the Oracle instance, mount and open the database. How else might I do this? I can certainly duplicate these actions, adding the necessary lines to oracle_start_stop.sql, but is there a better & cleaner way to do this? Right now I just want to make these existing scripts work. Once that is done, then I'm going to investigate and learn more about RMAN and datapump export/import and update our backup procedures.
    Any thoughts & suggestions?
    Thank you,
    Tom

    It might be a difference in behaviour between 9i and 10g. It looks like you are connecting through sql*net (sqlplus "system/manager@wind as sysdba), so the ORACLE_SID setting is not part of your connection. When the database is shutdown you are no longer connected to any database. When you issue the startup command the ORACLE_SID is not set so there is no service specified.
    If you are running this on the database server, try setting the ORACLE_SID then running your script like:
    {code}sqlplus "system/manager as sysdba" @D:\ptc\windchill\backups\oracle_stop_start{code}
    and you should still have the service set for your connection.
    John

  • Frm-41213 SO: Linux 64bits,Oracle Forms 10g Integration With Reports

    Oracle Forms [32 bits] Versión 10.1.2.0.2 with Reports Fails. The Report Server Is Up, the file test.rdf its executed ok. but when a button have the next code. all its wrong.... helpme...
    PROCEDURE REPORT IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    BEGIN
    repid := find_report_object('mireport');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_serverias_home_middle');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('http://miserver.dominio.com:7778/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_serverias_home_middle');
    ELSE
    message('Error when running report');
    END IF;
    END;
    REPORTS_CLASSPATH and REPORTS_PATH seting Ok.
    the next ist the default.env.
    ORACLE_HOME=/oracle/products/middle
    FORMS_PATH=/oracle/misaplications/modu01/lib:/oracle/misaplicationes/modu02/menus:/oracle/misaplicationes/modu01/images:/oracle/misaplicationes/modu01/icons:/oracle/misaplicationes/modu01/submod01/source:/oracle/misaplicationes/modu01/submod02/source:/oracle/misaplitaciones/modu01/submod03/source:/oracle/misaplitaciones/modu01/submod04/source:/oracle/misaplicationes/modu01/submod05/source:/oracle/misaplicaciones/modu01/submod07/source:/oracle/products10g/middle/forms
    WEBUTIL_CONFIG=/oracle/products10g/middle/forms/server/webutil.cfg
    LD_ASSUME_KERNEL=2.4.21-4.EL
    CLASSPATH=/oracle/products10g/middle/forms/java/imagenes.jar:/oracle/products10g/middle/forms/webutil/frmwebutil.jar:/oracle/products10g/middle/forms/webutil/jacob.jar:/oracle/products10g/middle/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/oracle/products10g/middle/jlib/repository.jar:/oracle/products10g/middle/jlib/ldapjclnt10.jar:/oracle/products10g/middle/jlib/debugger.jar:/oracle/products10g/middle/jlib/ewt3.jar:/oracle/products10g/middle/jlib/share.jar:/oracle/products10g/middle/jlib/utj.jar:/oracle/products10g/middle/jlib/zrclient.jar:/oracle/products10g/middle/reports/jlib/rwrun.jar:/oracle/products10g/middle/forms/java/frmwebutil.jar:/oracle/products10g/middle/forms/java/frmall.jar
    REPORTS_CLASSPATH=/oracle/products10g/middle/jlib/zrclient.jar:/oracle/products10g/middle/reports/jlib/rwrun.jar
    #FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>/forms/server
    the next ist the reports.sh.
    ORACLE_HOME=/oracle/products10g/middle; export ORACLE_HOME
    PATH=$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:${PATH}; export PATH
    TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
    ## TWO_TASK=< two task name >; export TWO_TASK
    ## ORACLE_SID=< ORACLE SID >; export ORACLE_SID
    ## setting for Reports Runtime
    RW=$ORACLE_HOME/reports; export RW
    REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:/oracle/aplicaciones/sioper/geo/reports:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:${REPORTS_PATH}; export REPORTS_PATH
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar; export REPORTS_CLASSPATH
    NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
    ## Icon variable for Solaris platform
    TK_ICON=$ORACLE_HOME/reports/plugins/resource; export TK_ICON
    #REPORTS_DEFAULT_DISPLAY=NO; export REPORTS_DEFAULT_DISPLAY

    I thought I did, using batch=yes option. However, when running:
    $ rwserver.sh server=repsrv
    the pop-up window shows "Report Server is starting up". It does not change to "Report Server is ready".
    Thanks

  • Unable to install Oracle 11g Release 2 in windows 7 64 bit OS

    Hi,
    Am trying to install the oracle 11g Release 2 database on my Laptop,
    I have downloaded the two zip files from Oracle Site
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    After downloading I have unzipped started process, but after some process, am getting an error mentioning that, am missing a file in the below location
    C:\$Oracle_BASE$\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications
    but my unzip is successful for both the files, Please let me know why am getting this error when I have downloaded the files from Oracle site, Please let me know if I need to have
    any additional s/w installed on my machine before running the Oracle database installation
    Thanks

    973946 wrote:
    Thanks Srini,
    After checking the link, I was able to install it but there were some error messages.
    I have another problem log in the SQL PLUS. When I open the SQL PLUS window, it asked for Username and after I typed "sys" or "system" and hit Enter; it was prompted for password, however, it did not let me type in any word; and after I hit Enter again, the error message " ORA-12560: TNS:protocol adapter error" appeared
    Any hints would be apprecieted, thanks.
    SamIt wasn't preventing you from typing a password, it just wasn't echoing your keystrokes back to the screen. This is a security security feature common to most software, not just oracle. Either when asking for a password, either echo back a 'masking' character like '*' or don't echo anything. It's so common, I'm surprised you seem to have never seen it before.
    So after entering your password ... the 12560 probably comes from
    1- the fact you didn't have the environment variable ORACLE_SID set, so sqlplus didn' know the name of the instance/process you wanted to connect to, or
    2 - the windows service for the database was not started.
    Those two possibilities account for 99.99999 pct of ora-12560 on Windows installations.
    Edited by: EdStevens on Nov 29, 2012 6:41 PM

  • Unable to install iCloud 4.0.2 on Windows 7 64 bit PC

    I get the above error when attempting ot instal iCloud.  I am  also unable to remove a previous version of iCloud but can't display the error.

    973946 wrote:
    Thanks Srini,
    After checking the link, I was able to install it but there were some error messages.
    I have another problem log in the SQL PLUS. When I open the SQL PLUS window, it asked for Username and after I typed "sys" or "system" and hit Enter; it was prompted for password, however, it did not let me type in any word; and after I hit Enter again, the error message " ORA-12560: TNS:protocol adapter error" appeared
    Any hints would be apprecieted, thanks.
    SamIt wasn't preventing you from typing a password, it just wasn't echoing your keystrokes back to the screen. This is a security security feature common to most software, not just oracle. Either when asking for a password, either echo back a 'masking' character like '*' or don't echo anything. It's so common, I'm surprised you seem to have never seen it before.
    So after entering your password ... the 12560 probably comes from
    1- the fact you didn't have the environment variable ORACLE_SID set, so sqlplus didn' know the name of the instance/process you wanted to connect to, or
    2 - the windows service for the database was not started.
    Those two possibilities account for 99.99999 pct of ora-12560 on Windows installations.
    Edited by: EdStevens on Nov 29, 2012 6:41 PM

  • SQL+ not working: TNS-12560

    I just installed XE on WXP and although the web interface works fine I can't use SQL+
    Below is some information. This is very frustrating. I am an application developer; I switched from the full 10g to XE in the hope that I would no longer be wasting my time on those exasperating network problems and would be able to concentrater on developing instead but no such luck... Why is it asking too much that XE should work properly after installation? I have not changed anything beyond creating a couple of user accounts with the web interface. This is as virgin an installation as it gets.
    Any help would be greatly appreciated.
    ===============================================================
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-MAR-2006 03:58
    :14
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 23-MAR-2006 03:22:46
    Uptime 4 days 23 hr. 35 min. 29 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=wk1)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ===============================================================
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-MAR-2006 03:59
    :22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:18 refused:0 current:18 max:1002 state:ready
    DISPATCHER <machine: WK1, pid: 9740>
    (ADDRESS=(PROTOCOL=tcp)(HOST=wk1)(PORT=1729))
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    ===============================================================
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>tnsping xe
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-MAR-2
    006 04:18:03
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = wk1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (3750 msec)
    ===============================================================
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus system/orcl as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 28 04:00:49 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    [killed with Ctrl-C]
    ===============================================================
    sqlnet.log is full of entries like this, one for each attempt:
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleorcl)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=C:\oraclexe\app\oracle\product\10.2.0\server\BIN\sqlplus.exe)(HOST=WK1)(USER=Privileged))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 28-MAR-2006 03:32:14
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    nt secondary err code: 2
    nt OS err code: 0
    ===============================================================
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>type ..\network\ADMIN\sqlnet.ora
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    ===============================================================
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>type ..\network\ADMIN\listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = wk1)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    ===============================================================
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>type ..\network\ADMIN\tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wk1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>
    ===============================================================
    The service called OracleXETNSListener is definitely running. Also, there is a firewall running on this box but its log does not report any blocked connection attempt from any Oracle-related process. I have allowed tnsping.exe, tnslsnr.exe and oracle.exe.

    Thanks a lot! That was indeed the problem: if I do 'sqlplus sys@xe as sysdba' I can
    connect. Trying to find where that orcl comes from, I did have ORACLE_SID set to orcl
    in my environment and I removed it; that did it: sqlplus can now connect even if I do not
    set the connect id. Maybe the installer could be enhanced to look for leftover Oracle-
    related env vars?
    However there is still some weirdness: the above refers to the sqlplus that comes with
    the server bundle but if I use the sqlplus from the client bundle I get "ORA-12154:
    TNS:could not resolve the connect identifier specified" when I specify the connect id
    and "ORA-12560: TNS:protocol adapter error" when I don't. sqlnet.log shows it is still
    using orcl as the SID. I don't really need the client anyway: only the jdbc jar, so I
    could just remove it but this is just weird...

  • Oracle 9.0.1 with RH9.0  ./runInstaller

    Hi!!
    I am trying to install Oracle 9i with RH9.0 but I have a problem when I execute ./runInstaller
    Itializing Java Virtual Machine from /tmp/OraInstall/jre/bin/jre. Please wait...
    /tmp/OraInstall/jre/bin/../lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM
    What can I do, please??
    My machine is
    - 512Mb Ram
    - 40Gb Disk space
    - java version "1.3.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-FCS)
    Java HotSpot(TM) Client VM (build Blackdown-1.3.1-FCS, mixed mode)
    Thanks

    Hi,
    I found alike problem in Metalink:
    From: CESAR AUGUSTO RENGIFO 01-Jun-03 23:53
    Subject: problem intalling Oracle 8.1.7 in Red Hat 9
    problem intalling Oracle 8.1.7 in Red Hat 9
    hi, i am tried to install Oracle 8.1.7 Standard Edition in Red Hat 9, but the installer dont initialize.
    the error when i run runInstaller is:
    "Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
    [oracle@localhost Disk1]$ /home/oracle/Disk1/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/lib/linux/native_threads/libzip.so: symbol errno,
    version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM"
    the machine characteristics are:
    "Linux localhost.localdomain 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux"
    i had search through the installed packages for the glibc librarys and this is the result:
    "glib-1.2.10-10
    glibc-common-2.3.2-11.9
    glibc-2.3.2-11.9
    glib2-2.2.1-1
    glibc-devel-2.3.2-11.9
    glibc-kernheaders-2.4-8.10"
    thanks in advance,
    andrew
    From: Yonatan KOPEL 02-Jun-03 13:58
    Subject: Re : problem intalling Oracle 8.1.7 in Red Hat 9
    Ther is compatibility problem that happend with broken binaries
    errno shouldn't show up with binary or library compiled against glibc 2.1+
    You can use LD_ASSUME_KERNEL=2.4.1 (or 2.2.5) in the broken apps env
    to work around this.
    Jonathan Kopel
    From: RUDINEI RUFA N/A 10-Jun-03 22:11
    Subject: Re : problem intalling Oracle 8.1.7 in Red Hat 9
    May I can help you.... try to download a JRE latest version, install on /usr/local/java, and edit '/install/oraparam.ini', change the JRE location, and run the 'runInstaller' from '/install/linux'.
    Regards,
    Mauricio.
    [email protected]
    Support Analyst
    RH9 isn't certified for Oracle9i !!!
    Note:201370.1
    LINUX: Quick Start Guide - 9.2.0 RDBMS Installation
    Quick Start Guide Oracle9i Release 2 (9.2.0) RDBMS Installation Linux Operating System PURPOSE ======= This document is designed to be a quick reference that can be used when installing Oracle 9.2.0 on the Linux platform. It is NOT designed to take the place of the Installation Guide. It is recommended that users READ the installation guide. Instructions to locate that document are contained in Appendix A. A familiarity with the Linux Operating System is assumed. If Installation guide information is needed, please see the Appendix A at the bottom of this document for additional resources. Each step should be done in the order that it is listed. These steps are the bare minimum that is necessary for a typical install of the Oracle9i RDBMS. Verification of Version Certification: ====================================== Currently, Oracle 9.2.0 is certified ONLY on the following Intel Based Server Linux distributions: - Red Hat Advanced Server 2.1 - Suse SLES7, SLES8 - United Linux 1.0 For the latest certification and other related information, use the "Certify & Availability" link in Metalink. Installations on distributions and versions not listed in the Certify link is not supported. Pre-requisite Requirements for System Administrator: ==================================================== The following steps are required to verify your operating system meets minimum requirements for installation, and should be performed by the root user. For assistance with system administration issues, please contact your system administrator or operating system vendor. Use these steps to manually check the operating system requirements before attempting to install Oracle RDBMS software, or you may choose to use the convenient "Unix InstallPrep script" which automates these checks for you. For more information about the script, including download information, please review the following article: Note:189256.1 UNIX: Script to Verify Installation Requirements for Oracle 9.x version of RDBMS Users must have /bin/utils installed for the operating system. This is part of the developers option on RedHat Advanced Server 2.1. The Following Steps Need to be Performed by the Root User: 1. Configure System Resources: Ensure that the system has at least the following resources: ? 400 MB in /tmp * ? 512 MB of Physical Memory (RAM) ? Three times the amount of Physical Memory for Swap space (unless the system exceeds 1 GB of Physical Memory, where two times the amount of Physical Memory for Swap space is sufficient) * You may also redirect /tmp by setting the TEMP environment variable. This is only recommended in rare circumstances where /tmp cannot be expanded to meet free space requirements. 2. Create a Software Owner and Group: Create a Unix user and group that will own the Oracle software. (Typically user = oracle, group = dba) You may use a GUI tool for this if your distirbution provides one, or the 'useradd' and 'groupadd' command line utilities. Please make sure the user and group you use are defined in the local /etc/passwd and /etc/group files rather than resolved via a network service such as NIS. 3. Create a Software Mount Point and DataFile Mount Points: Create a mount point for the Oracle software installation (at least 2.5 GB, typically /u01) Create a second, third and fourth mount point for the database files, control files, and log files to be created (typically /u02, /u03, /u04). ? The oracle user should own these mount points and all of the directories below the mount point. 4. Test the Permissions: Ensure that the oracle user can write to the new mount points ? As a test, change directories to each of the new mount point directories as the oracle user and create a file or directory. Example: % touch /u01/test 5. Configure Kernel Resources: The following kernel parameters related to shared memory and semaphores will require tuning:      SHMMAX = 2147483648      SHMMIN = 1      SHMMNI = 100      SEMMNS = 1000      SEMMSL = 250      SEMMNI = 100      SEMOPM = 100 6.On Linux kernel parameters can be set dynamically or can be written in a shell script to be set at boot time. Kernel parameters should be set as the root user. They are set as follows 1.     cd /proc/sys/kernel 2.     Modify the parameter values by using the following command syntax: a.     # echo 100 32000 100 100 > sem           This sets SEMMSL, SEMMNS, SEMOPM, SEMMNI b.     # echo 2147483648 > shmmax c.     # echo 1 > shmmin d.     # echo 100 > shmmni ================================================================================ These changes are NOT persistent and must be re-set after each re-boot. On RedHat Advanced Server 2.1, these parameters can be entered into the file /etc/sysctl.conf. This parameters in this file are set each time the system is booted. Example:      $ more /etc/sysctl.conf      # Disables packet forwarding      net.ipv4.ip_forward = 0      # Enables source route verification      net.ipv4.conf.default.rp_filter = 1      # Disables the magic-sysrq key      kernel.sysrq = 0      kernel.shmmax=256000000      kernel.shmmin=1      kernel.shmmni=100      kernel.sem= 250 32000 32 128 7. Mount CD-ROM: Depending on your Linux distribution the cdrom device is typically either "/cdrom" or "/mnt/cdrom". Please substitute the appropriate value when "<cdrom>" appears in the examples. # mount <cdrom> Installs can be done from either the CD or by copying the contents of each CD?s to a stage area on the local disk (/stage/Disk1, /stage/Disk2, /stage/DiskN) 8.This is required to run as root: /tmp/orainstRoot.sh First question of oracle installation. If no other versions of Oracle 8i or 9i have been installed before. You will be ask to run /tmp/orainstRoot.sh to create the oraInventory location pointer. Usually found in /etc on Linux Files that are located in /etc are /etc/oratab and /etc/oraInst.loc Installation Steps for the Oracle User ======================================= The Following Steps need to be performed by the Oracle User: This can be done from either a Telnet or an SSH connection. It is NOT recommended to perform installations from a su ? oracle connection. 1. Set Environment Variables Environment variables should be set in the login script for the oracle user. If the oracle user's default shell is the C-shell (/usr/bin/csh), then the login script will be named ".login". If the oracle user's default shell is the Bourne-shell (/usr/bin/bsh) or the Korn-shell (/usr/bin/sh or /usr/bin/ksh), then the login script will be named ".profile". In either case, the login script will be located in the oracle user's home directory ($HOME). The examples below assume that your software mount point is /u01. Parameter Value ----------- ------ ORACLE_HOME /u01/app/oracle/product/9.2.0 ORACLE_BASE /u01/app/oracle PATH /u01/app/oracle/product/9.2.0/bin: /usr/ccs/bin:/usr/bin/X11/:/usr/local/bin and any other items you require in                     your PATH      ORA_NLS33          $ORACLE_HOME/ocommon/nls/admin/data ORACLE_SID Set this to what you will call your database instance. (4 - 8 characters in length)      If you are not on the console, you may need to set the following DISPLAY <ip-address>:0.0 (review Note:153960.1 for detailed information) ENSURE THAT CLASS_PATH IS NOT SET IN THE ENVIRONMENT 2. Set the umask: Set the oracle user's umask to "022" in you ".profile" or ".login" file. Example: umask 022 3. Verify the Environment Log off and log on as the oracle user to ensure all environment variables are set correctly. Use the following command to view them: % env | more Before attempting to run the Oracle Universal Installer, verify that you can successfully run the following command: % /usr/bin/X11/xclock If this does not display a clock on your display screen, please review the following article: Note:153960.1 FAQ: X Server testing and troubleshooting 4. Start the Oracle Universal Installer and install the RDBMS software: Use the following commands to start the installer: % cd /tmp % /cdrom/runInstaller Or cd to /stage/Disk1 and run ./runInstaller Respond to the installer prompts as shown below: ? When prompted for whether orainstRoot.sh has been run by root, enter "y". This should have been done in Pre-Installation step 8 above. ? At the "Welcome Screen", click Next. ? If prompted, enter the directory to use for the "Inventory Location". This can be any directory, but is usually not under ORACLE_HOME because the oraInventory is shared with all Oracle products on the system. ? If prompted, enter the "UNIX Group Name" for the oracle user (dba). ? At the "File Locations Screen", verify the Destination listed is your ORACLE_HOME directory. Also enter a NAME to identify this ORACLE_HOME. The NAME can be anything, but is typically "DataServer" and the first three digits of the version. For example: "DataServer920" ? At the "Available Products Screen", choose Oracle9i Database, then click Next. ? At the "Installation Types Screen", choose Enterprise Edition, then click Next. ? If prompted, click Next at the "Component Locations Screen" to accept the default directories. ? At the "Database Configuration Screen", choose the the configuration based on how you plan to use the database, then click Next. ? If prompted, click Next at the "Privileged Operating System Groups Screen" to accept the default values (your current OS primary group). ? If prompted, enter the Global Database Name in the format "ORACLE_SID.hostname" at the "Database Identification Screen". For example: "TEST.LNXhost". The SID entry should be filled in with the value of ORACLE_SID. Click Next. ? If prompted, enter the directory where you would like to put datafiles at the "Database File Location Screen". Click Next. ? If prompted, select "Use the default character set" (WE8ISO8859P1) at the "Database Character Set Screen". Click Next. ? At the "Summary Screen", review your choices, then click Install. The install will begin. Follow instructions regarding running "root.sh" and any other prompts. When completed, the install will have created a default database, configured a Listener, and started both for you. Note: If you are having problems changing CD-ROMs when prompted to do so, please review the following article: Note:146566.1 How to Unmount / Eject First Cdrom Your Oracle9i Release 2 (9.2.0) RDBMS installation is now complete and ready for use. Appendix A ========== Documentation is available from the following resources: Oracle9i Release 2 (9.2.0) CD-ROM Disk1 ---------------------------------------- Mount the CD-ROM, then use a web browser to open the file "index.htm" located at the top level directory of the CD-ROM. Then proceed to Documentation menu Item on this CD-ROM you will find the Installation Guide, Administrator's Reference, and other useful documentation. Oracle Documentation Center --------------------------- Point your web browser to the following URL: http://otn.oracle.com/documentation/content.html Select the highest version CD-pack displayed to ensure you get the most up-to-date information.
    Regards,
    Ladislav Jurencak

  • Script that works in 8.1.7 does not work in 9.2.0

    I have a generic hot backup script that runs well in our 8i environment where I source the username and password for SYS from a secured txt file. However I could not get the script to work in our recently installed 9.2.0 environment.
    Below is an extract of the hot backup script:
    # Set environment
    . ${HOME}/BACKUP/${DBNAME}.env
    CONNECT_STRING=`${HOME}/admin/Util/syspass.sh sys $DBNAME`
    export CONNECT_STRING
    #Define some commands and files
    SQLPLUS="${ORACLE_HOME}/bin/sqlplus -s ${CONNECT_STRING}"
    TIME_STAMP=`date +"%d-%b-%Y"`
    # Test for duplicate filenames
    $SQLPLUS <<-EOF
    var numfiles number;
    BEGIN
    SELECT count(*) into :numfiles
    FROM dba_data_files a, dba_data_files b
    WHERE a.file_name != b.file_name
    AND SUBSTR(a.file_NAME, INSTR(a.file_name, '/', -1) + 1)
    = SUBSTR(b.file_NAME, INSTR(b.file_name, '/', -1) + 1);
    END;
    exit :numfiles
    EOF
    FILE_ERROR=$?
    echo "Number of duplicate files $FILE_ERROR"
    if [ $FILE_ERROR -gt 0 ]; then
    echo "Aborting, ... $FILE_ERROR duplicate filenames"
    exit
    fi
    As per the extract above,
    in our 8.1.7 environment,
    (1) the command CONNECT_STRING=`${HOME}/admin/Util/syspass.sh sys $DBNAME`
    will result in CONNECT_STRING=sys/xxxxxx@<sid>
    (2) the command SQLPLUS="${ORACLE_HOME}/bin/sqlplus -s ${CONNECT_STRING}"
    will result in SQLPLUS=/usr/oracle/product/8.1.7/bin/sqlplus -s sys/xxxxxx@<sid>
    (3) and when issue $SQLPLUS <<-EOF
    it connects fine and execute the procedure successfully.
    in Oracle 9.2.0,
    (1) the command CONNECT_STRING=`${HOME}/admin/Util/syspass.sh sys $DBNAME`
    works fine with result same as in 8.1.7 - CONNECT_STRING=sys/xxxxxx@<sid>
    (2) the command SQLPLUS="${ORACLE_HOME}/bin/sqlplus -s ${CONNECT_STRING}"
    works fine with result SQLPLUS=/usr/oracle/product/9.2.0/bin/sqlplus -s sys/xxxxxx@<sid>
    (3) However, when issue $SQLPLUS <<-EOF returns an error:
    ERROR:
    ORA-28009: connection to sys should be as sysdba or sysoper
    How can I fix that??
    Is it because of the username/password structure (sys/xxxxxx@<sid>)??
    I would like to keep such username/password format if possible.
    I have also tried to hard coded the username/password for variable SQLPLUS as:
    SQLPLUS="/usr/oracle/product/9.2.0/bin/sqlplus -S '/ as sysdba'"
    But it still doesn't work when issue $SQLPLUS, it returns the following:
    Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
    where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
    <logon> ::= <username>[<password>][@<connect_string>] | / | /NOLOG
    <start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
    "-H" displays the SQL*Plus version banner and usage syntax
    "-V" displays the SQL*Plus version banner
    "-L" attempts log on just once
    "-M <o>" uses HTML markup options <o>
    "-R <n>" uses restricted mode <n>
    "-S" uses silent mode
    Any ideas as to how to have the script run in 9.2.0??
    Your help is much appreciated.

    My first comment is that even though you are using a secure encrypted text file, putting the SYS password on the command line can make the password available to anyone on the server who can perform a ps command:
    shvec320 ECD2 /u01/home/oracle/cronscripts $ sqlplus mark/mark4s@dbnm
    SQL*Plus: Release 8.1.7.0.0 - Production on Wed Mar 24 16:47:17 2004
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - Production
    SQL> !ps -ef | grep mark
    oracle 25494 25078 0 16:47:17 pts/4 0:00 sqlplus mark/mark4s@dbnm
    oracle 25497 25494 0 16:47:23 pts/4 0:00 grep mark
    Consider putting the connect string in the SQL script:
    sqlplus /nolog <<-EOF
    connect ${CONNECT_STRING}
    var numfiles number;
    BEGIN
    SELECT count(*) into :numfiles
    FROM dba_data_files a, dba_data_files b
    WHERE a.file_name != b.file_name
    AND SUBSTR(a.file_NAME, INSTR(a.file_name, '/', -1) + 1)
    = SUBSTR(b.file_NAME, INSTR(b.file_name, '/', -1) + 1);
    END;
    exit :numfiles
    EOF
    Starting in Oracle 9 (others will correct me if I am wrong) you cannot connect to the sys account without specifying as SYSDBA or SYSOPER.
    My testing (9.2.0.3) resulted in your ORA-1013 using "sys/password@dbname as sysdba". Using "sys/password as sysdba" works just fine. I seem to remember if you want to use @dbname, you will need to use password file authentication instead of OS authentication.
    My suggestion -if possible - is to use plain "connect / as sysdba" in your SQL Script and have ORACLE_HOME and ORACLE_SID set correctly in your environment (do it in ${HOME}/BACKUP/${DBNAME}.env) :
    sqlplus /nolog <<-EOF
    connect / as sysdba;
    var numfiles number;
    BEGIN
    SELECT count(*) into :numfiles
    FROM dba_data_files a, dba_data_files b
    WHERE a.file_name != b.file_name
    AND SUBSTR(a.file_NAME, INSTR(a.file_name, '/', -1) + 1)
    = SUBSTR(b.file_NAME, INSTR(b.file_name, '/', -1) + 1);
    END;
    exit :numfiles
    EOF
    HTH

  • Trouble using ODBC on Linux

    Hi there.
    I'm fairly new to ODBC, so I apologize in advance if I am missing
    some cirtical piece of information in my question.
    I am trying to setup ODBC so that I can connect to my Oracle
    database from RODBC (a package within the R statistical package),
    where R is running on my Linux box where I installed the instant
    client.
    I have installed the 10.2.0.3 version of the instant client
    (basic, odbc, and sqlplus pieces) on my Linux machine.
    I have set LD_LIBRARY_PATH to include the new lib directory
    /usr/lib/oracle/10.2.0.3/client/lib
    which contains the libsqora.so.10.1 file.
    uname -a yields the following:
    Linux stacw34 2.6.9-78.0.0.0.1.ELsmp #1 SMP Fri Jul 25 14:41:56 EDT 2008 i686 i686 i386 GNU/Linux
    I have set TNS_ADMIN to point to a directory with a tnsnames.ora
    file that contains the following entry:
    nickel =
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=<my_machine>)
    (PORT=1521)
    (CONNECT_DATA=
    (SERVICE_NAME=nickel.regress.rdbms.dev.us.oracle.com)
    I have verified that the tnsnames entry is working correctly
    by connecting to the database using the instant client sqlplus
    executable.
    At this point, I am trying to connect to the database using the
    ODBC piece through RODBC. I have found that the errors I get from R
    seem to be the same as those from isql, so I am trying to use
    isql to find the root of the problem. Is there a better tool
    to validate that ODBC is working on linux?
    Anyway, I installed the odbc piece from the instant client, but
    I had to do some editing by hand due to the way the machine
    is configured. My /etc/odbcinst.ini file contains:
    [PostgreSQL]
    Description          = ODBC for PostgreSQL
    Driver          = /usr/lib/libodbcpsql.so
    Driver64          =
    Setup          = /usr/lib/libodbcpsqlS.so
    Setup64          =
    UsageCount          =
    CPTimeout          =
    CPReuse          =
    FileUsage          = 1
    [Oracle 10g ODBC driver]
    Description = Oracle ODBC driver for Oracle 10g
    Driver = /usr/lib/oracle/10.2.0.3/client/lib/libsqora.so.10.1
    Setup =
    FileUsage =
    CPTimeout =
    CPReuse =
    And my ~/.odbc.ini file contains:
    [nickel]
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    BindAsFLOAT = F
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    Driver = Oracle 10g ODBC driver
    DSN = nickel
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    ServerName =
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    DisableRULEHint = T
    UserID =
    When I run isql as follows:
    isql -v nickel
    I get the following error:
    ORA-12162: TNS:net service name is incorrectly specified
    It seems to be that this error occurs because I don't have
    ORACLE_SID set. If I set ORACLE_SID to nickel, and then
    run the same command, now I get:
    ORA-12545: Connect failed because target host or object does not exist
    The sqlnet.log file contains the following:
    Fatal NI connect error 12545, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/usr/lib/oracle/10.2.0.3/client/lib/bin/oracle)(ARGV0=oraclenickel)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=isql@<myhost>)(HOST=<myhost>)(USER=<myuser>))))
    VERSION INFORMATION:
         TNS for Linux: Version 10.2.0.3.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
    Time: 20-MAR-2009 14:02:02
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12545
    TNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
    ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
    nt secondary err code: 2
    nt OS err code: 0
    I can't figure out what is wrong with my odbc setup which would lead
    isql (and probably RODBC) to use this connect string (beq protocol, etc.).
    I am guessing that is where the problem stems from.
    Can you help me figure out how to find out what I am doing wrong
    when configuring the odbc setup?
    Thanks,
    Ari
    Edited by: amozes on Mar 20, 2009 11:06 AM

    That's easily explained.
    As you find documented in
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15699/post_inst_task.htm#sthref398
    you have to set 'ServerName' in odbc.ini to your TNS alias, in your case:
    ServerName = nickel
    Since you did not give a ServerName, Oracle assumed that you want to connect to a local database.
    As you rightly assume, the ORA-12162 indicates that ORACLE_SID is not set, which is needed for a local connection.
    If you set ORACLE_SID, Oracle will try to establish a local connection by executing a server process $ORACLE_HOME/bin/oracle.
    Since this executable cannot be found, you get the ORA-12545.
    Yours,
    Laurenz Albe
    PS: Your solution is better, as it does not require a tnsnames.ora file.

  • Error when connecting to dbase

    The following error appears when I connect to the oracle database:
    APP-00988 ORACLE error 1034 in fdidrv
    This other error appears when attempting to shutdown the database to reboot the server:
    ORACLE_HOME set to /u10/app/oracle/product/7.3.2
    ORACLE_SID set to PORT
    Portmgr alpha2> svrmgrl
    Portmgr alpha2> 816:/u10/app/oracle/product/7.3.2/bin/svrmgrl: /sbin/loader: Fatal Error: cannot
    I am not well versed in dbase stuff, and really need help with this urgently.
    Thanks

    If you are getting the error 1034, then check if your database is correctly started.
    ORA-01034: ORACLE not available
    Cause: Oracle was not started up. Possible causes include the following:
    - The SGA requires more space than was allocated for it.
    - The operating-system variable pointing to the instance is improperly defined.
    Action: Refer to accompanying messages for possible causes and correct the problem mentioned in the other messages. If Oracle has been initialized, then on some operating systems, verify that Oracle was linked correctly. See the platform specific Oracle documentation.

  • Dbconsole start failed Oracle 11G

    After installing Oracle 11G and creating a new database, I have created new db console reporsitory, with the commands:
    set ORACLE_SID
    set ORACLE_HOME
    set SYS_PWD
    set PORT
    emca -repos create -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD $SYS_PWD -DBSNMP_PWD $SYS_PWD -SYSMAN_PWD $SYS_PWD -PORT $PORT
    emca -config dbcontrol db -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD $SYS_PWD -DBSNMP_PWD $SYS_PWD -SYSMAN_PWD $SYS_PWD -PORT $PORT
    At the end, the command fails:
    INFO: This operation is being logged at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log.
    Sep 22, 2008 10:26:41 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Sep 22, 2008 10:26:44 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Sep 22, 2008 10:27:13 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Sep 22, 2008 10:27:16 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    INFO: Software library configured successfully.
    Sep 22, 2008 10:27:16 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Deploying Provisioning archives ...
    Sep 22, 2008 10:27:21 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Provisioning archives deployed successfully.
    Sep 22, 2008 10:27:21 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Sep 22, 2008 10:27:32 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Sep 22, 2008 10:27:32 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Sep 22, 2008 10:30:40 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /exec/products/oracle/v11.1.0/bin/emctl start dbconsole
    Sep 22, 2008 10:30:40 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log for more details.
    Could not complete the configuration. Refer to the log file at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log for more details.
    When I want to start dbconsole manually, I have the following error:
    emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://RD_x3650_22:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
    Logs are generated in directory /exec/products/oracle/v11.1.0/RD_x3650_22_HYDRA/sysman/log
    The logs give the following message:
    emdctl.trc:
    2008-09-23 00:19:32 Thread-3083821984 ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: Open wallet failed, ret = 28750
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: nmehlenv_openWallet failed
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: Error initializing SSL
    2008-09-23 00:19:32 Thread-3083813792 ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    2008-09-23 00:19:32 Thread-3083813792 ERROR main: nmectla_agentctl: Error connecting to https://RD_x3650_22:3872/emd/main. Returning status code 1
    emoms.trc:
    2008-09-22 23:07:08,275 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.ec.ui.intg.ExtendClusterIntegration
    2008-09-22 23:07:08,276 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.dn.ui.intg.DltNodeIntegration
    2008-09-22 23:07:08,277 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
    emagent.log:
    2008-09-22 23:06:59 Thread-3083801408 EMAgent started successfully (00702)
    2008-09-22 23:14:56 Thread-3083817792 Starting Agent 10.2.0.3.0 from /exec/products/oracle/v11.1.0 (00701)
    2008-09-22 23:14:57 Thread-3083817792 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:57 Thread-3083817792 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:57 Thread-3083817792 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:58 Thread-3083817792 EMAgent started successfully (00702)
    2008-09-23 00:14:00 Thread-3083813696 Starting Agent 10.2.0.3.0 from /exec/products/oracle/v11.1.0 (00701)
    2008-09-23 00:14:01 Thread-3083813696 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:01 Thread-3083813696 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:01 Thread-3083813696 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:03 Thread-3083813696 EMAgent started successfully (00702)
    I've tried this:
    - set correctly TIMEZONE,
    - configure secure dbconsole (emctl secure dbconsole),
    - stop service nscd,
    - change the port number,
    - recreate the repository....
    But the problem still occurs...
    Has someone another idea?
    Thank You
    Anne

    I found the problem.  Since I added NIST FIPS 140-2 in the database by add a file
    $ORACLE_HOME/ldap/admin/fips.ora
    SSLFIPS_140=TRUE
    This cause the Agent not start.  Do you have any suggesting?
    Thank You

  • Dbconsole start  failed on Oracle 11G

    After installing Oracle 11G and creating a new database, I have created new db console reporsitory, with the commands:
    set ORACLE_SID
    set ORACLE_HOME
    set SYS_PWD
    set PORT
    emca -repos create -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD $SYS_PWD -DBSNMP_PWD $SYS_PWD -SYSMAN_PWD $SYS_PWD -PORT $PORT
    emca -config dbcontrol db -silent -SID $ORACLE_SID -ORACLE_HOME $ORACLE_HOME -SYS_PWD $SYS_PWD -DBSNMP_PWD $SYS_PWD -SYSMAN_PWD $SYS_PWD -PORT $PORT
    At the end, the command fails:
    INFO: This operation is being logged at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log.
    Sep 22, 2008 10:26:41 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Sep 22, 2008 10:26:44 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Sep 22, 2008 10:27:13 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Sep 22, 2008 10:27:16 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    INFO: Software library configured successfully.
    Sep 22, 2008 10:27:16 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Deploying Provisioning archives ...
    Sep 22, 2008 10:27:21 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Provisioning archives deployed successfully.
    Sep 22, 2008 10:27:21 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Sep 22, 2008 10:27:32 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Sep 22, 2008 10:27:32 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Sep 22, 2008 10:30:40 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /exec/products/oracle/v11.1.0/bin/emctl start dbconsole
    Sep 22, 2008 10:30:40 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log for more details.
    Could not complete the configuration. Refer to the log file at /exec/products/oracle/cfgtoollogs/emca/HYDRA/emca_2008_09_22_22_25_54.log for more details.
    When I want to start dbconsole manually, I have the following error:
    emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://RD_x3650_22:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ............................................................................................. failed.
    Logs are generated in directory /exec/products/oracle/v11.1.0/RD_x3650_22_HYDRA/sysman/log
    The logs give the following message:
    emdctl.trc:
    2008-09-23 00:19:32 Thread-3083821984 ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: Open wallet failed, ret = 28750
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: nmehlenv_openWallet failed
    2008-09-23 00:19:32 Thread-3083813792 ERROR ssl: Error initializing SSL
    2008-09-23 00:19:32 Thread-3083813792 ERROR http: 5: Unable to initialize ssl connection with server, aborting connection attempt
    2008-09-23 00:19:32 Thread-3083813792 ERROR main: nmectla_agentctl: Error connecting to https://RD_x3650_22:3872/emd/main. Returning status code 1
    emoms.trc:
    2008-09-22 23:07:08,275 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.ec.ui.intg.ExtendClusterIntegration
    2008-09-22 23:07:08,276 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.dn.ui.intg.DltNodeIntegration
    2008-09-22 23:07:08,277 [OC4J Launcher] ERROR app.ContextInitializer contextInitialized.479 - Integration Class not found: oracle.sysman.pp.common.ui.intg.ProvCommonIntegration
    emagent.log:
    2008-09-22 23:06:59 Thread-3083801408 EMAgent started successfully (00702)
    2008-09-22 23:14:56 Thread-3083817792 Starting Agent 10.2.0.3.0 from /exec/products/oracle/v11.1.0 (00701)
    2008-09-22 23:14:57 Thread-3083817792 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:57 Thread-3083817792 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:57 Thread-3083817792 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2008-09-22 23:14:58 Thread-3083817792 EMAgent started successfully (00702)
    2008-09-23 00:14:00 Thread-3083813696 Starting Agent 10.2.0.3.0 from /exec/products/oracle/v11.1.0 (00701)
    2008-09-23 00:14:01 Thread-3083813696 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:01 Thread-3083813696 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:01 Thread-3083813696 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2008-09-23 00:14:03 Thread-3083813696 EMAgent started successfully (00702)
    I've tried this:
    - set correctly TIMEZONE,
    - configure secure dbconsole (emctl secure dbconsole),
    - stop service nscd,
    - change the port number,
    - recreate the repository....
    But the problem still occurs...
    Has someone another idea?
    Thank You
    Anne

    emctl secure agent does not exist with Oracle 11G
    I tried:
    emctl secure dbconsoleOracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    [https://RD_x3650_22:5500/em/console/aboutApplication|https://rd_x3650_22:5500/em/console/aboutApplication]
    Please enter repository password:
    DBCONSOLE already stopped... Done.
    Agent is already stopped... Done.
    Securing dbconsole... Started.
    Securing dbconsole... Sucessful.
    But the dbconsole starting still have errors
    The command status gives:
    emctl status agent -secureOracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Checking the security status of the Agent at location set in /exec/products/oracle/v11.1.0/RD_x3650_22_HYDRA/sysman/config/emd.properties... Done.
    Agent is secure at HTTPS Port 3938.
    Checking the security status of the OMS at [http://RD_x3650_22:5500/em/upload/..|http://rd_x3650_22:5500/em/]. Done.
    OMS is running but has not been secured. No HTTPS Port available.
    And the command "emctl ssl off" does nots exist with Oracle 11G
    Anne

Maybe you are looking for

  • PPCO0007 User Exit for  Changing Header Fields During Order  (CO40)

    .. Hi !!!!   I need your help or suggestions,   I need to change the standar order  before to save, i found the user exit PPCO0007,   i assign the new value for the order, but when finish the fuction, EXIT_SAPLCOZV_001, the new values are   lost, and

  • Unable to install any adobe product

    Recently I uninstalled my Adobe InCopy and InDesign (CS6) applications using the Adobe installer. Something went wrong with one of them, as it did not properly uninstall CS6 and instead displayed an uninstaller error. I've been troubleshooting for a

  • Run-Time Print to HTML alternativ​e?

    I'm trying to wrap up an application in which one of the functions requires programmatically printing the VI to an HTML file. I'm _now_ aware that I can't do this using the methods I've tried thus far, because they try to save the VI which, of course

  • New mediacenter app in development

    Hi guys, I'm thrilled to announce a new mediacenter on the scene. Currently in early state of development but allready very nice. Maybe some of you guys allready know XBMC? (Xbox Media Center) Well, this is the best media center around (free, open so

  • Where can I have my shutter replaced for Canon EOS-1D Mark II?

    The shutter for my Mark II camera is bust. Unfortunately, Canon no longer services this model so I need to find a place that has the shutter and can do quality work replacing it. I cannot afford to buy another camera right now and the college footbal