Cannot configure EM Database Control

I have two Oracle 10gR2 instances running, PROD and ACPT.  ACPT is alledgedly a clone of PROD made some 9 months before I came on board this project.  I need to get EM DB Control (Not Grid Control) running on ACPT.  After reviewing the clone procedures they say they followed to create it, I cannot vouch for the viability of the ACPT instance.  It is running, can be accessed by SQL Developer, SQL*Plus, and other web-based interfaces.  But EM will not connect to it.  I have tried EMCA ... -repos recreate, -repos drop/create, and get nothing but a bunch of errors.  -repos create crashes trying to create the SYSMAN account (which was successfully dropped by RepManager).  The CREATE USER SYSMAN command generates an error from TNS, saying an unsupported action was attempted.
It is interesting to note that, on PROD, emctl status agent says the agent is running and ready, but, just like on ACPT, emctl status dbconsole says that OEM 10g is not running.  I say interesting because I am simultaneously connected to the EM it says is not running.
I do not much trust the configuration of ACPT, mainly because of the OEM problems, but also because there seem to be steps missing in the roadmap they followed to create it.  There is no mention of OEM anywhere in it, and this seems odd.
The client is, by choice, not running Grid Control anywhere, just individual DB Control isolated in each instance.  This should be fine, but there has to be something to adjust concerning EM when cloning such a DB.
What am I missing, or where am I expecting something unreasonable??  RepManager effectively deleted the <hostname>_ACPT directory structure (although had made a copy before it did so).  It also dropped the SYSMAN schema and its objects.  But emca -config dbconsole db -repos create craps out as I mentioned above.

user11377949 wrote:
I have two Oracle 10gR2 instances running, PROD and ACPT.  ACPT is alledgedly a clone of PROD made some 9 months before I came on board this project.  I need to get EM DB Control (Not Grid Control) running on ACPT.  After reviewing the clone procedures they say they followed to create it, I cannot vouch for the viability of the ACPT instance.  It is running, can be accessed by SQL Developer, SQL*Plus, and other web-based interfaces.  But EM will not connect to it.  I have tried EMCA ... -repos recreate, -repos drop/create, and get nothing but a bunch of errors.  -repos create crashes trying to create the SYSMAN account (which was successfully dropped by RepManager).  The CREATE USER SYSMAN command generates an error from TNS, saying an unsupported action was attempted.
It is interesting to note that, on PROD, emctl status agent says the agent is running and ready, but, just like on ACPT, emctl status dbconsole says that OEM 10g is not running.  I say interesting because I am simultaneously connected to the EM it says is not running.
I do not much trust the configuration of ACPT, mainly because of the OEM problems, but also because there seem to be steps missing in the roadmap they followed to create it.  There is no mention of OEM anywhere in it, and this seems odd.
The client is, by choice, not running Grid Control anywhere, just individual DB Control isolated in each instance.  This should be fine, but there has to be something to adjust concerning EM when cloning such a DB.
What am I missing, or where am I expecting something unreasonable??  RepManager effectively deleted the <hostname>_ACPT directory structure (although had made a copy before it did so).  It also dropped the SYSMAN schema and its objects.  But emca -config dbconsole db -repos create craps out as I mentioned above.
You have made several references to "errors", but have not seen fit to actually share any specific error with us.  We can certainly help you get dbcontrol configured, but we have to know exactly what commands you issue and exactly what error messages are returned.  Copy and paste from a terminal session can be quite helpful.

Similar Messages

  • Configurations with database control

    I want to do configurations with database control but when i give servername like
    http://pluto:1178
    i am getting error that page cannot be displayed
    $ more portlist.ini
    iSQL*Plus HTTP port number =5570
    Enterprise Manager Console HTTP Port (test) = 1178
    Enterprise Manager Agent Port (test) = 3978

    Thanks its working but its not showing the options like
    Home
    Performance Administration Maintenance
    only startup and recovery options are there
    Please let me know how to enable b] Performance Administration Maintenance

  • Configuring EM Database Control when database is running on different IP

    OS Solaris
    DB Oracle 10.2.0.2
    The have the following situation:
    We have a veritas active/passive cluster. This is not RAC. Server name is abc. But the database is running on VIP xyz. How do I configure database control to run on vip xyz. whenever I run emca -config dbconsole db, it always sees the server name as abc.
    I also tried emca -config dbconsole db -HOST xyz but finally it always shows the hostname as abc.
    I was able to get EM to see the targets (database, listener) properly on the vip xyz by manually editing the targets.xml file. So now the situation is, on the home page it shows that the datbaase is up and the listener is up, but it complains that it cannot connect to the database.
    I really appreciate any help in this.
    -Nags

    DBConsole installs requiring different hostnames (virtual) than the physical hostname, simply set ORACLE_HOSTNAME variable to the new virtual hostname and run emca.
    in detail please read this note , it might help you
    Configure DB Control 10.2 for use in Active/Passive High Availability Environments
    Overview and Requirements:
    In order for the DB Control to service a database instance after failing over to a different host in the cluster, the following conditions must be met:
    1. Install on a shared disk/volume which holds the binaries, the configuration and the runtime data (including the database). Installations on non-shared devices are not supported.
    2. Configuration data and metadata must also failover to the surviving node
    3. Inventory location must failover to the surviving node
    4. Software owner and timezone parameters must be the same on all cluster member nodes that will host this database
    Installation and Configuration:
    • In order to override the physical hostname of the cluster member with a virtual hostname, you must use the parameter ORACLE_HOSTNAME to configure DBConsole
    • For inventory pointer, software must be installed using the commandline parameter ‘-invPtrLoc’ to point to the shared inventory location file, which includes the path to the shared inventory location.
    • The database software, the configuration of the database and DB Control is done on a shared volume.
    Note: The use of OCFS V1 to install shared Oracle binaries is currently not supported.
    If you are using an NFS mounted volume for the installation, please ensure that you specify rsize and wsize in your mount command to prevent running into I/O issues.
    See Metalink Note <279393.1>
    Example:
    lxdb.acme.com:/u01/app/share1 /u01/app/share1 nfs rw,bg,rsize=32768,wsize=32768,hard,nointr,tcp,noac,vers=3,timeo=600 0 0
    A. Setup the alias for the virtual hostname/virtual IP address
    You can do this by either allowing the clusterware to set it up, or manually before installation and startup of Oracle services. This virtual hostname must be static and resolveable consistently on the network: All nodes participating in the setup must resolve the virtual IP address to the same hostname. Standard TCP tools like nslookup and traceroute can be used to verify.
    B. Setup shared storage
    This can be storage managed by the clusterware that is in use or, you can use any shared file system (FS) volume as long as it is not an unsupported type, such as OCFS V1. The most common shared FS is NFS.
    C. Setup the environment:
    Some OS versions require specific OS patches to be applied prior to installing 10gR2. The user installing and using the 10gR2 software must also have sufficient kernel resources available. Refer to the installation guide for more details.
    Before you launch the installer, certain environment variables need to be verified. Each of these variables must be set identical for the account installing the software on ALL machines participating in the cluster:
    • OS variable TZ
    Timezone setting. Recommended to unset this prior to the installation
    • PERL variables
    Variables like PERL5LIB should be unset to prevent the install (OUI) and DB Control to pick up the wrong set of PERL libraries
    • Paths used for dynamic libraries
    Based on the OS, the variables can be LD_LIBRARY_PATH, LIBPATH, SHLIB_PATH or DYLD_LIBRARY_PATH. These variables should ONLY point to directories, which will be visible and usable on each node of the cluster.
    D. Ensure that oracle user name, ID and group name and ID are in sync on all cluster members
    The user and group of the software owner should be defined identically on all nodes of the cluster. This can be verified using the ‘id’ command:
    $ id -a
    uid=1234(oracle) gid=5678(dba) groups=5678(dba)
    E. Ensure that inventory files are on the shared storage
    1. Create your new ORACLE_HOME directory.
    2. Create the Oracle Inventory directory under the new oracle home
    cd <shared oracle home>
    mkdir oraInventory
    3. Create the oraInst.loc file. This file contains the Inventory directory path information needed by the Universal Installer.
    a. vi oraInst.loc
    b. Enter the path information to the Oracle Inventory directory, and specify the group of the software owner as the dba user:
    Example:
    inventory_loc=/app/oracle/product/10.2/oraInventory
    inst_group=dba
    F. Start the installer:
    You need to point to the inventory location file oraInst.loc (under the ORACLE_BASE in this case), as well as specifying the hostname of the virtual group. Debug parameter is optional.
    runInstaller -invPtrLoc /app/oracle/share1/oraInst.loc ORACLE_HOSTNAME=lxdb.acme.com –debug
    G. Update the SPFILE and tnsnames.ora file
    Add an listener entry to the spfile file that points to an entry in the tnsnames file calling the virtual IP directly. As an example, set a tnsnames.ora entry that points to the virtual host name:
    LISTENER_DBC =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = lxdb.acme.com)(PORT = 1521))
    Then update the spfile parameter local_listener to point to the new tnsnames.ora entry:
    SQL> alter system set local_listener='LISTENER_DBC';
    SQL> show parameter local
    NAME TYPE VALUE
    local_listener string LISTENER_DBC
    H. Startup of services:
    Ensure that you start your services in the proper order:
    - establish IP address on the active node
    - start the TNS listener
    - start the database
    - start dbconsole
    - test functionality
    In case of failure…
    - Establish IP on failover box
    - start TNS listener lsnrctl start
    - start the database dbstart
    - start dbconsole emctl start dbconsole
    - test functionality
    If you want to manually stop or shutdown a service:
    Stop the application
    Stop DB Control emctl stop dbconsole
    Stop TNS listener lsnrctl stop
    Stop DB dbshut
    Stop IP

  • How do I configure OEM Database Control 10g

    Hi Gurus,
    I have Oracle 10g Release 2 (10.2.0.1) on Windows XP installed. How do I configure Database Control 10g??
    Any help is appreciated
    Thanks !!!

    Use the enterprise manager configuration assistent (emca)
    <ORACLE_HOME>\bin\emca
    with emca -h you get some help

  • The service name is invalid When starting the Database Control

    Dear Oracle Expert,
    I have installed Oracle database 11g on Windows Professional x64 Edition Version 2003 Service Pack 2..
    When I try to start the Database control after renaming the IP_address to the local machine name which is robert. It prompts back with an error.
    C:\>emctl status dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    C:\>set ORACLE_SID=ocp11g
    C:\>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://192.168.1.67:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is not running.
    C:\>emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://192.168.1.67:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ...The service name is i
    nvalid.
    More help is available by typing NET HELPMSG 2185.
    C:\>hostname
    robert
    C:\>emctl status dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>set ORACLE_SID=ocp11g
    C:\>emctl status dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>emctl start dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>SET ORACLE_HOME= C:\app\Administrator\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBC
    onsole_robert_ocp11g
    C:\>set ORACLE_SID=ocp11g
    C:\>emctl status dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>emctl start dbconsole
    OC4J Configuration issue. C:\app\Administrator\product\11.1.0\db_1/oc4j/j2ee/OC4
    J_DBConsole_192.168.1.67_ocp11g not found.
    C:\>
    Thanks in advance.
    Rlee

    Hello Oracle experts,
    I have to managed to Configure the Database Control by configuring a Microsoft Network adapter on my laptop but
    right now I can't access it within the URL.
    Tests of the running Database control include:
    C:\Documents and Settings\Administrator>emctl status dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    C:\Documents and Settings\Administrator>SET ORACLE_SID=ocp11
    C:\Documents and Settings\Administrator>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://robert:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    Logs are generated in directory C:\app\Administrator\product\11.1.0\db_2/robert_
    ocp11/sysman/log
    C:\Documents and Settings\Administrator>
    When I try to access the database control, I am un able to.
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the robert:1158 home page, and then look for links to the information you want.
    Click the Back button to try another link.
    Click Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    Is this something related to Internet Explorer.
    Kindly rescue me out.
    Regards,
    RLee

  • Database control won't run in secure mode

    I'm following the instructions displayed by the database configuration manager after creating a database. These instructions configure the database control to run in secure mode using https. I get an error with the following command run from the OS command line while in the ORACLE_HOME/bin directory:
    emctl.bat secure dbconsole -sysman_pwd password
    I get the error message "Failed to create EM root key."
    The emdctl.trc file has the following entry: "No connection could be made because the target machine actively refused it."
    The ORACLE_SID has already been set. The database control is down. The "emctl config emkey -repos" command completed successfully.
    I'm using Oracle 10.2.0.4 on Windows 2003 server. I'm running this command on the database server. The database control was selected in the database configuration manager. This database control does run successfully in http mode, but I can't configure it for https.
    Does anyone know why the target machine would actively refuse this connection?

    Have you tried it without the -sysman_pwd flag ?
    MOS Doc 276950.1 - How to setup Enterprise Manager Database Control for SSL (HTTPS) secure connection
    HTH
    Srini

  • Database control hangs in Workshop Tutorial !!!

    Hi,
    I am using WLS 7.0.1.0/SP1 ( latest version ) with Workshop included, on Windows
    XP Prof. In Workshop Tutorial, Step 3, the test hangs at the execution of
    Applicant dbApplicant = bankruptciesDB.checkForBankruptcies(taxID);
    I am asking if it is a known problem? There may be several reasons for this and
    it is too expensive to investigate all of them:
    1. Tutorial text misses a fragment describing special configuration for the Database
    control
    2. Tutorial is correct but default ( installation ) configuration of Database
    control has bug(s)
    3. A helper class, implementing BankruptciesDatabaseControl interface, is missed.
    4. Implementation of Database control is buggy. What the magic happens when I
    “SELECT TAXID, FIRSTNAME, LASTNAME, CURRENTLYBANKRUPT FROM BANKRUPTCIES WHERE
    TAXID={taxID}”, i.e. only a sub-set of “Applicant” attributes in the query, and
    how Database control ( using my interface method public Investigate.Applicant
    checkForBankruptcies(String taxID) ) knows which database table field to map to
    which Applicant” attribute ? [I suppose, creation of “Applicant” class is independent
    from the database schema, isn’t it ?]
    Thank you,
    - Michael

    Sure, I will send you the dump. Please, provide me with your e-mail.
    As of column names, don’t you find it error-prone approach where a developer has
    to “find” the names and type them into the code ? Since you are already deal with
    a db adapter/controller, I suggest, the adapter has to read a db schema, gets
    the column names and data types. In other words, I would expect in this case the
    same functionality as provided by, e.g., TogetherSoft’s Control Center. It creates
    Entity Beans out of the db schema and only then allows you to manipulate them.
    Thank you and wait for your e-mail.
    - Michael
    "Anurag Pareek" <[email protected]> wrote:
    Michael,
    The names of the elements in the 'Applicant' class should match one-on-one
    with the database column names in the corresponding table.
    I guess you are using the default Pointbase database. Can you check whether
    you were able to create successful connections to the Pointbase database
    during server startup?
    If the server is hanging at the statement you have mentioned, can you
    take a
    thread dump by using Ctrl->Break and email it to me.
    Thanks,
    Anurag
    "Michael Poulin" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am using WLS 7.0.1.0/SP1 ( latest version ) with Workshop included,on
    Windows
    XP Prof. In Workshop Tutorial, Step 3, the test hangs at the executionof
    Applicant dbApplicant = bankruptciesDB.checkForBankruptcies(taxID);
    I am asking if it is a known problem? There may be several reasonsfor
    this and
    it is too expensive to investigate all of them:
    1. Tutorial text misses a fragment describing special configurationfor
    the Database
    control
    2. Tutorial is correct but default ( installation ) configuration ofDatabase
    control has bug(s)
    3. A helper class, implementing BankruptciesDatabaseControl interface,is
    missed.
    4. Implementation of Database control is buggy. What the magic happenswhen I
    "SELECT TAXID, FIRSTNAME, LASTNAME, CURRENTLYBANKRUPT FROM BANKRUPTCIESWHERE
    TAXID={taxID}", i.e. only a sub-set of "Applicant" attributes in thequery, and
    how Database control ( using my interface method publicInvestigate.Applicant
    checkForBankruptcies(String taxID) ) knows which database table fieldto
    map to
    which Applicant" attribute ? [I suppose, creation of "Applicant" class
    is>independent>> from the database schema, isn't it ?
    Thank you,
    - Michael

  • Question about Note 870814.1 - Backing up EM Database Control Data

    Quick question -- why would you want to downgrade OEMDC after upgrading to 11gR2?
    "After upgrading to Oracle Database 11g release 2(11.2), if you want to downgrade Oracle Enterprise Manager Database Control you must save your Database Control files and data before upgrading your database."

    If you want to keep your current database control configuration after a downgrade you have to save this configuration before downgrading. Otherwise - after the downgrade - you would have a clean configuration. Database control continue to work, but it starts a new incarnation.
    Werner

  • Problem with Database Control

    Hi @all
    OS Windows Server 2008 (Standard)
    DB 11.1.0.7.0
    I try to configure DB Control manually with
    D:\ORACLE\product\11.1.0\db_1\BIN>emca -config dbcontrol db -repos create
    result is
    15.09.2009 13:19:14 oracle.sysman.emcp.EMConfig perform
    INFO: Dieser Vorgang wird in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_1
    3_15_52.log protokolliert.
    15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
    WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emd.properties konnte
    nicht gesichert werden
    15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
    WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties.emca
    konnte nicht gesichert werden
    15.09.2009 13:19:15 oracle.sysman.emcp.util.FileUtil backupFile
    WARNUNG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\emd\targets.xml konnte nicht
    gesichert werden
    15.09.2009 13:19:15 oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Database Control wird gestoppt (dies kann etwas lõnger dauern) ...
    15.09.2009 13:19:15 oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Das EM-Repository wird erstellt (dies kann etwas lõnger dauern)...
    15.09.2009 13:24:22 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository erfolgreich erstellt
    15.09.2009 13:24:23 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepositor
    y
    INFO: Konfigurationsdaten werden in das EM-Repository hochgeladen (dies kann etw
    as lõnger dauern) ...
    15.09.2009 13:25:02 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Konfigurationsdaten wurden erfolgreich hochgeladen
    15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
    SCHWERWIEGEND: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysma
    n\config\emoms.properties
    Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\S
    AXMBS\emca_2009_09_15_13_15_52.log.
    Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden
    Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_15
    _52.log.
    snippet of the log
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Caused by: java.io.FileNotFoundException: D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties (Zugriff verweigert)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.sysman.emcp.util.FileUtil._copyFile(FileUtil.java:257)
         ... 11 more
    15.09.2009 13:25:02 oracle.sysman.emcp.EMDBCConfig updateEmomsProps
    KONFIG: Datei D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties.emca wird in D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties kopiert
    15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
    SCHWERWIEGEND: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties
    Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_15_52.log.
    15.09.2009 13:25:02 oracle.sysman.emcp.EMConfig perform
    KONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Fehler beim Aktualisieren von D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties
         at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:405)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:167)
         at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:137)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:223)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    the problem is Caused by: java.io.FileNotFoundException: D:\ORACLE\product\11.1.0\db_1\sysman\config\emoms.properties (access denied)
    and when i try to deconfig this following occured
    15.09.2009 13:30:28 oracle.sysman.emcp.EMConfig perform
    INFO: Dieser Vorgang wird in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_1
    3_29_13.log protokolliert.
    15.09.2009 13:30:28 oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Database Control wird gestoppt (dies kann etwas lõnger dauern) ...
    15.09.2009 13:30:28 oracle.sysman.emcp.EMConfig perform
    SCHWERWIEGEND: Can't find file D:\ORACLE\product\11.1.0\db_1\host\sysman\config\emoms.properties
    Weitere Einzelheiten finden Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\S
    AXMBS\emca_2009_09_15_13_29_13.log.
    Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden
    Sie in der Log-Datei in D:\ORACLE\cfgtoollogs\emca\SAXMBS\emca_2009_09_15_13_29
    _13.log.
    Can't find file D:\ORACLE\product\11.1.0\db_1\host_db\sysman\config\emoms.properties
    With Windows Server 2003 I haven't any problems with the configuration of database control over cmd.
    Any Ideas?

    Please run the following command
    cmd>net start OracleDBConsolexxx(Assume sid name=xxx
    cmd>set oracle_sid=xxx
    cmd>emca (You will get all related keyword of emca)
    Firstly you have to check that if you have created your database through DBCA then you have to drop old repository or recreate repository:
    To drop (remove) the configuration files and repository for Database Console, run:
    cmd>emca -deconfig dbcontrol db -repos drop
    To recreate (remove & create) the configuration files and repository for Database Console, run:
    cmd>emca -config dbcontrol db -repos recreate
    (Please mark it helpful/Answered if you get solution)
    Regards,
    Suman

  • Oracle Enterprise Manager Database Control VS Grid Control

    What is difference of Oracle Enterprise Manager Database Control and Oracle Enterprise Manager Grid Control?
    How I can install it manually?
    Thanks

    What is difference of Oracle Enterprise Manager Database Control and Oracle Enterprise Manager Grid Control?
    How I can install it manually?Dbcontrol is for single database as Grid control is for multiple databases.Dbcontrol has limited features than Grid control that goes beyond database administration to monitor other targets that include Operating system and application servers, web application, High availability (data guard) configurations. Database control comes with oracle server license but Grid control is a separate product it required separate license. If you want to use basic features then you can turn off the licensed packs in Grid control and use free product.
    Install Grid Control as doc:http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e10953/installing_em.htm

  • Configuring EM DB Control

    Hi All,
    Oracle version : 10.2.0.4.0
    I need to configure Enterprise Manager Database Control for a 2 instance RAC database.
    SYSMAN schema is not installed.
    How to install SYSMAN schema manually...
    commands please...
    Mahesh.
    Edited by: Mahesh Menon on Feb 23, 2010 4:06 PM

    Hello Buddy,
    By using emca utility....
    *[oracle@rac1]$ emca -config dbcontrol db -cluster*
    Answer the questions about your env.... wait for few minutes... the Repository will be created.
    Bellow the emca command with all options
    emca
    /u01/app/oracle/product/10.2.0/bin/emca [operation] [mode] [dbType] [flags] [parameters]
    -h | h | -help | help: prints this help message
    -version: prints the version
    -config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure Database Control for a database
    -config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure central agent management
    -config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure both Database Control and central agent management
    -deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-configure Database Control
    -deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configure central agent management
    -deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure both Database Control and central agent management
    -addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified RAC instance
    -reconfig ports [-cluster] [parameters]: explicitly reassign Database Control ports
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database Control deployment
    -displayConfig dbcontrol -cluster [-silent] [parameters]: displays information about the RAC Database Control configuration
    -upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earlier version of the EM configuration to the current version
    -restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the current version of the EM configuration to an earlier version
    Parameters and Options:
    [parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
    db: perform configuration operation for a database (including databases that use ASM)
    asm: perform configuration operation for an ASM-only instance
    db_asm: perform upgrade/restore operation for a database and an ASM instance
    -repos create: create a new Database Control repository
    -repos drop: drop the current Database Control repository
    -repos recreate: drop the current Database Control repository and recreate a new one
    -cluster: perform configuration operation for a RAC database
    -silent: perform configuration operation without prompting for parameters
    -backup: configure automatic backup for a database
    Parameters for single instance databases
    HOST: Database hostname
    SID: Database SID
    PORT: Listener port number
    ORACLE_HOME: Database ORACLE_HOME
    HOST_USER: Host username for automatic backup
    HOST_USER_PWD: Host user password for automatic backup
    BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
    EMAIL_ADDRESS: Email address for notifications
    MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
    ASM_OH: ASM ORACLE_HOME
    ASM_SID: ASM SID
    ASM_PORT: ASM port
    ASM_USER_ROLE: ASM user role
    ASM_USER_NAME: ASM username
    ASM_USER_PWD: ASM user password
    SRC_OH: ORACLE_HOME for the database to be upgraded
    DBSNMP_PWD: Password for DBSNMP user
    SYSMAN_PWD: Password for SYSMAN user
    SYS_PWD: Password for SYS user
    DBCONTROL_HTTP_PORT: Database Control HTTP port
    AGENT_PORT: EM agent port
    RMI_PORT: RMI port for Database Control
    JMS_PORT: JMS port for Database Control
    Additional Parameters for cluster databases
    CLUSTER_NAME: Cluster name
    DB_UNIQUE_NAME: Database unique name
    SERVICE_NAME: Service name
    EM_NODE: Database Control node name
    EM_SID_LIST: Agent SID list [comma separated]
    Best Regards,
    Rodrigo Mufalani
    www.mrdba.com.br/mufalani

  • Database Control Install

    I'm running a 10.2 instance on Solaris, and need to install DB Control on a Windows box for management. What install disk/download does it come from? It's been about a year since I setup DB Control. I thought it was on the companion CD, no?

    Here is a good article on the emca command:
    The emca tool that is available in 10.2 Database install uses different options than the emca shipped for 10.1. Below is the output from the help file for the 10.2 emca utility:
    1. Set the $ORACLE_HOME to the 10.2 Database home.
    2. To get a list of options, issue the command: emca -h
    <$ORACLE_HOME>/emca [operation] [mode] [dbType] [flags] [parameters]
    -h | h | -help | help: prints this help message
    -version: prints the version
    -config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure Database Control for a database
    -config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure central agent management
    -config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure both Database Control and central agent management
    -deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-configure Database Control
    -deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configure central agent management
    -deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure both Database Control and central agent management
    -addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified RAC instance
    -reconfig ports [-cluster] [parameters]: explicitly reassign Database Control ports
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database Control deployment
    -displayConfig dbcontrol -cluster [-silent] [parameters]: displays information about the RAC Database Control configuration
    -upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earlier version of the EM configuration to the current version
    -restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the current version of the EM configuration to an earlier version
    Parameters and Options:
    [parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
    db: perform configuration operation for a database (including databases that use ASM)
    asm: perform configuration operation for an ASM-only instance
    db_asm: perform upgrade/restore operation for a database and an ASM instance
    -repos create: create a new Database Control repository
    -repos drop: drop the current Database Control repository
    -repos recreate: drop the current Database Control repository and recreate a new one
    -cluster: perform configuration operation for a RAC database
    -silent: perform configuration operation without prompting for parameters
    -backup: configure automatic backup for a database
    Parameters for single instance databases
    HOST: Database hostname
    SID: Database SID
    PORT: Listener port number
    ORACLE_HOME: Database ORACLE_HOME
    HOST_USER: Host username for automatic backup
    HOST_USER_PWD: Host user password for automatic backup
    BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
    EMAIL_ADDRESS: Email address for notifications
    MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
    ASM_OH: ASM ORACLE_HOME
    ASM_SID: ASM SID
    ASM_PORT: ASM port
    ASM_USER_ROLE: ASM user role
    ASM_USER_NAME: ASM username
    ASM_USER_PWD: ASM user password
    SRC_OH: ORACLE_HOME for the database to be upgraded
    DBSNMP_PWD: Password for DBSNMP user
    SYSMAN_PWD: Password for SYSMAN user
    SYS_PWD: Password for SYS user
    DBCONTROL_HTTP_PORT: Database Control HTTP port
    AGENT_PORT: EM agent port
    RMI_PORT: RMI port for Database Control
    JMS_PORT: JMS port for Database Control
    Additional Parameters for cluster databases
    CLUSTER_NAME: Cluster name
    DB_UNIQUE_NAME: Database unique name
    SERVICE_NAME: Service name
    EM_NODE: Database Control node name
    EM_SID_LIST: Agent SID list [comma separated]

  • !!!! Urgent Database Control Not working, Plz help !!!!!

    Hi,
    I have a webservice and in the same server(weblogic 9.2) a data source(cgAppSource) is configured. the database control is not instanciating properly, it is always remains null despite the calling of webservice. I am getting NullPointerException in the webservice. First time I am using annotation to execute a SQL query. It is urgent.can anyone please help me. what code change I have to do in both the files.
    SampleDatabaseControl.java -
    package control;
    import java.sql.SQLException;
    import org.apache.beehive.controls.api.bean.ControlBean;
    import org.apache.beehive.controls.system.jdbc.JdbcControl;
    @org.apache.beehive.controls.api.bean.ControlExtension
    @JdbcControl.ConnectionDataSource(jndiName="java:comp/env/jdbc/cgAppSource")
    public interface SampleDatabaseControl extends JdbcControl ,ControlBean{
         static final long serialVersionUID = 1L;
    @JdbcControl.SQL(statement="SELECT SYSDATE FROM DUAL")
    public String returnSysDate() throws SQLException;
    The webservice : ControlWebservice.java
    package service;
    import javax.jws.WebService;
    import javax.jws.WebMethod;
    import javax.jws.soap.SOAPBinding;
    import weblogic.jws.WLHttpTransport;
    import org.apache.beehive.controls.api.bean.Control;
    import control.SampleDatabaseControl;
    @WebService(name="ControlWebservicePortType", serviceName="ControlWebservice",
              targetNamespace="localhost")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
              use=SOAPBinding.Use.LITERAL,
              parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    @WLHttpTransport(contextPath="ControlWebserviceProj", serviceUri="ControlWebservice",
              portName="ControlWebservicePort")
    public class ControlWebservice {
         @Control
         private SampleDatabaseControl SampleDatabaseControl;
         @WebMethod()
         public String returnDate()
              String returnValue = null;
              try{
                   returnValue = "This message sent date :" + SampleDatabaseControl.returnSysDate(); // getting null pointer Exception here.
              catch(Exception e)
                   e.printStackTrace();
              return returnValue;
    }

    Hi james,
    In that link it says to 'Create a Beehive-enabled Server Domain' in which On the second page(named <strong>Select Domain Source</strong>), I need to place a check in the <strong>Apache Beehive</strong> checkbox . But in my machine when I follow the steps I dont find any such checkbox in the (named <strong>Select Domain Source</strong>) page. Is this the problem? I can see only two check boxes. The page looks like......
    Generate a domain configured automatically to support the following product. // radio select
    Weblogic Server (Required) //check box
    Workshop for Weblogic Platform // check box
    Base this domain on an existing domain. //radio select
    Templatelocation .... // a browse option
    Do I need to do some other configuration to make beehive check box active in the page? All the beehive jars are present in the instalation. And as far as I remember I did the full instalation of Weblogic 9.2 after downloading from the bea site. and I am giving the beehive related jar
    <p>
    beehive-controls.jar,beehive-jdbc-control.jar,weblogic-jdbc-control.jar in the lib folder wnder WEB-INF and deploying.
    </p>

  • RC-50004: Fatal: Error occurred in ApplyDatabase:  Control file creation failed  Cannot execute configure of database using RapidClone

    dear associates,
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

    dear associates,
    can u please assist me how can over come this error or problem.
    linux version: red hat enterprise  linux 4.0.
    EBS version: 12.1.1
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error:   1
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for VIS instance

  • How to configure EM Grid Control for more than one databases?

    Hi,
    I'm configuring EM on Oracle 10gRel1 on Linux. I have more than one databases in the server, and I want use IE at my PC to monitor the databases on Linux server. I can configure and access the Grid Control Console by emca for first database, but cannot configure for the second one, unless I remove the first one configurration. How can I configure EM for more than one databases?
    Thanks.

    Thank you everybody.
    Yes, I'm talking about DBConsole rather than Grid Control (sorry for misuse the term). I managed to set up DB Console for every DB in the same Linux box (10Rel1). What I did is:
    1) stop db console and agent with emctl
    2) remove repository with RepManager
    3) config with emca
    Then I can monitor individual databases from my PC (but have to login with different port).
    I'm thinking mybe I should use Grid Control instead.

Maybe you are looking for