Em_using_existing_db.rsp service_name vs sid

Running 10.2.0.3 install in silent mode on redhat5. Need to run in separate pieces with the final piece being the configuration of the repository. The create respository step failes bacause the listener does not know of the SID that I am referening in the response file. It should say SERVICE_NAME in the connect string, not SID. I know it previously build the connect string with SERVICE_NAME, but now it build it using SID. Anyone know how to get the connect string build with SERVICE_NAME? Thanks.

I can't reproduce it I'm afraid.
I've switched to a 9i database, and I've added (SERVER=DEDICATED) to both entries and they both still work.
trotty_SERVICE =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxx)(PORT = 1521))
    (CONNECT_DATA =
      (SERVICE_NAME = trotty)
      (SERVER = DEDICATED)
TROTTY_SID =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST =xxxxxxx)(PORT = 1521))
    (CONNECT_DATA =
      (SID = trotty)
      (SERVER = DEDICATED)
  )The only thing I can suggest is an obscure syntax error which is being removed when you remove the (server=dedicated) line.

Similar Messages

  • Service_Name and SID

    Hi
    What is the difference between the Service_Name and the SID and when is it used.
    In the Default Listener File we have :
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    Any comments for why/where is it used.
    Thanks

    Hi,
    Serice Name represents the global database name but SID represents instance name. both of them can be used in case of single instance but in RAC envirnoment you will have to specify the SID in case of that you want to login to specific instance of the instances in the RAC envirnoment.
    Here is a sample of a RAC tnsnames entry:
    SEC.GROUP.LOCAL =
    (DESCRIPTION =
    (ENABLE=BROKEN)
    (ADDRESS_LIST =
    (LOAD_BALANCE=ON)
    (FAILOVER=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 193.16.1.162)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 193.16.1.161)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = GRP)
    (FAILOVER_MODE=
    (TYPE=SELECT)
    (METHOD=BASIC)
    in the above example Service name (Global database name is used) if you want to be loged on a specific instance change :
    1. remove the address cluase of the unneeded instances
    2. add (SID=GRPx) cluase where GRPx is the SID of the needed instance.
    Regards;

  • Service_name or sid?

    hi,
    in some of our tnsnames.ora we're using service_name, and in some others, we're using sid.
    what is the difference and which should be used when?
    thanks

    This is what Oracle doc(11.2) says for the service.
    >
    A logical representation of a database, which is the way a database is presented to clients. A database can be presented as multiple services and a service can be implemented as multiple database instances. The service name is a string that is the global database name, that is, a name comprising the database name and domain name, entered during installation or database creation. If you are not sure what the global database name is, then you can obtain it from the value of the SERVICE_NAMES parameter in the initialization parameter file.>
    http://download.oracle.com/docs/cd/E11882_01/network.112/e10835/glossary.htm#NETRF1839
    And this is what is for SID
    >
    A name that identifies a specific instance of a running an Oracle database earlier than release 8.1. For any database, there is at least one instance referencing the database.
    For Oracle databases earlier than release 8.1, a SID is used to identify the database. The SID is included in the connect descriptor of a tnsnames.ora file and in the definition of the listener in the listener.ora file.>
    http://download.oracle.com/docs/cd/E11882_01/network.112/e10835/glossary.htm#BGBIAEED
    With the SID, which Sybrand has explained clearly is an older wayout,you are going to connect through the specific instance with very little options for HA solutions like Load Balancing and Fail Over. OTOH SErvice is a "logical gateway" to access the database which is not tied to any specific instance as such. Using the service name, you may connect to any instance which is configured to serve that service. The concept goes in much better conjuction with the RAC environments where we do configure any one active insntance as the preferred instance for the service where it runs in the first place and the other instance(s) as avaialable instance where it can also run in case the primary fails. So using the new syntax of serivices, the HA capabilities are available to you in a complete manner and now , almost all the things of Oracle, including scheduler, resource manager are shifting to services only and Oracle is also recommending people to use service_name parameter to use than the sid.
    HTH
    Aman....

  • Question about an Oracle SID

    I'm a bit confused about what a SID is. I understand that it represents a Database instance. However, as I create my database for the first time, I'm asking myself if I really understand what a SID is?
    My impression of a SID is a database instance that can contain/manage serveral databases. Is that correct?
    However, I wonder if I'm being miss lead by my thinking. During the database creation process it appears that there is a one-to-one relationship between a database and a SID. Meaning that a SID and database are a unique pair and that a one-to-one relationship exist only.
    That being the case when it comes the environment variable for "Oracle_SID" does it support having multiple SID's. What is the maximum number of SID that it can support? When connecting to a database in Oracle do I have to supply both the SID and global database name to make a connection? I plan to connect to my databases using both Java and C++.
    Thanks

    Thanks for you help. However, My question is about
    the "Oracle_SID" environment variable. I fully
    understand that a SID helps identify resources to
    manage a database. However, a server/machine can
    have any number of database residing on the
    server/machine.
    The installation instructions talk about the
    environment variables for a machine with the
    "Oracle_SID being one of those variables. Based on
    what you are telling me a server/machine can have
    only 1/one database residing on it based on the fact
    that the "Oracle_SID" environment variable can only
    accomodate one/1 SID. NO. That is NOT what I said. I said - One SID will equate to One database instance.
    You can have any number of SIDs.
    BUT you set the SID as an environment variable to tell the software which instance to you wish to connect. ORACLE_SID can only be set to one value. That represents the database instance to which you are about to connect. A tool such as SQLPlus supports only one connection to one instance at a time.
    >
    Is the "Oracle_SID" environment variable important
    when it comes to connecting to a database remotely?Not really. The key is the SERVICE_NAME which is used to tell the LISTENER which SERVICE you want to use.
    By default, there is one service that has the same name as the instance's SID.
    There is a connection description file, called TNSNAMES.ORA. That file is used the same as /etc/hosts in *nix - pass in an alias and get a connection description - IP in the case of HOSTS; machine, listener port and 'instance information' in the case of TNSNAMES.ORA
    The typical connection to an instance is something like
    sqlplus hans/test@ORCL
    The ORCL is the alias to look up in the TNSNAMES.ORA (or other lookup technique - equivalent to DNS). The client looks up the 3 pieces of information, sends a request to the listener which is (hopefully) listening on the specified port on the indicated machine. It then uses the 'instance information' to ask the database instance for a thread or process.
    Oracle8 and older used ORACLE_SID as the 'instance information'
    Oracle8i and newer uses SERVICE_NAME as the 'instance information'.
    Some Newbie DBAs equate SERVICE_NAME to ORACLE_SID, because one of the services has the same name as the SID. However, one can have up to 64 SERVICES managed by a single instance.
    Some Experienced DBAs equate SERVICE_NAME to ORACLE_SID, because they have not spent time in the documentation to understand the difference between SERVICE_NAME and SID. As a result, they generally do not 'get it' when it comes to resource management or instance consolidation.
    >
    If I'm managing a database at the server and the
    server has multiple database residing on it, how do I
    define a SID for each database using the "Oracle_SID"
    environment variable?If on LINUX, using bash, you simply
    export ORACLE_SID=abc
    or use the oraenv script to set the SID and all the other environment variables based on the SID.I give a description and example below.
    >
    I'm just not clear about the relationship between the
    "Oracle_SID" environment variable and access a
    database when logged onto the database
    server/machine.Say I have 2 databases, called 'ORCL' and 'TEST', each with a user (and schema) called 'hans'. Both are down. I want them both up. Therefore I want to start 2 instances.The pattern, on Linux (it's subtly different on Windows) is
    # set the environment to start ORCL
    . oraenv
    ORCL
    # or
    export ORACLE_SID=ORCL
    export ORACLE_HOME=some-directory-path-to-the-ORCL-database's-software
    export PATH=$PATH:$ORACLE_HOME/bin
    # use the tools to start the database
    sqlplus / as sysdba   # note that I did not specify SID ... that was given above
    startup
    exit
    # at this point ORCL database, and all the schemas in the ORCL database, are available
    # from anywhere in the network, or on the local machine, I can:
    sqlplus hans/password@ORCL
    select * from dual;
    exit
    # but TEST is not up and
    sqlplus hans/password@TEST
    #  will fail with a 'database not available' type of message
    # now set up to start test.  Use oraenv OR do it manually
    export ORACLE_SID=TEST
    export ORACLE_HOME=the-path-to-the-TEST-database's-software-which-could-be-the-same
    export PATH=$PATH:$ORACLE_HOME/bin
    # and use the tools to start the database
    sqlplus / as sysdba 
    startup
    exit
    # note that I did not specify SID ... that was given above and tells SQLPLUS to establish a connect to the
    # instance called TEST.  SQLPlus has special powers in the "as sysdba" mode - it can execute the
    # startup process.
    # NOW the TEST and the ORCL databases are available through the TEST and ORCL instances
    sqlplus hans/password@TEST
    select * from dual;
    connect hans/password@ORCL
    select * from dual;
    exit>
    I understand that when using the Enterprise Manager I
    have to specify the SID and database name but, does
    the environment variable "Oracle_SID" have to reflect
    a SID for each database that is present on the
    server/machine.
    The SID tells the system
    1) which shared memory segment to use - if we are on the server
    2) which instance to connect to over the network, because the SID is the same as the default SERVICE
    In Enterprise Manager Database Control, the entry point for the configuration files is a special directory under the ORACLE_HOME that consists of the machine name and the SID. The purpose of setting the ORACLE_SID in this case is to tell the database control which directory to use to find the EM configuration files for that database and instance.
    No matter which way you slice it:
    1) an Oracle SID is used to point to the configuration information for one database and it's related instance;
    2) an Oracle SID is really only meaningful on the machine where the instance is to run;
    3) an Oracle SID environment variable can only contain the value for one SID if it is to be intepreted by Oracle programs;
    4) an Oracle SID plays no significant part in establishing the connection for an appication;
    5) an Oracle SID MAY be used as input to environment-setting programs that make it easier to get the right environment for an application;
    6) an Oracle SID is NO LONGER the correct way to set up the TNSNAMES.ORA file to establish a connection.

  • Difference between service name and sid

    Hi All,
    1. I am not able to understand the difference between Service_name and SID.
    2. And I have 3 different databases(like 9i,10g,11g) with 3 instances in each(total 6), Can I configure one listener for all the databases and instances, as I have found in some documents that we need to set SID's list in listener.ora file.
    Please help me in this regard,
    Thanks in advance

    Rafi (Oracle DBA) wrote:
    Hi,
    If you wanted to have multiple databases specified you could nest more SID_DESC parameters in the SID_LIST. In the same way, if you wanted to listen on diffrent IP addresses you could use multiple DESCRIPTION sections in the DESCRIPTION_LIST. For example:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.0.130)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.0.10)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = anotherdb)
    For more details check below link from oracle:
    http://download-west.oracle.com/docs/cd/B12037_01/network.101/b10776/toc.htm
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/
    Hi Rafi,
    Thanks for your reply. Can I configure different version databases in same listener file with different port. For example:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.0.130)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.0.10)(PORT = 1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = test)
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
    (SID_NAME = anotherdb)
    Edited by: user7280060 on Jun 15, 2011 2:36 AM
    Edited by: user7280060 on Jun 15, 2011 2:37 AM

  • Grid Control 10.2.0.1.1 Silent Installation Problem

    I seem to be having issue installing Grid Control 10.2.0.1.1; I am using the silent install with existing database method and for some reason, the installation process is not using some variable I have specified in the response file.
    My operating environment is as follows
    Redhat Enterprise Linux 5.2 [Tikanga] - 32bit
    Repository: Oracle Database 11gR2Variables that I have specifed in the response file and are not being used are below.
    >
    s_mgmtTbsName="/u02/oradata/emrep/oradata/mgmt.dbf"
    s_ecmTbsName="/u02/oradata/emrep/oradata/mgmt_ecm_depot1.dbf"
    >
    slientInstall log has the following entries
    silentInstall2010-08-18_01-15-29-PM.log
    *** Error Dialog: OUI-10150:Error: The file system location /u01/app/oracle/product/oms10g/oradata does not exist. Please enter the path of an existing directory. in component Oracle Enterprise Manager Grid Console 10.2.0.1.1 . Installation cannot continue for this component. ***
    User Selected: S&top installation of this component only.
    The file system location /u01/app/oracle/product/oms10g/oradata does not exist. Please enter the path of an existing directory.
    This silent installation was unsuccessful.installActions log file has the following entries
    INFO: Setting variable 's_mgmtTbsName' to '/u01/app/oracle/product/oms10g/oradata/mgmt.dbf'. Received the value from the variable calculation.
    INFO: Calling Query fileQueries10.1.0.3.0  exists
    filename = /u01/app/oracle/product/oms10g/oradata
    INFO: Query Returned: false
    User Selected: S&top installation of this component only.
    The file system location /u01/app/oracle/product/oms10g/oradata does not exist. Please enter the path of an existing directory.
    This silent installation was unsuccessful.Regard,
    Phiri

    [oracle@oracledba Disk1]$ cat response/em_using_existing_db.rsp
    ## copyright (c) 1999, 2004 Oracle. All rights reserved.          ##
    ## Specify values for the variables listed below to customize     ##
    ## your installation.                                             ##
    ## Each variable is associated with a comment. The comment        ##
    ## identifies the variable type.                                  ##
    ## Please specify the values in the following format:             ##
    ##         Type         Example                                   ##
    ##         String       "Sample Value"                            ##
    ##         Boolean      True or False                             ##
    ##         Number       1000                                      ##
    ##         StringList   {"String value 1","String Value 2"}       ##
    ## The values that are given as <Value Required> need to be       ##
    ## specified for a silent installation to be successful.          ##
    ## This response file is generated by Oracle Software             ##
    ## Packager.                                                      ##
    RESPONSEFILE_VERSION=2.2.1.0.0
    #Name       : UNIX_GROUP_NAME
    #Datatype   : String
    #Description: Unix group to be set for the inventory directory. Valid only in Unix platforms.
    #Example: UNIX_GROUP_NAME = "install"
    UNIX_GROUP_NAME="oinstall"
    #Name       : FROM_LOCATION
    #Datatype   : String
    #Description: Complete path to the products.xml.
    #Example: FROM_LOCATION = "../stage/products.xml"
    FROM_LOCATION="/u02/orasoft/gc_10201/Disk1/rdbms/Disk1/stage/products.xml"
    #Name       : FROM_LOCATION_CD_LABEL
    #Datatype   : String
    #Description: This variable should only be used in multi-CD installations. It includes the label of the compact disk where the file "products.xml" exists. The label can be found in the file "disk.label" in the same directory as products.xml.
    #Example: FROM_LOCATION_CD_LABEL = "CD Label"
    #FROM_LOCATION_CD_LABEL="EM10g"
    #Name       : BASEDIR
    #Datatype   : String
    #Description: Directory where the ORACLE_HOMES gets created
    #Example: BASEDIR = "C:\OHOME1" or BASEDIR = "/scratch/OracleHomes"
    BASEDIR="/u01/app/oracle/product"
    #Name       : INSTALLATION_NAME
    #Datatype   : String
    #Description: Oracle Home Name. Used in creating folders and services.
    #Example: INSTALLATION_NAME = "OHOME1"
    INSTALLATION_NAME="oms10g"
    #Name       : NEXT_SESSION
    #Datatype   : Boolean
    #Description: Set to true to allow users to go back to the File Locations page for another installation. This flag also needs to be set to true in order to process another response file (see NEXT_SESSION_RESPONSE).
    #Example: NEXT_SESSION = true
    NEXT_SESSION=true
    #Name       : NEXT_SESSION_ON_FAIL
    #Datatype   : Boolean
    #Description: Set to true to allow users to invoke another session even if current install session has failed. This flag is only relevant if NEXT_SESSION is set to true.
    #Example: NEXT_SESSION_ON_FAIL = true
    NEXT_SESSION_ON_FAIL=true
    #Name       : DEINSTALL_LIST
    #Datatype   : StringList
    #Description: List of components to be deinstalled during a deinstall session.
    #The following choices are available. The value should contain only one of these choices.
    #The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
    #    oracle.sysman.top.agent, 10.2.0.0.0 : Oracle Management Agent 10.2.0.0.0
    #    oracle.sysman.top.em_seed, 10.2.0.0.0 : Oracle Enterprise Manager Repository Database 10.2.0.0.0
    #    oracle.sysman.top.oms, 10.2.0.0.0 : Oracle Enterprise Manager Grid Console 10.2.0.0.0
    #Example: DEINSTALL_LIST = {"oracle.sysman.top.agent","10.2.0.0.0"}
    DEINSTALL_LIST={"oracle.sysman.top.oms","10.2.0.1.1"}
    #Name       : SHOW_DEINSTALL_CONFIRMATION
    #Datatype   : Boolean
    #Description: Set to true if deinstall confimation is needed during a deinstall session.
    #Example: SHOW_DEINSTALL_CONFIRMATION = true
    SHOW_DEINSTALL_CONFIRMATION=true
    #Name       : SHOW_DEINSTALL_PROGRESS
    #Datatype   : Boolean
    #Description: Set to true if deinstall progress is needed during a deinstall session.
    #Example: SHOW_DEINSTALL_PROGRESS = true
    SHOW_DEINSTALL_PROGRESS=true
    #Name       : REMOVE_HOMES
    #Datatype   : StringList
    #Description: List of the homes to be removed during a deinstall session. Each home is represented by its full path.
    #Example: REMOVE_HOMES = {<full_path_of_home1>,<full_path_of_home2>, ...}
    REMOVE_HOMES=<Value Unspecified>
    #Name       : ACCEPT_LICENSE_AGREEMENT
    #Datatype   : Boolean
    #Description: By setting this variable to true, you are accepting the license agreement. This variable is used only for silent installations.
    #Example: ACCEPT_LICENSE_AGREEMENT = true
    ACCEPT_LICENSE_AGREEMENT=true
    #Name       : TOPLEVEL_COMPONENT
    #Datatype   : StringList
    #Description: The top level component to be installed in the current session.
    #The following choices are available. The value should contain only one of these choices.
    #The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
    #    oracle.sysman.top.agent, 10.2.0.0.0 : Oracle Management Agent 10.2.0.0.0
    #    oracle.sysman.top.em_seed, 10.2.0.0.0 : Oracle Enterprise Manager Repository Database 10.2.0.0.0
    #    oracle.sysman.top.oms, 10.2.0.0.0 : Oracle Enterprise Manager Grid Console 10.2.0.0.0
    #Example: TOPLEVEL_COMPONENT = {"oracle.sysman.top.agent","10.2.0.0.0"}
    TOPLEVEL_COMPONENT={"oracle.sysman.top.oms","10.2.0.1.1"}
    #Name       : SELECTED_LANGUAGES
    #Datatype   : StringList
    #Description: Languages in which the components will be installed.
    #The following choices are available. The value should contain only one of these choices.
    #The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
    #    en,   : English
    #    de,   : German
    #    es,   : Latin American Spanish
    #    es_MX,   : Mexican Spanish
    #    es_ES,   : Spanish
    #    fr,   : French
    #    fr_CA,   : Canadian French
    #    it,   : Italian
    #    iw,   : Hebrew
    #    ja,   : Japanese
    #    ko,   : Korean
    #    pt_BR,   : Brazilian Portuguese
    #    zh_CN,   : Simplified Chinese
    #    zh_TW,   : Traditional Chinese
    #Example: SELECTED_LANGUAGES = {"en"}
    #SELECTED_LANGUAGES={"en"}
    #Name       : COMPONENT_LANGUAGES
    #Datatype   : StringList
    #Description: Languages in which the components will be installed.
    #The following choices are available. The value should contain only one of these choices.
    #The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
    #    en,   : English
    #    de,   : German
    #    es,   : Latin American Spanish
    #    es_MX,   : Mexican Spanish
    #    es_ES,   : Spanish
    #    fr,   : French
    #    fr_CA,   : Canadian French
    #    it,   : Italian
    #    iw,   : Hebrew
    #    ja,   : Japanese
    #    ko,   : Korean
    #    pt_BR,   : Brazilian Portuguese
    #    zh_CN,   : Simplified Chinese
    #    zh_TW,   : Traditional Chinese
    #Example: COMPONENT_LANGUAGES = {"en"}
    #Component  : oracle.sysman.top.oms
    COMPONENT_LANGUAGES={"en"}
    #Name       : s_reposHost
    #Datatype   : String
    #Description: Hostname of the Repository database
    #Component  : oracle.sysman.top.oms
    #Example    :s_reposHost="stadv26.us.oracle.com"
    s_reposHost="oracledba"
    #Name       : s_reposPort
    #Datatype   : String
    #Description: Port on which the Repository database is running
    #Component  : oracle.sysman.top.oms
    #Example    :s_reposPort="1521"
    s_reposPort="1521"
    #Name       : s_reposSID
    #Datatype   : String
    #Description: SID or Service name  of the Repository database
    #Component  : oracle.sysman.top.oms
    #Example    :s_reposSID="emrep"
    s_reposSID="emrep"
    #Name       : s_reposDBAPwd
    #Datatype   : String
    #Description: Password of DBA user used to create repository schema
    #Component  : oracle.sysman.top.oms
    # Example   : s_reposDBAPwd="password"
    s_reposDBAPwd="emgc10g"
    #Name       : s_mgmtTbsName
    #Datatype   : String
    #Description: Mgmt tablespace name
    #Component  : oracle.sysman.top.oms
    #This will get created on the machine where the database is present
    #So make sure that the directory given here is present in the machine where the database exists
    #ORACLE_HOME/oradata/mgmt.dbf
    #Example   : s_mgmtTbsName=/scratch/OracleHomes/oradata/mgmt.dbf
    s_mgmtTbsName="/u02/oradata/emrep/oradata/mgmt.dbf"
    #Name       : s_ecmTbsName
    #Datatype   : String
    #Description: ECM tablespace name
    #Component  : oracle.sysman.top.oms
    #This will get created on the machine where the database is present
    #So make sure that the directory given here is present in the machine where the database exists
    #ORACLE_HOME/oradata/mgmt_ecm_depot1.dbf
    #Example    : s_ecmTbsName=/scratch/OracleHomes/oradata/mgmt_ecm_depot1.dbf
    s_ecmTbsName="/u02/oradata/emrep/oradata/mgmt_ecm_depot1.dbf"
    #Name       : b_emailSelected
    #Datatype   : Boolean
    #Description: Whether to receive automatic threshold notification email
    #Component  : oracle.sysman.top.oms
    #Example    : b_emailSelected=false/true
    b_emailSelected=<Value Unspecified>
    #Name       : s_emailAddress
    #Datatype   : String
    #Description: Address to receive threshold notification email, this will be effected only when b_emailSelected=true
    #Component  : oracle.sysman.top.em_seed
    s_emailAddress=<Value Unspecified>
    #Name       : s_emailServer
    #Datatype   : String
    #Description: SMTP gateway used to send threshold notification email, this will be effected only when b_emailSelected=true
    #Component  : oracle.sysman.top.em_seed
    s_emailServer=<Value Unspecified>
    #Name       : b_metalinkSelected
    #Datatype   : Boolean
    #Description: Whether MetaLink connection was configured
    #Component  : oracle.sysman.top.em_seed
    #Example    : b_metalinkSelected=false/true
    b_metalinkSelected=<Value Unspecified>
    #Name       : s_metalinkUser
    #Datatype   : String
    #Description: user name for MetaLink access, this will be effected only when b_metalinkSelected=true
    #Component  : oracle.sysman.top.em_seed
    s_metalinkUser=<Value Unspecified>
    #Name       : s_metalinkPassword
    #Datatype   : String
    #Description: password for MetaLink access, this will be effected only when b_metalinkSelected=true
    #Component  : oracle.sysman.top.em_seed
    s_metalinkPassword=<Value Unspecified>
    #Name       : b_proxySelected
    #Datatype   : Boolean
    #Description: Whether proxy connection was configured
    #Component  : oracle.sysman.top.em_seed
    #Example: b_proxySelected=false/true
    b_proxySelected=<Value Unspecified>
    #Name       : EM_PROXYUSER
    #Datatype   : String
    #Description: User name for proxy access,this will be effected only when b_proxySelected=true
    #Component  : oracle.sysman.top.em_seed
    EM_PROXYUSER=<Value Unspecified>
    #Name       : EM_PROXYREALM
    #Datatype   : String
    #Description: Server providing proxy access, this will be effected only when b_proxySelected=true
    #Component  : oracle.sysman.top.em_seed
    EM_PROXYREALM=<Value Unspecified>
    #Name       : EM_PROXYPASSWORD
    #Datatype   : String
    #Description: Password for proxy access, this will be effected only when b_proxySelected=true
    #Component  : oracle.sysman.top.em_seed
    EM_PROXYPASSWORD=<Value Unspecified>
    #Name       : EM_PROXYHOST
    #Datatype   : String
    #Description: Server providing proxy access, this will be effected only when b_proxySelected=true
    #Component  : oracle.sysman.top.em_seed
    EM_PROXYHOST=<Value Unspecified>
    #Name       : EM_DONTPROXYFOR
    #Datatype   : String
    #Description: Domains which should not use proxy access, this will be effected only when b_proxySelected=true
    #Component  : oracle.sysman.top.em_seed
    EM_DONTPROXYFOR=<Value Unspecified>
    #Name       : EM_PROXYPORT
    #Datatype   : String
    #Description: Port for proxy access, this will be effected only when b_proxySelected=true
    #Component  : oracle.sysman.top.em_seed
    EM_PROXYPORT=<Value Unspecified>
    #Name       : s_securePassword
    #Datatype   : String
    #Description: Password for secure communication with Management Server
    #Component  : oracle.sysman.top.oms
    #Example    : s_securePassword="password"
    s_securePassword="emgc10g"
    #Name       : s_securePasswordConfirm
    #Datatype   : String
    #Description: Confirmation of password for secure communication with Management Server
    #Component  : oracle.sysman.top.oms
    #Example    : s_securePasswordConfirm="password"
    s_securePasswordConfirm="emgc10g"
    #Name       : b_lockedSelected
    #Datatype   : Boolean
    #Description: Whether agent communication should be locked
    #Component  : oracle.sysman.top.oms
    #Example    : b_lockedSelected=true/false
    b_lockedSelected=false
    #Name       : s_reposPwd
    #Datatype   : String
    #Description: Password of repository schema owner
    #Component  : oracle.sysman.top.oms
    #Example    : s_reposPwd="password"
    s_reposPwd="emgc10g"
    #Name       : s_reposPwdConfirm
    #Datatype   : String
    #Description: Password for repository schema owner
    #Component  : oracle.sysman.top.oms
    #Example    : s_reposPwdConfirm="password"
    s_reposPwdConfirm="emgc10g"
    #Please Don't change the values of these variables
    n_firstInstanceValidation=2
    n_firstReposValidation=1
    n_firstReposPwdValidation=2
    n_firstSecureValidation=2
    n_firstVldnEmailSer=2
    #Name       : b_upgrade
    #Datatype   : Boolean
    #Description: To Specify whether it is Normal Install or Upgrade
    #Component  : oracle.sysman.top.oms
    #PLEASE DON'T CHANGE THIS VALUE
    b_upgrade=false
    #Name       : b_showOptConfigPage
    #Datatype   : Boolean
    #Description: whether to perform optional configuration
    #Component  : oracle.sysman.top.oms
    #PLEASE DON'T CHANGE THIS VALUE
    b_showOptConfigPage=TRUE
    #Name       : s_installType
    #Datatype   : String
    #Description: Type of Grid Control install being performed
    #Component  : oracle.sysman.top.oms
    #PLEASE DON'T CHANGE THIS VALUE
    s_installType="NOSEED"
    [oracle@oracledba Disk1]$

  • Install grid control 11.1 in silent mode

    I want install Grid COntrol 11.1 on Redhat 5, with repository database on 11g2/Redhat 5. After check the prerequstes and installed jdk 1.6.0.18 and weblogic 10.3.2. I install gc 11.1 in silent code. It exiit in a few seconds with not error, but file created in widare homecd /u02/ora_sw/gc111
    ./runInstaller -noconfig -silent -responseFile /u01/app/ora_sw/gc111/gc111/response/em_using_existing_db.rsp
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 150 MB.   Actual 3941 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 26623 MB    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-09-22_12-21-10AM. Please wait ...[oracle@cchormid1 gc111]$ This appear compelete, not error message. Check the log file /u01/app/oraInventory/logs/ installActions2010-09-24_12-16-00AM.log....
    -nowelcome
    -noconfig
    -silent
    -responseFile
    /u01/app/ora_sw/gc111/gc111/response/em_using_existing_db.rsp
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: Ending the inventory Session
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: Ending the inventory Session
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: Ending the inventory SessionAre the INFO line indicate error?
    THe next step, according to e16847-Advanced Instalaltion and Configuration Guide, is run $<ORACLE_HOME>/allroot.sh. But I do not find this file anywhere.
    The response file used is belowRESPONSEFILE_VERSION=2.2.1.0.0
    SECURITY_UPDATES_VIA_MYORACLESUPPORT=False
    DECLINE_SECURITY_UPDATES=true
    MYORACLESUPPORT_USERNAME=""
    MYORACLESUPPORT_PASSWORD=""
    COLLECTOR_SUPPORTHUB_URL=""
    INSTALL_UPDATES_SELECTION="skip"
    ORACLE_MIDDLEWARE_HOME_LOCATION="/u01/app/midware"
    ORACLE_INSTANCE_HOME_LOCATION="/u01/app/gc_inst"
    WLS_ADMIN_SERVER_USERNAME="weblogic"
    WLS_ADMIN_SERVER_PASSWORD="thinkwl1"
    WLS_ADMIN_SERVER_CONFIRM_PASSWORD="thinkwl1"
    NODE_MANAGER_PASSWORD="thinkwl1"
    NODE_MANAGER_CONFIRM_PASSWORD="thinkwl1"
    DATABASE_HOSTNAME="cchorbi1"
    LISTENER_PORT="1521"
    SERVICENAME_OR_SID="cchbi"
    SYS_PASSWORD="thksys"
    CONNECT_STRING="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.2.0.54)(PORT=1521)))(CONNECT_DATA=(SID=cchbi)))"
    MANAGEMENT_TABLESPACE_LOCATION="/u02/app/oradata/mgmt.dbf"
    CONFIGURATION_DATA_TABLESPACE_LOCATION="/u02/app/oracle/oradata/cchbi/mgmt_ecm_depot1.dbf"
    JVM_DIAGNOSTICS_TABLESPACE_LOCATION="/u02/app/oracle/oradata/cchbi/mgmt_ad4j.dbf"
    EMAIL_NOTIFICATION=false
    SHARED_RECEIVE_DIRECTORY_LOCATION="/u01/app/shared_receive"
    LOCK_ORACLE_MANAGEMENT_SERVICE=false
    START_OMS=true
    SYSMAN_PASSWORD="thksysman"
    SYSMAN_CONFIRM_PASSWORD="thksysman"
    ALLOW_ONLY_SECURE_ACCESS_TO_CONSOLE=false
    AGENT_REGISTRATION_PASSWORD="thkagent1"
    AGENT_REGISTRATION_CONFIRM_PASSWORD="thkagent1"
    FROM_LOCATION="/u02/ora_sw/gc111/stage/products.xml"
    #DEINSTALL_LIST={"oracle.sysman.top.oms","11.1.0.1.0"}
    TOPLEVEL_COMPONENT={"oracle.sysman.top.oms","11.1.0.1.0"}
    COMPONENT_LANGUAGES={"en"}
    b_upgrade=false
    EM_INSTALL_TYPE="NOSEED"

    Hi;
    I belive its better way to move your thread to Forum Home » Grid Computing which you could get more quick response there
    Regard
    Helios

  • Install GC 11.1 in silent mode - nothing installed

    I want install Grid COntrol 11.1 on Redhat 5, with repository database on 11g2/Redhat 5. After check the prerequstes and installed jdk 1.6.0.18 and weblogic 10.3.2. I install gc 11.1 in silent code. It exiit in a few seconds with not error, but file created in widare homecd /u02/ora_sw/gc111
    ./runInstaller -noconfig -silent -responseFile /u01/app/ora_sw/gc111/gc111/response/em_using_existing_db.rsp
    Starting Oracle Universal Installer...
    Checking Temp space: must be greater than 150 MB.   Actual 3941 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 26623 MB    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-09-22_12-21-10AM. Please wait ...[oracle@cchormid1 gc111]$ This appear compelete, not error message. Check the log file /u01/app/oraInventory/logs/ installActions2010-09-24_12-16-00AM.log....
    -nowelcome
    -noconfig
    -silent
    -responseFile
    /u01/app/ora_sw/gc111/gc111/response/em_using_existing_db.rsp
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: Ending the inventory Session
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: Ending the inventory Session
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: Ending the inventory SessionAre the INFO line indicate error?
    THe next step, according to e16847-Advanced Instalaltion and Configuration Guide, is run $<ORACLE_HOME>/allroot.sh. But I do not find this file anywhere.
    The response file used is belowRESPONSEFILE_VERSION=2.2.1.0.0
    SECURITY_UPDATES_VIA_MYORACLESUPPORT=False
    DECLINE_SECURITY_UPDATES=true
    MYORACLESUPPORT_USERNAME=""
    MYORACLESUPPORT_PASSWORD=""
    COLLECTOR_SUPPORTHUB_URL=""
    INSTALL_UPDATES_SELECTION="skip"
    ORACLE_MIDDLEWARE_HOME_LOCATION="/u01/app/midware"
    ORACLE_INSTANCE_HOME_LOCATION="/u01/app/gc_inst"
    WLS_ADMIN_SERVER_USERNAME="weblogic"
    WLS_ADMIN_SERVER_PASSWORD="thinkwl1"
    WLS_ADMIN_SERVER_CONFIRM_PASSWORD="thinkwl1"
    NODE_MANAGER_PASSWORD="thinkwl1"
    NODE_MANAGER_CONFIRM_PASSWORD="thinkwl1"
    DATABASE_HOSTNAME="cchorbi1"
    LISTENER_PORT="1521"
    SERVICENAME_OR_SID="cchbi"
    SYS_PASSWORD="thksys"
    CONNECT_STRING="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.2.0.54)(PORT=1521)))(CONNECT_DATA=(SID=cchbi)))"
    MANAGEMENT_TABLESPACE_LOCATION="/u02/app/oradata/mgmt.dbf"
    CONFIGURATION_DATA_TABLESPACE_LOCATION="/u02/app/oracle/oradata/cchbi/mgmt_ecm_depot1.dbf"
    JVM_DIAGNOSTICS_TABLESPACE_LOCATION="/u02/app/oracle/oradata/cchbi/mgmt_ad4j.dbf"
    EMAIL_NOTIFICATION=false
    SHARED_RECEIVE_DIRECTORY_LOCATION="/u01/app/shared_receive"
    LOCK_ORACLE_MANAGEMENT_SERVICE=false
    START_OMS=true
    SYSMAN_PASSWORD="thksysman"
    SYSMAN_CONFIRM_PASSWORD="thksysman"
    ALLOW_ONLY_SECURE_ACCESS_TO_CONSOLE=false
    AGENT_REGISTRATION_PASSWORD="thkagent1"
    AGENT_REGISTRATION_CONFIRM_PASSWORD="thkagent1"
    FROM_LOCATION="/u02/ora_sw/gc111/stage/products.xml"
    #DEINSTALL_LIST={"oracle.sysman.top.oms","11.1.0.1.0"}
    TOPLEVEL_COMPONENT={"oracle.sysman.top.oms","11.1.0.1.0"}
    COMPONENT_LANGUAGES={"en"}
    b_upgrade=false
    EM_INSTALL_TYPE="NOSEED"

    Installed again in non-silent mode

  • Tnsnames.ora  is not working

    Hello,
    In my UAT envirnment we have 3 database on IBM AIX powerPC (64-bit) all are on 10.2.0.5.0
    My listener.ora and tnsnames.ora is at default location $ORACLE_HOME/network/admin/
    my listener is up
    $ lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Production on 04-MAR-2011 11:56:08
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Production
    Start Date 16-FEB-2011 18:51:16
    Uptime 15 days 17 hr. 4 min. 52 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0.1/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0.1/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.8.17)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "preprod" has 1 instance(s).
    Instance "preprod", status UNKNOWN, has 1 handler(s) for this service...
    Service "uat" has 2 instance(s).
    Instance "uat", status UNKNOWN, has 1 handler(s) for this service...
    Instance "uat", status READY, has 1 handler(s) for this service...
    Service "uat_XPT" has 1 instance(s).
    Instance "uat", status READY, has 1 handler(s) for this service...
    Service "uattest" has 2 instance(s).
    Instance "uattest", status UNKNOWN, has 1 handler(s) for this service...
    Instance "uattest", status READY, has 1 handler(s) for this service...
    Service "uattest_XPT" has 1 instance(s).
    Instance "uattest", status READY, has 1 handler(s) for this service...
    The command completed successfully
    i can remotely connected to database but on the same server tnsping is showing following error
    $ tnsping UATTEST
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Production on 04-MAR-2011 11:59:09
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0.1/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.8.17)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = uat)))
    TNS-12535: TNS:operation timed out
    or some time
    ORA-12547: TNS: lost contact
    remotely all the users are connected to listener but on the same server the operation is failed
    I cant connect to other database using this tnsnames.ora file
    can any one help me
    regards
    Bhushan
    Edited by: user9176407 on Mar 3, 2011 10:38 PM

    user9176407 wrote:
    Thanks for the reply
    In My server 3 database are there there a database by service name uat also present there
    I check all the configuration the entries in my tnsnames.ora is as below
    PREPROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.8.17)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = preprod)
    UAT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.8.17)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = uat)
    UATTEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.8.17)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = uattest)
    conf_uat =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 172.16.8.17)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVICE_NAME = uat)
    (SID = uat)
    also my listner file entries are
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0.1/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = uat)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0.1/db_1)
    (SID_DESC =
    (SID_NAME = uattest)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0.1/db_1)
    (SID_DESC =
    (SID_NAME = preprod)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0.1/db_1)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.8.17)(PORT = 1521))
    Ok, for your listener.ora file, above you have the SID_LIST and the LISTENER sections. But what is this that follows, below?
    >
    uat =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.8.17)(PORT = 1528))
    SID_LIST_uat =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = configdb)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0.1/db_1)
    which is working file
    but i have an problem in my tnsname.ora file

  • Rman clone duplicate database from active database

    Hi All,
    I read document saying that rman can duplicate database from active database (prod) to a remote server, so long as you configure listener and tnsname.
    I am working toward it.
    I met a problem, which is when i bring up auxiliary database in nomount mode, the listener service of that auxiliary database is in BLOCKED status, and throw out ora-12528 error when I rman auxiliary sys/pass@clonedb. Isn't nomount mode the mode which auxiliary db is supposed to be in?
    (ora-12528: TNS:listener: all appropriate instances are blocking new connections)
    Thanks,
    milic

    You may have run into the same problem like I did recently:
    The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
    ORA-12528: TNS listener BLOCKED - trying to duplicate database
    Also for further problems:
    RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628

  • Duplicate database from active database in 11g?

    Does anyone know if it's possible to clone a database from stby by issuing RMAN duplicate database FROM ACTIVE DATABASE command in 11g?
    I know it's possible from primary to create stby.
    Thanks in advance

    You may have run into the same problem like I did recently:
    The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
    ORA-12528: TNS listener BLOCKED - trying to duplicate database
    Also for further problems:
    RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628

  • ORA-12514 when disconnecting from LAN domain

    Hi all,
    I'm facing issue that when I use Oracle XE locally and when I'm connected to the LAN domain, I can connect successfully to the teh DB but at home or when I'm disconnecting from the LAN, I got the error ORA-12514 from toad and sql plus
    I thought that the error was the hostname on tnsname.ora but I already changed it to 127.0.0.1 and also localhost but the same issue appears
    Hope that someone can help me on that
    Thanks in advance
    l12me

    tnsname.ora but I already changed it to 127.0.0.1 and also localhostBoth localhost and 127.0.0.1 are the loopback TCP address, its part of an IP interface but connections to that IP don't go anywhere but the local machine. A working 127.0.0.1 just verifies that TCP is configured- and that's about it for usefulness of localhost|127.0.0.1, or when remote http access is disabled it is the address part of the URL to access Apex.
    The tnsnames.ora host= has to have the correct IP address or hostname to connect to the machine where the database is running, as well as the port= for the listener port, and a connect_data ... service_name= or SID= entry to complete the connection string details.
    If you're getting a -12514 error the host= and port= are pointing to an address and port with an Oracle listener, so:
    A) service_name= or sid= aren't correct in tnsnames.ora
    Or
    B) host= isn't contacting the correct host.

  • DG Observer triggering SIGSEGV Address not mapped to object errors in alert log

    Hi,
    I've got a Data Guard configuration using two 11.2.0.3 single instance databases.  The configuration has been configured for automatic failover and I have an observer running on a separate box.
    This fast-start failover configuration has been in place for about a month and in the last week, numerous SEGSEGV (address not mapped to object) errors are reported in the alert log.  This is happening quite frequently (every 4/5 minutes or so).
    The corresponding trace files show the process triggering the error coming from the observer.
    Has anyone experienced this problem?  I'm at my wits end trying to figure out how to fix the configuration to eliminate this error.
    I must also note that even though this error is occurring a lot, it doesn't seem to be affecting any of the database functionality.
    Help?
    Thanks in advance.
    Beth

    Hi..   The following is the alert log message, the traced file generated, and the current values of the data guard configuration.  In addition, as part of my research, I attempted to apply patch 12615660 which did not take care of the issue.  I also set the inbound_connection_timeout parameter to 0 and that didn't help either.  I'm still researching but any pointer in the right direction is very much appreciated.
    Error in Alert Log
    Thu Apr 09 10:28:59 2015
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x9] [PC:0x85CE503, nstimexp()+71] [flags: 0x0, count: 1]
    Errors in file /u01/app/oracle/diag/rdbms/<db_unq_name>/<SID>/trace/<SID>_ora_29902.trc  (incident=69298):
    ORA-07445: exception encountered: core dump [nstimexp()+71] [SIGSEGV] [ADDR:0x9] [PC:0x85CE503] [Address not mapped to object] []
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Thu Apr 09 10:29:02 2015
    Sweep [inc][69298]: completed
    Trace file:
    Trace file /u01/app/oracle/diag/rdbms/<db_unq_name>/<SID>/trace/<SID>_ora_29902.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning and Oracle Label Security options
    ORACLE_HOME = /u01/app/oracle/product/11.2.0.3/dbhome_1
    System name:    Linux
    Node name:      <host name>
    Release:        2.6.32-431.17.1.el6.x86_64
    Version:        #1 SMP Wed May 7 14:14:17 CDT 2014
    Machine:        x86_64
    Instance name: <SID>
    Redo thread mounted by this instance: 1
    Oracle process number: 19
    Unix process pid: 29902, image: oracle@<host name>
    *** 2015-04-09 10:28:59.966
    *** SESSION ID:(416.127) 2015-04-09 10:28:59.966
    *** CLIENT ID:() 2015-04-09 10:28:59.966
    *** SERVICE NAME:(<db_unq_name>) 2015-04-09 10:28:59.966
    *** MODULE NAME:(dgmgrl@<observer host> (TNS V1-V3)) 2015-04-09 10:28:59.966
    *** ACTION NAME:() 2015-04-09 10:28:59.966
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x9] [PC:0x85CE503, nstimexp()+71] [flags: 0x0, count: 1]
    DDE: Problem Key 'ORA 7445 [nstimexp()+71]' was flood controlled (0x6) (incident: 69298)
    ORA-07445: exception encountered: core dump [nstimexp()+71] [SIGSEGV] [ADDR:0x9] [PC:0x85CE503] [Address not mapped to object] []
    ssexhd: crashing the process...
    Shadow_Core_Dump = PARTIAL
    ksdbgcra: writing core file to directory '/u01/app/oracle/diag/rdbms/<db_unq_name>/<SID>/cdump'
    Data Guard Configuration
    DGMGRL> show configuration verbose;
    Configuration - dg_config
      Protection Mode: MaxPerformance
      Databases:
        dbprim - Primary database
        dbstby - (*) Physical standby database
      (*) Fast-Start Failover target
      Properties:
        FastStartFailoverThreshold      = '30'
        OperationTimeout                = '30'
        FastStartFailoverLagLimit       = '180'
        CommunicationTimeout            = '180'
        FastStartFailoverAutoReinstate  = 'TRUE'
        FastStartFailoverPmyShutdown    = 'TRUE'
        BystandersFollowRoleChange      = 'ALL'
    Fast-Start Failover: ENABLED
      Threshold:        30 seconds
      Target:           dbstby
      Observer:         observer_host
      Lag Limit:        180 seconds
      Shutdown Primary: TRUE
      Auto-reinstate:   TRUE
    Configuration Status:
    SUCCESS
    DGMGRL> show database verbose dbprim
    Database - dbprim
      Role:            PRIMARY
      Intended State:  TRANSPORT-ON
      Instance(s):
        DG_CONFIG
      Properties:
        DGConnectIdentifier             = 'dbprim'
        ObserverConnectIdentifier       = ''
        LogXptMode                      = 'ASYNC'
        DelayMins                       = '0'
        Binding                         = 'optional'
        MaxFailure                      = '0'
        MaxConnections                  = '1'
        ReopenSecs                      = '300'
        NetTimeout                      = '30'
        RedoCompression                 = 'DISABLE'
        LogShipping                     = 'ON'
        PreferredApplyInstance          = ''
        ApplyInstanceTimeout            = '0'
        ApplyParallel                   = 'AUTO'
        StandbyFileManagement           = 'MANUAL'
        ArchiveLagTarget                = '0'
        LogArchiveMaxProcesses          = '4'
        LogArchiveMinSucceedDest        = '1'
        DbFileNameConvert               = ''
        LogFileNameConvert              = ''
        FastStartFailoverTarget         = 'dbstby'
        InconsistentProperties          = '(monitor)'
        InconsistentLogXptProps         = '(monitor)'
        SendQEntries                    = '(monitor)'
        LogXptStatus                    = '(monitor)'
        RecvQEntries                    = '(monitor)'
        SidName                         = ‘<sid>’
        StaticConnectIdentifier         = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<db host name>)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=<service_name>)(INSTANCE_NAME=<sid>)(SERVER=DEDICATED)))'
        StandbyArchiveLocation          = 'USE_DB_RECOVERY_FILE_DEST'
        AlternateLocation               = ''
        LogArchiveTrace                 = '0'
        LogArchiveFormat                = '%t_%s_%r.dbf'
        TopWaitEvents                   = '(monitor)'
    Database Status:
    SUCCESS
    DGMGRL> show database verbose dbstby
    Database - dbstby
      Role:            PHYSICAL STANDBY
      Intended State:  APPLY-ON
      Transport Lag:   0 seconds
      Apply Lag:       0 seconds
      Real Time Query: ON
      Instance(s):
        DG_CONFIG
      Properties:
        DGConnectIdentifier             = 'dbstby'
        ObserverConnectIdentifier       = ''
        LogXptMode                      = 'ASYNC'
        DelayMins                       = '0'
        Binding                         = 'optional'
        MaxFailure                      = '0'
        MaxConnections                  = '1'
        ReopenSecs                      = '300'
        NetTimeout                      = '30'
        RedoCompression                 = 'DISABLE'
        LogShipping                     = 'ON'
        PreferredApplyInstance          = ''
        ApplyInstanceTimeout            = '0'
        ApplyParallel                   = 'AUTO'
        StandbyFileManagement           = 'AUTO'
        ArchiveLagTarget                = '0'
        LogArchiveMaxProcesses          = '4'
        LogArchiveMinSucceedDest        = '1'
        DbFileNameConvert               = ''
        LogFileNameConvert              = ''
        FastStartFailoverTarget         = 'dbprim'
        InconsistentProperties          = '(monitor)'
        InconsistentLogXptProps         = '(monitor)'
        SendQEntries                    = '(monitor)'
        LogXptStatus                    = '(monitor)'
        RecvQEntries                    = '(monitor)'
        SidName                         = ‘<sid>’
        StaticConnectIdentifier         = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<db host name>)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=<service_name>)(INSTANCE_NAME=<sid>)(SERVER=DEDICATED)))'
        StandbyArchiveLocation          = 'USE_DB_RECOVERY_FILE_DEST'
        AlternateLocation               = ''
        LogArchiveTrace                 = '0'
        LogArchiveFormat                = '%t_%s_%r.dbf'
        TopWaitEvents                   = '(monitor)'
    Database Status:
    SUCCESS

  • How does connection to host really work?

    I've been trying to debug this myself, but there seems to be a missing piece, and I'd like some help understanding the components and sequence of the process.
    My immediate issue is, how do I get past the"ORA-12170: TNS:Connect timeout occurred" error shown below? It seems that hostname "hcm" is recognized as valid but then points to nowhere.
    Environment: Windows 2000, Oracle 10g rel 2, localhost (IP starts with 127), MS loopback adaptor (IP starts with 192), computer name dimension4100, primary dns suffix ora.newmiddleclass.com, database name (same as SID) is hcm.
    etc\hosts file:
    127.0.0.1 dimension4100.ora.newmiddleclass.com localhost
    192.168.255.255 dimension4100.ora.newmiddleclass.com dimension4100
    192.168.255.255 dimension4100.ora.newmiddleclass.com hcm
    192.168.255.255 dimension4100.ora.newmiddleclass.com hcm2
    192.168.255.255 dimension4100.ora.newmiddleclass.com hcm3
    192.168.255.255 dimension4100.ora.newmiddleclass.com no-tns
    I'm trying to connect via sqlplus with this syntax:
    sqlplus SYS/pw@hcm
    ORA-12154: TNS:could not resolve the connect identifier specified
    when I try to connect via @ using anything other than localhost or dimension4100 or a host name specified in the hosts file.
    - Implies that this is the first step in the process
    ...so using host string @hcm as shown above avoids the 12154 error. Next, one of two things happens:
    ORA-12541: TNS:no listener
    Only with localhost or dimension4100. e.g.
    sqlplus SYS/pw@dimension4100
    - or -
    ORA-12170: TNS:Connect timeout occurred
    Only with hostnames that are mapped to 192 in hosts file (except for dimension4100). Doesn't matter if the hostname is in tnsnames.ora. e.g.
    sqlplus SYS/pw@hcm
    sqlplus SYS/pw@hcm2
    sqlplus SYS/pw@no-tns ("no-tns" is not defined in tnsnames.ora)
    Note:
    - I've verified that the hosts and ora files I've edited are really the files that the system is reading.
    - I can ping any hostname in the hosts file and get the correct IP address.
    - I can connect via sqlplus / as sysdba
    - I have to start the listener manually via lsnrctl start. It listens via protocol tcp on the loopback IP (192) on port 1521, as well as protocol ipc (EXTPROC1ipc)
    - lsnrctl services:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 29-SEP-2008 09:22:40
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    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
    The command completed successfully
    (Is this a problem? Should it be using the TCP protocol?)
    - Services via control panel:
    (started)
    OracleOraDb10g_home1iSQL*Plus
    OracleOraDb10g_home1TNSListener
    OracleServiceHCM
    (disabled)
    OracleJobSchedulerHCM
    - tnsnames.ora:
    HCM3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OracleServiceHCM)
    HCM2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ...so....how do I get past the"ORA-12170: TNS:Connect timeout occurred" error?
    Thanks.

    Ok Justin, so you're saying that because I hard-coded the IP address in tnsnames.ora, the etc\hosts file is not used for the connection. My current entry for hcm is:
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    I changed that to
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM)
    I also tried
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM)
    (SID = HCM)
    and
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.255.255)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    (SID = HCM)
    also trying hcm in lower case, but in all scenarios I got the same error:
    ORA-12170: TNS:Connect timeout occurred
    And I tried vetris' suggestion re telnet (not ping) on both IP addressess and I get error:
    Could not open a connection to host on port 1521: Connect failed

  • Error Message, After Installing

    Database Log In Failed
    TNS could not resolve service name
    Verify that the TNS name in the connectstring entry of the DAD for this URL is valid.
    URL =
    http://192.9.201.10/pls/simpledad/sample.home
    I added the URL b/c, even though its internal,
    I want to know how to alter the tnsnames.ora
    Please help me alter the tnsnames file.
    Here is a copy of my tnsnames.ora file:
    TNSNAMES.ORA Network Configuration File: /opt/OraHome1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLEDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SunBlade)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oracleDB)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SunBlade)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = oracleDB)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SunBlade)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = oracleDB)
    (PRESENTATION = http://admin)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Thank you,
    David
    [email protected]

    Hi,
    take a backup of this file(tnsnames.ora) and make another tnsnames.ora with following entry.
    ORACLEDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SunBlade)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oracleDB)
    I am asuming the service_name or SID you have choosen is oracleDB and name of
    oraclle host machine is Sunblade.
    if this does not work, put the ip address of the machine in place of host
    name.
    Yogi
    [email protected]

Maybe you are looking for