Adding a database instance target.

Hello,
Now That I have OEM grid control install I want to add a database instance to monitor.
So in The OEM console I went to TARGETS -> DATABASES ->ADD.
I enter the database host ip.
(The database is install in a different machine from OEM).
Error message "Host - Unable to find the host name entered."
This means that it can´t find the machine or the agent?
ping to the machime works.
(The database installed is the 10g R2 enterprise edition so the agent is already installed right? )
I can deploy an agent using the console but I think the agent is already there.
Thanks in advance for the help
Gonçalo Ribeiro

I tried to install an agent doing
Install agent->fresh install.
but I have this error: "SSH Server is not up on one or more of the remote nodes"
Both my enviromnent are windows. Do I need an ssh Server? How do I do that in windows?!
Thanks
Gonçalo Ribeiro

Similar Messages

  • EM Event: Warning: Database Instance - Agent Down

    Hello,
    while upgrading plugins for the OMS 12 Bundle Patch and applying the BP on the agents, I get a lot of mails with the above subject - namely, one mail by every database instance and every listener running on the host.
    Content of the mail is as follows:
    Host=<hostname>
    Target type=Database Instance
    Target name=<database name>
    Categories=Availability
    Message=Agent Down
    Severity=Warning
    Availability status=Agent Down
    Rule Name=Database Availability and Critical States,Target Availability Event Rule
    Rule Owner=SYSMAN
    Blackout on the host leads to the OMS not being able to do the upgrades - obviously a blacked-out agent is not able to do that. What puzzles me that in the Rule mentioned in the mail, incidents should only be created for the target type being down (i.e. for database instance when database is down, and so on) as one would expect.
    I would rather not blackout all targets on a host EXCEPT the agent as this gets old with our number of hosts and dbs, does anyone know which rule is responsible for the mails and how they could be suppressed temporarily in an efficient way?

    I think Jay was referring to selecting availability events by severity. So in the rule create/edit "Select Events" step you can do the following:
    1. select (event) Type= Target Availability
    2. Leave the radio button in the sub-section at "All events of type Target Availability"
    3. select the check box next to "Severity" right below the Type field
    4. When a subsequent drop down shows up for severity - select "Fatal"
    5. Optionally, check the box next to "Target type" and choose "Database Instance" if your target set includes other targets - this step should not be needed.
    6. Everything else should remain the same.
    Essentially, the "target down" events come with "Fatal" severity and these "agent down" events come with a "Critical" severity. So this is a way to avoid getting the agent down notifications on databases (or any other targets) while getting the genuine target down notifications. Hope this helps.

  • CloudControl 12c: when adding cluster-database single instances are missing

    Hello ,
    I'e have installed the agent 12c on every single host of our RAC. When adding a database to CloudControl 12c just the RAC-instance gets discovered - but not the single database instances on each host.
    Due to this when clicking targets -> databases I just see the cluster-database - but not every single instance of the database.
    Compared to another RAC database this is totally different behaviour.
    Any help will be appreciated
    Rgds
    JH

    Hello ,
    maybe I should try to explain the issue a little bit clearer...
    We have one RAC database called PROD02. When clicking "targets -> databases" I see the following:
    PROD02 of type Cluster Database
    PROD021 of type Database Instance
    PROD022 of type Database Instance
    That's the way it shoudl be - that's the way I expected it...
    For the newly cofgured RAC database, called PREP02, it looks different when clicking "targets -> databases"
    PREP02 of type Cluster Database
    The single instances don't show up. Of course I see the single instances when clicking on "PREP02" under the item "Instances".
    Now I wonder why these two RAC databases are differently displayed when clicking "targets -> databases". When trying to add the single instances (clicking "Add" under "targets -> databases") and selecting then either "only on the host <hostname>" or "on all hosts in the cluster" no single instances are found or displayed...
    Rgds
    Jan

  • Not able to configure database instance on target host in Grid Control

    I can see all database instances on a target in GridControl and when I tried to configure database instance, it fails with the following error.
    Error
    oracle.sysman.emSDK.emd.comm.CommException: java.net.UnknownHostException: <dbinstance name>
    Could somebody tell me how to troubleshoot this issue (like logs for more info for this error)
    thanks

    Hi
    I am also facing the same issue. My Grid is 10.2.0.5 version. With agentca I could able to see the database of this target on grid but their status show pending.
    When I try to addthem manually it give me below error.
    Error communicating with the agent. Exception message - oracle.sysman.emSDK.emd.comm.CommException: java.io.IOException.
    Thanks
    Rao

  • How to create a new database instance from an existing one?

    Hi, I basically want to create a snapshot of a production
    instance (version 8.1.7) for querying purposes. Would anyone
    tell me the steps involved? What I did as follows:
    1. Copy all data files to a new location
    2. Modify init.ora accordingly. I believe there is no separate
    control file for this version.
    But when I startup the instance, got this error:
    ORA-01103: database name 'TRITON' in controlfile is not 'HERCULE'
    What is missing? Do these data files contains links to the
    previous instance name?
    Thanks for any help.

    Hi All,
    I need some help in recreating new database instance.
    Here are the steps I have done so far:
    1. Created a database with name 'LASTDB' using DBCA
    2. Connected to RMAN.
    3. RMAN>SET DBID=******; (of the source database)
    4. Connect to target. RMAN>connect target SYS/*****;
    5. Executed controlfile restore on RMAN.
         RMAN>Run{
    Allocate channel D1 Type DISK;
              Set controlfile autobackup format for device type DISK to
    ‘\\<ip_address>\Backup\Prod\%F’;
    Restore controlfile from autobackup;
    6. RMAN> ALTER DATABASE MOUNT;
    Now got an error saying ORA-01103: database name ‘PRODDB' in control file is not ‘LASTDB’
    I tried using NID to change the database name but it's throwing an error that database is not mounted.
    I have browsed a lot and found that I need to recreate a control file of the production database using ALTER DATABASE BACKUP CONTROLFILE TO TRACE and should edit the trace file. But it also says to shutdown the source database which is production database and I cannot try that.
    Also I have tried adding a line to init.ora like lock_space_name = LASTDB. Also tried replacing everything from LASTDB to PRODDB but that didn't work either.
    I have been trying to find a solution to this. Please bear with me as I'm a beginner and please let me know how I can fix the error.
    I am running oracle 10.1.0.2.0 enterprise edition on windows 2000.
    Thanks for your patience,
    KG

  • Ent. Manager is not able to connect to the database instance. ORA-12541

    Hi
    I have installed and configured Oracle 10.2.0.1 on a Microsoft Cluster with Windows 2003 Server.
    Database instance and listener are running OK on both cluster nodes.
    On one of the nodes (pwmssrv1) I configured Enterprise Manager to monitor and control the database.
    At the beginning it worked fine, but after making a reboot on this server the Enterprise Manager cannot see the database instance and listener anymore.
    I already recreated/reinstalled EM and the problem persists.
    When I try to access the Oracle EM I get the errors (it do not show the login page):
    Database Instance
    (it shows the red down arrow)
    Host pwmssrv1
    Port 1521
    SID WMS10
    Oracle Home C:\oracle\product\10.2.0\db_1
    Listener
    (it shows the red down arrow)
    Status Down
    Host pwmssrv1
    Port 1521
    Name FSLEFA_BOCWMS_ORA
    Oracle Home C:\oracle\product\10.2.0\db_1
    Location C:\oracle\product\10.2.0\db_1\network\admin
    Details TNS-12541: TNS:no listener
    Agent Connection to Instance
    (it shows the red down arrow)
    Status Failed
    Details ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
    If I do the "emctl status dbconsole" it shows:
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://pwmssrv1.BOCWMS.COM:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory C:\oracle\product\10.2.0\db_1/pwmssrv1.BOCWMS.CO
    M_wms10/sysman/log
    I also look into the logs and it shows a few errors (emoms.log):
    2010-02-22 17:09:49,000 [HttpRequestHandler-9300338] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:56,000 [HttpRequestHandler-22569956] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2010-02-22 17:09:56,000 [HttpRequestHandler-22569956] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:57,000 [HttpRequestHandler-22569956] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2010-02-22 17:09:57,000 [EMUI_17_09_57_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
    Can someone help me on this problem.
    Thanks in advance.
    Jose

    You need to do some troubleshooting to find exact issue...
    Here are some metalink notes,
    How to Verify Agent Connectivity to 'OMS and Repository' Target using emrepresp.pl [ID 472292.1]
    --Database Status Shows Down Getting Error "Failed to Connect to Database Instance: ORA-12541: TNS:no listener " [ID 402227.1]
    --Error While Configuring the Database from the Grid Control Console [ID 750621.1]
    Hope this helps,
    http://www.oracleracexpert.com/
    Oracle RAC Load balancing and failover
    http://www.oracleracexpert.com/2010/01/oracle-rac-load-balancing-and-failover.html
    Download Oracle Grid Control and ASMLib and Install
    http://www.oracleracexpert.com/2009/08/download-oracle-grid-control-and-asmlib.html

  • Error while creating database instance during PI instalation

    Hi Team,
    I am in the installation phase of SAP PI with MAXDB as back end.In the
    phase "create database instance" i am facing the following issue
    "An error occurred while processing option SAP EHP1 for SAP NetWeaver
    PI/Mobile/Banking 7.1 > MaxDB > SAP Systems > Process Integration >
    Standard System > Standard System( Last error reported by the step:
    Error during execution of command identifier 'ACTIVATE'"
    Can you help me in resolving this issue at the earliest.Also i have attached
    the sapinst_dev log filke in this incident along with the
    error screenshot
    Thanks,
    Satheesh E

    Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.
    TRACE      2014-09-08 16:31:08.874 [syxxcnode.cpp:425]
               CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/__instana_tmp.1.xml, ISyNode::CopyMoveMode_t 0x3)
               lib=syslib module=syslib
    Moved C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/__instana_tmp.xml to C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/__instana_tmp.1.xml
    INFO       2014-09-08 16:31:08.905 [synxcpath.cpp:799]
               CSyPath::createFile() lib=syslib module=syslib
    Creating file C:\Program Files\sapinst_instdir\NW711\ADA\INSTALL\STD\AS\__instana_tmp.xml.
    TRACE      2014-09-08 16:31:10.796 [cstatisticmanager.cpp:2241]
               CStatisticManager::writeInstallationSlanaFile_Intern
    TRACE      2014-09-08 16:31:10.811 [syxxcfile.cpp:85]
               CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path: C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/instslana.1.xml, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const 
               lib=syslib module=syslib
    Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.
    TRACE      2014-09-08 16:31:10.811 [syxxcnode.cpp:425]
               CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/instslana.1.xml, ISyNode::CopyMoveMode_t 0x3)
               lib=syslib module=syslib
    Moved C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/instslana.xml to C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/instslana.1.xml
    INFO       2014-09-08 16:31:10.811 [synxcfile.cpp:149]
               CSyFileImpl::removeEx(ISyFSErrorHandler * pErrorHandler)
               lib=syslib module=syslib
    Removed file C:\Program Files\sapinst_instdir\NW711\ADA\INSTALL\STD\AS\instslana.xml.
    INFO       2014-09-08 16:31:10.811 [synxcpath.cpp:799]
               CSyPath::createFile() lib=syslib module=syslib
    Creating file C:\Program Files\sapinst_instdir\NW711\ADA\INSTALL\STD\AS\instslana.xml.
    TRACE      2014-09-08 16:31:10.889
    SAPInst calls the LogInquirer. The output of the LogInquirer can be found in file sapinst_loginquirer.log.
    TRACE      2014-09-08 16:31:15.669 [iaxxgenimp.cpp:638]
                CGuiEngineImp::showMessageBox()
    <html> <head> </head> <body> <p> An error occurred while processing option <i>SAP EHP1 for SAP NetWeaver PI/Mobile/Banking 7.1 > MaxDB > SAP Systems > Process Integration > Standard System > Standard System( Last error reported by the step: Error during execution of command identifier 'ACTIVATE' : <DBMException -24988 ERR_SQL SQL error
    -2014,Identifier too long>)</i>. You can now: </p> <ul> <li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more information about the error. </li> <li> Stop the option and continue later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS. </p> </body></html>
    TRACE      2014-09-08 16:31:15.669 [iaxxgenimp.cpp:1031]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    INFO       2014-09-08 16:31:19.434 [sixxcstepexecute.cpp:1002]
    An error occurred and the user decided to retry the current step: &quot;|NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_ADA_DB|ind|ind|ind|ind|nw_ada_db|0|SdbPreInstanceDialogs|ind|ind|ind|ind|preinstance_dialogs|0|SdbInstanceDialogs|ind|ind|ind|ind|instance_dialogs|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|instance_create|0|sdb_instance_activate&quot;.
    INFO       2014-09-08 16:31:19.450 [synxccuren.cpp:887]
               CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath & C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS)
               lib=syslib module=syslib
    Working directory changed to C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS.
    TRACE      2014-09-08 16:31:19.465 [syxxcfile.cpp:85]
               CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & {m_nodeTypeForCombiCheck: ..., m_path: C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/stepLogMessages.2.xml, m_realNodeType: 8}, ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const 
               lib=syslib module=syslib
    Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.
    TRACE      2014-09-08 16:31:19.465 [syxxcnode.cpp:425]
               CSyNodeImpl::move(const CSyPath & C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/stepLogMessages.2.xml, ISyNode::CopyMoveMode_t 0x3)
               lib=syslib module=syslib
    Moved C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/stepLogMessages.xml to C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS/stepLogMessages.2.xml
    TRACE      2014-09-08 16:31:19.497
    Instantiating new NWUsageTypeBasic
    TRACE      2014-09-08 16:31:19.497
    NWUsageTypeBasic() done
    TRACE      2014-09-08 16:31:19.497
      Call block: SDB_INSTANCE_CREATE_ind_ind_ind_ind
        function: SDB_INSTANCE_CREATE_ind_ind_ind_ind_PreStepPhase_sdb_instance_activate_Preprocess
    is validator: false
    TRACE      2014-09-08 16:31:19.543 [sixxcstepexecute.cpp:839]
    Execution of preprocess block of |NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_ADA_DB|ind|ind|ind|ind|nw_ada_db|0|SdbPreInstanceDialogs|ind|ind|ind|ind|preinstance_dialogs|0|SdbInstanceDialogs|ind|ind|ind|ind|instance_dialogs|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|instance_create|0|sdb_instance_activate returns TRUE
    TRACE      2014-09-08 16:31:19.575
    Instantiating new NWUsageTypeBasic
    TRACE      2014-09-08 16:31:19.575
    NWUsageTypeBasic() done
    TRACE      2014-09-08 16:31:19.575
      Call block: SDB_INSTANCE_CREATE_ind_ind_ind_ind
        function: SDB_INSTANCE_CREATE_ind_ind_ind_ind_PreStepPhase_sdb_instance_activate
    is validator: false
    TRACE      2014-09-08 16:31:19.621
    WorkDir: C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS
    TRACE      2014-09-08 16:31:19.621
    SdbOperations.callSdbCmdJar() Use java home : C:/Users/EGSAPI~1/AppData/Local/Temp/sapinst_exe.4716.1410173586/jre
    TRACE      2014-09-08 16:31:19.637
    SDB invoking java call:
    C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe -classpath "C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS\sdb_sl_lib.jar;C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS\sdb_sl_lib_api.jar;C:/Program Files/sapinst_instdir/NW711/ADA/INSTALL/STD/AS\sdb_core.jar" com.sap.sdb.core.main.cmd.SdbCmdMain
    TRACE      2014-09-08 16:31:19.637 [synxcchapp.cpp:275]
               CSyChildApplicationImpl::doStart() lib=syslib module=syslib
    Going to call CreateProcess/CreateProcessAsUser for 'C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe' now.
    TRACE      2014-09-08 16:31:19.637 [synxcchapp.cpp:575]
               CSyChildApplicationImpl::doStart() lib=syslib module=syslib
    Trying to start C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe CSySysLibCallsWrapper::syscallwrapper()->__CreateProcess__(NULL, <command line for executable C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe, NULL, NULL, TRUE, 0x420, NULL, NULL, &StartupInfo, &ProcessInfo)
    TRACE      2014-09-08 16:31:19.637 [synxcchapp.cpp:653]
               CSyChildApplicationImpl::doStart() lib=syslib module=syslib
    A child process has been started. Pid = 4956. Executable name: C:\Users\EGSAPI~1\AppData\Local\Temp\sapinst_exe.4716.1410173586\jre\bin\java.exe
    TRACE      2014-09-08 16:31:19.637

  • Error during Database instance installation of NW04s Portal installation

    Hello All,
         This is our system environment:
       Portal - NW04s SR1 (SCS instance on one host) -- finished successfully
       Database - MS SQL Server 2005 on a separate host
    We are doing a domain installation. The database was installed successfully, but when trying to install the database instance during the NW04s installation, I am getting the following errors:
    <b>ERROR      2007-01-03 11:30:10 [syxxsyshlp.cpp:78]
               syslib::printOSError(const iastring &, int, DWORD, const iastring &, CMessage::eLogMessage) FSL-00001  System call failed. Error 5 (Access is denied.
    ) in execution of system call 'CopyFile' with parameter (
    DCASAPHR05\sapmnt\EPD\SYS\profile\DEFAULT.PFL,
    DCASAPHR05\sapmnt\EPD\SYS\profile\DEFAULT.1.PFL, FALSE), line (478) in file (synxcfile.cpp).
    ERROR      2007-01-03 11:30:10 [syxxcnode.cpp:402]
               CSyNodeImpl::move(const CSyPath &
    DCASAPHR05/sapmnt/EPD/SYS/profile/DEFAULT.1.PFL, ISyNode::CopyMoveMode_t 0x3) FSL-02039  Unable to move or rename node
    DCASAPHR05/sapmnt/EPD/SYS/profile/DEFAULT.PFL with type file/directory to
    DCASAPHR05/sapmnt/EPD/SYS/profile/DEFAULT.1.PFL: Overlapped I/O operation is in progress.
    ERROR      2007-01-03 11:30:10
               CJSlibModule::writeError_impl() MUT-03025  Caught ESyException in Modulecall: ESAPinstException: error text undefined.
    ERROR      2007-01-03 11:30:10 [iaxxgenimp.cpp:736]
               showDialog() FCO-00011  The step createDefaultProfile with step key |NW_Java_DB|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|6|0|createDefaultProfile was executed with status ERROR .</b>
    Could anybody please help me through this process?
    Thanks much in advance,
    Sunitha

    Hi,
    I would try adding epdadm and SAPServiceEPD accounts to Administrators group and give Administrators full access to sapmnt shared area. Also double check SAP_EPD_GlobalAdmin domain admin authority and SAP_LocalAdmin and SAP_EPD_LocalAdmin accounts.
    Open
    DCASAPHR05\sapmnt\EPD\SYS\profile folder using explorer and created file and see if there is any authorzation issues with domail\sapinst account.
    good luck
    Kondala Rao

  • Not able to connect linux database instance in another machine

    Hi,
    I have installed oracle 10g database server in Linux, and i created one database instance. and i have added tns entry and listener entry.
    I am to connect the database on that machine. but not in different machine. i am able to access/ping linux machine in another machine also.
    while creating tns entry for linux database instance in another machine using "netca" i am getting this error.
    Connecting...ORA-12560: TNS:protocol adapter error
    The test did not succeed.
    Some of the information you provided may be incorrect.
    Click Back to review the information provided for net service name, or Change Login to change username.
    I verified listener and tns entry ( i think for this listener configuration is enough) also. and database is up.
    If anybody knows why i am not able to connect linux database in another machine. is there any network configurations other than listener configuration.
    Thanks in advance.

    yes i tried to connect with ORACLE_SID, its successful. and using tnsname like you said.
    Instead of using netca to create the tnsnames.ora entry on the second server, copy the tnsnames.ora entry from the DB server. Then use tnsping to test connection :-i done above but not able to ping the tns name, i am getting this error.
    TNS-12560: TNS:protocol adapter error
    ------------------------------------------------

  • Problem in accessing second database instance on same host (ORA-12514)

    Hi,
    I had a database ICMDB installed on my machine. After that i created a second database instance (Service name: BI_APPS) using DBCA on the same machine. Using NETCA i also created a new listener OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER on port 1522 on my machine. Then i configured this listener to listen for connections to service BI_APPS by adding the following to my tnsnames.ora:
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    Then i changed the port in my tns entry for BI_APPS to 1522 as follows:
    BI_APPS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = BI_APPS)
    I then restarted the following services:
    OracleOraDb11g_home1TNSListener
    OracleServiceBIAPPS
    OracleOraDb11g_home1TNSListenerBI_APPS_LISTENER
    After this, when i try to access my first DB ICMDB via toad, the connection is successful. However, when i try to access the service BI_APPS i get the following error:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    What am i doing wrong? Here is the content of my files:
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
    BI_APPS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = BI_APPS)
    LISTENER_ICMDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ICMDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = icmdb)
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # 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)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    LISTENER.ORA
    # listener.ora Network Configuration File: D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    BI_APPS_LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.109)(PORT = 1522))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    ADR_BASE_BI_APPS_LISTENER = D:\app\Oracle
    SID_LIST_BI_APPS_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = D:\app\Oracle\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    Here is output of lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-DEC-2013 16:17:01
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                12-DEC-2013 10:34:35
    Uptime                    0 days 5 hr. 42 min. 26 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\app\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         d:\app\oracle\diag\tnslsnr\ICMDEVDB\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ICMDEVDB)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.109)(PORT=1521)))
    Services Summary...
    Service "BIAPPSXDB" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "BI_APPS" has 1 instance(s).
      Instance "biapps", status READY, has 1 handler(s) for this service...
    Service "icmdb" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    Service "icmdbXDB" has 1 instance(s).
      Instance "icmdb", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Jimit wrote:
    Hi Ed,
    I understand your point, however whenever i have tried to use the same listener to access my second instance, this is the error i have always received:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    That does not indicate you need a second listener.
    And, after deleting the listener.ora file ,if i try the the command lsnrctl start, i get the error:
    ORA-12560: TNS:protocol adapter error
    Hence i restored the files. What do i do?
    I've never experienced a 12560 trying to start a listener.  I'll need to see if I can create a test system on Windows and try to recreate.  Will be a good subject for my blog, that has been too long with no new content.
    Since this is windows, I'd first check that the Windows service for the listenr is started.
    Whatever, multiple listeners is NOT the solution.

  • Database Instance Using Swap Space even When There is Plenty of Free RAM

    Hi,
    I am facinga strange issue in oracle on solaris 5.10
    Platform:solaris 5.10
    Database version:11.2.0.1.0
    Our database Instance Using Swap Space even When There is Plenty of Free RAM.
    We have 80GB of physical RAM, 32GB is set to oracle SGA_MAX_SIZE
    memory parameters:
    memory_max_target big integer 32G
    memory_target big integer 32G
    sga_max_size big integer 32G
    sga_target big integer 32G
    but still oracle is taking memory from swap even though we have enough physical memory.
    please find the top output
    load averages: 0.09, 0.18, 0.84 01:07:49
    134 processes: 133 sleeping, 1 on cpu
    CPU states: 99.4% idle, 0.4% user, 0.3% kernel, 0.0% iowait, 0.0% swap
    Memory: 80G real, 69G free, 35G swap in use, 49G swap free
    PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
    1052 oracle 13 59 0 95M 66M sleep 13:16 0.07% oraagent.bin
    10256 oracle 1 59 0 32G 835M sleep 0:00 0.03% oracle
    1227 oracle 15 59 0 78M 56M sleep 4:27 0.02% ocssd.bin
    9524 vector1 112 59 0 1704M 776M sleep 45:04 0.02% java
    988 oracle 38 59 0 119M 92M sleep 3:00 0.02% ohasd.bin
    1297 oracle 1 101 -20 453M 390M sleep 2:47 0.02% oracle
    1765 oracle 1 101 -20 32G 329M sleep 2:45 0.02% oracle
    10258 oracle 1 59 0 32G 345M sleep 0:00 0.02% oracle
    10259 oracle 1 59 0 3400K 2024K cpu/20 0:00 0.01% top
    1777 oracle 1 59 0 32G 342M sleep 1:14 0.01% oracle
    1246 oracle 6 59 0 56M 44M sleep 1:22 0.01% diskmon.bin
    1803 oracle 1 59 0 32G 514M sleep 0:30 0.01% oracle
    1215 oracle 15 59 0 71M 46M sleep 1:12 0.00% cssdagent
    1307 oracle 1 59 0 453M 390M sleep 0:45 0.00% oracle
    1217 oracle 11 59 0 81M 49M sleep 0:35 0.00% orarootagent.bi
    Vmstat output:
    $vmstat 5 5
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s3 s3 s3 s3 in sy cs us sy id
    0 0 0 53698448 73900568 20 81 32 6 5 0 1 -0 0 1 -0 2235 1447 1984 1 0 99
    0 0 0 51196160 72037552 1 13 0 0 0 0 0 0 0 0 0 2505 1403 2204 0 0 100
    0 0 0 51193488 72035864 55 380 0 0 0 0 0 0 0 0 0 2487 2143 2203 0 1 99
    0 0 0 51183856 72030176 0 0 0 3 3 0 0 0 0 0 0 2496 1370 2182 0 0 99
    0 0 0 51182648 72029112 22 117 0 0 0 0 0 0 0 0 0 2503 1408 2193 1 0 99
    $cat /etc/release
    Solaris 10 10/09 s10s_u8wos_08a SPARC
    Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 16 September 2009
    I refered the metalink document id: [ID 761960.1]
    Database Instance Using Swap Space When There is Plenty of Free RAM metalink note [ID 761960.1]
    and tried the disabling the sga_max_size and memory_max_target and memory target with all different combination but no use.
    We have one more box where same setup was configured in solaris platform but there the above memory parameters are not disabled but it is not using swap space it takes memry only from physical RAM
    Can any one throw some lights on this issue. It wopuld be great if I come to know where the exact problem
    Thanks in advance
    With Regards,
    Boobathi P

    Hi,
    I didn't say I am not using 11gr2 memory parameters I am using all the automatic memory parameters but the thinks is as per the metalink note I tried by disabling the automatic memory parameters. but that didn't help me in preventing unnecessary swap usage. So I reverted. now it is using automatic memory parameters.
    so What is the solution for this?
    With Regards,
    Boo

  • Adding a standalone instance to a farm

    We have 2 application servers running 10g.
    The first server I have created a farm (new file based repository). I have added that servers instance to the farm.
    What I want to do is add the other application server instance to the farm.
    When I issue this command either manually or through iasconsole, I get this error:
    Command: dcmctl joinFarm -r myrephost.mydomain.com:7100
    ADMN-202501
    Base Exception:
    The exception 202001, has occurred in the cache layer of the persistence manager on the Oracle Application Server Instance "myrephostInstance.myrephost.mydomain.com",
    "An exception has occurred while accessing DCM repository. Please refer to the accompanying base exception for more details.
    Resolution:
    check the details of the base exception.
    Base Exception:
    The exception 202504, has occurred in the cache layer of the persistence manager
    "No network connection to [192.168.2.8:7152, pos=2, uid=0, name=, pri=0]".
    Now I'm executing this command from the standalone instance that I want to be added to the farm. The ip is 192.168.2.8. The machines are on the same switch, so there is network connectivity because I can ssh, smb, etc. I guess the real question is, how does it pick port 7152? I know my dcmCache.xml states the following:
    <port lower="7120" upper="7179"/>
    So I guess it just picks a port in between? I cannot telnet from my repository machine to the machine i want to add to the farm via any of those ports. I dont see anything from "netstat -natp" running except dcm-daemon on port 7100.
    I cannot find one single person that has this issue based on forums, yahoo, google, etc. Anyone know where I can look for more guidance?
    Thanks so much

    I guess a way around this..and a really better approach is to create a database-based repository. Although, my oracle database doesnt have a dcm schema. Does anyone know if i can export a file-based repository to a database-based repository or how would i go about created a database-based repository for the first time ?

  • EM Alert: Critical:PROD.test.edu.au - Failed to connect to database instanc

    HI Experts,
    Today i got this alert from oem grid during RMAN bakcup of the PROD database.when i try to connect the database i am able to get into to the DB successfully with out any issues.
    But i am not sure why this error has come and resone behind that.Please advise.
    From: Oracle OEM [mailto:[email protected]]
    Sent: Tuesday, February 22, 2011 11:21 PM
    To: DBA_GROUP
    Subject: EM Alert: Critical:PROD.test.edu.au - Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
    Target Name=PROD.test.edu.au
    Target type=Database Instance
    Host=delhi.win.test.edu.au
    Occurred At=Feb 22, 2011 11:20:33 PM EST
    Message=Failed to connect to database instance: ORA-00257: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin).
    Severity=Critical
    Acknowledged=No
    Notification Rule Name=Database Availability and Critical States
    Notification Rule Owner=SYSMAN
    when i check the alertlog file i could see the following
    Tue Feb 22 23:01:36 2011
    Starting control autobackup
    Control autobackup written to DISK device
    handle '/oracledb/rman_backup/PROD/control_c-197342269-20110222-01'
    Tue Feb 22 23:22:42 2011
    Errors in file /oracle/admin/PROD/udump/hubprd_ora_27069.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01438: value larger than specified precision allowed for this column
    ORA-06512: at line 2
    PLease let me know the cause of the issues and solution to overcome this issues.
    Regards,
    Salai

    It would appear that your archive location is full. If it is full, then try to get some more free space there by either deleting the old archives or specifying a different location.
    I don't see any mention of a flash recovery area in the log message, but you may also want to confirm that you have reached your space allocated to the FRA.

  • Homogeneous System Copy - Installation of Database Instance not possible...

    I try to create a SAP NetWeaver 7.0 SR3 Portal based on a homogeneous SAP System Copy. Therefore I already installed in a first step (first option within SAPINST for installing a target system of a system copy) the Central Services Instance successfully on a machine. In the next step I'd like to create the Database Instance with SAPINST but I cannot choose the DB instance that I already created based on a restore within the new DB server (MS SQL 2008 Cluster installation). I can only choose the local machine for using a DB instance but there is no MS SQL Server installed!
    Do I have to start SAPINST on the DB server itself which is not possible/allowed (due to operating/organization reasons)?
    Is there any SAPINST parameter which I have to use for telling SAPINST that the DB is located on a different server?!?
    The documentation just says:
    The target system is installed using the exports from the source system.
    Choose the installation services exactly in the order they appear. For more information, see the MS SQL Server installation guide for your SAP system at http://service.sap.com/installnw70.
    On the SAPinst screen SAP SystemDatabase make sure to select Homogeneous System Copy (MS SQL Server-specific: Detach/Attach or Backup).
    Thanks for supporting and Regards,
    Claudio Schmidt

    OK, SAP Note 1076022 says:
    SAP installation packages on SAP Service Marketplace
    On March 27, 2008, SAP released the Netweaver installation package SR3, which supports SQL Server 2008 (R2). Note 1152240 discusses the details and lists some restrictions. Make sure you carefully read Note 1152240 and use a recent enough installation master DVD.
    SAP Note 1152240 says:
    If you want to perform a system copy of an SAP system that is based on SAP NetWeaver 7.0 SR3 on SQL Server 2008 (R2), you cannot use the Installation Master and Kernel DVD that you received from SAP or downloaded from SAP Service Marketplace (SMP). Instead, you have to do the following:
    - Patch your runtime libraries as described in SAP note 684106
    - Use a modified Installation Master DVD. For more information, see section "IV Creating a modified Installation Master DVD".
    - Use a modified Kernel DVD. For more information about how to create a modified kernel DVD, see SAP note 1480785.
    What problem is fixed by using the modified Installation Master DVD? Is it possible to install the DB part on a server apart of the local machine where SAPINST is run (my initial question/problem I want do resolve)?
    Regards,
    Claudio

  • Adding new database to RAC.

    Instance not starting after adding new database to RAC.
    CRS-0215: Could not start resource 'xxxxxxxxx.inst'.
    PRKP-1001 : Error starting instance db on node host

    Hi,
    Can you check the tnsnames.ora for this iinstance on the node where you are trying to add the instance.
    ex:
    LISTENERS_MYRAC =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = inst1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = inst2-vip)(PORT = 1521))
    Regards,
    vasu

Maybe you are looking for