Emca dbconsole

Quicklinks: [Master Note for EMCA | https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1099271.1]
Oracle Database can be monitored using Enterprise Manager Database Control or Enterprise Manager Grid Control. Enterprise Manager Grid Control is a central monitoring and administration console to monitor number of Oracle Databases along with other Oracle and non Oracle products. Enterprise Manager Database Control is standalone management console which can monitor and administer a single-instance / clustered Oracle Database. The Database control is installed as part of Oracle Database (RDBMS) software. The Enterprise Manager Database Control is popularly referred to as Database Control or DBControl or DBConsole. This can be configured using Database Configuration Assistant (DBCA) at the time of creating a database or using Enterprise Manager Configuration Assistant (EMCA) which is a command line utility.
Are you facing problems in creating, configuring or deleting Enterprise Manager Database Control in a Single Instance Database Environment? If yes, I would recommend you to look at our one stop shop document ["Master Note for Enterprise Manager Configuration Assistant (EMCA) in Single Instance Database Environment" (Doc ID: 1099271.1) | https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1099271.1]

Hmm. As of this writing you have a total of 7 posts on this forum. Six of them are in 3 threads posted over a period just under 8 hours, and 3 of the posts are self-replies to 3 others. That plus the content itself sure looks like spam.

Similar Messages

  • EMCA dbconsole Issue

    Environment :-
    Linux 64 bit
    R12 Application
    11g database
    Oracle Enterprise management dbconsole not starting
    Getting error in emctl.trc like below
    2013-03-12 13:50:18,381 Thread-2054643072 WARN  http: snmehl_connect: connect failed to: Connection refused (error = 111)
    2013-03-12 13:50:19,187 Thread-2155146624 WARN  http: snmehl_connect: connect failed to : Connection refused (error = 111)
    2013-03-12 13:50:21,214 Thread-299777408 WARN  http: snmehl_connect: connect failed to : Connection refused (error = 111)

    What are you steps you followed to configure dbconsole?
    Please see if the following docs help.
    How to Troubleshoot Communication From a Grid Agent to the Oracle Management Service (OMS) in 10g Enterprise Manager Grid Control? (Doc ID 951076.1)
    How To Effectively Investigate & Diagnose 10g Grid Agent Upload Problems to the Oracle Management Service (OMS) (Doc ID 550617.1)
    Thanks,
    Hussein

  • Dbconsole config in oracle apps 12i (db 11.1.0.7)  failed with emca

    Dear all,
    I started configuring dbconsole for oracle apps 12 with oracle 11.1.0.7 database using emca.
    It failed while supplying dbsnmp password.
    CONFIG: Failed to update account status.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACL
    E not available
    I changed the password manually using alter user cmd and tried to confiure it but it doesn't work.
    I restarted the db tier and tried to configure it but with same error.checked the password policy for profile its unlimited.
    I don't understand what is wrong.
    Can someone throw some light on this.
    Thanks & regards,

    Have you changed the password correctly? If yes, can you login using the new password via SQL*Plus?
    Please see these docs.
    EMCA Fails With Error "ORA-01034: ORACLE not available" and "Invalid username/password." For DBSNMP User [ID 550484.1]
    How to Troubleshoot EMCA Failures Due to Connectivity Issue to Database [ID 1106623.1]
    If none of the above helps, please log a SR.
    Thanks,
    Hussein

  • Emca so fustrating - can't login/start/configure to dbconsole

    Hi, I have configured and created repository for dbconsole - no errors on it.
    however - at the end of the configuration it points to port 5500
    AND on the status it shows 1158 port
    C:\Users\administrator.UPSNET>emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
    http://focus-64.ups.co.il:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is not running.
    C:\Users\administrator.UPSNET>emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
    http://focus-64.ups.co.il:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ...The requested service has already been started.
    More help is available by typing NET HELPMSG 2182.
    service is up on the windows services panel, but when I do status - it shows it is not running and I can't start it...
    so - I'm thinking maybe it's a port issue so I want to change it to a different port:
    but I get invalid username password on the sys password
    eventhough I have a password file and connecting with sqlplus as sysdba using @orcl works just fine
    C:\Users\administrator.UPSNET>D:\app\product\11.1.0\db_1\BIN\emca -reconfig ports -DBCONTROL_HTTP_PORT 5570
    STARTED EMCA at 12:55:44 05/01/2013
    EM Configuration Assistant, Version 11.1.0.7.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: orcl
    Password for SYS user:
    Password for SYS user: Invalid username/password.
    Password for SYS user: Terminate batch job (Y/N)? y
    C:\Users\administrator.UPSNET>sqlplus "sys/sasa@orcl as sysdba"
    SQL*Plus: Release 11.1.0.7.0 - Production on Sat Jan 5 13:24:28 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    so if any of you have any advice other then - move to sqlserver I would appreciate it

    OK - some progress made - I'm looking now in D:\app\cfgtoollogs\emca and all the missing log files are there. (instead in the <sid> directory). anyway -
    1. the last log shows:
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-reconfig' set to true
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'ports' set to true
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT value: 5570
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: D:\app\product\11.1.0\db_1
    06/01/2013 16:29:51 oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    06/01/2013 16:29:51 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SID.
    06/01/2013 16:29:54 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: orcl
    06/01/2013 16:29:58 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_SID.
    06/01/2013 16:29:58 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ASM_SID value: +ASM
    06/01/2013 16:29:58 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    06/01/2013 16:29:58 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: +ASM, oracleHome: D:\app\product\11.1.0\db_1, and user: SYS
    06/01/2013 16:29:58 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    06/01/2013 16:29:58 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    06/01/2013 16:30:04 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    06/01/2013 16:30:04 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    06/01/2013 16:30:04 oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :D:\app
    06/01/2013 16:30:04 oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    06/01/2013 16:30:04 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    06/01/2013 16:30:04 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    06/01/2013 16:30:04 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: D:\app\product\11.1.0\db_1, and user: SYS
    06/01/2013 16:30:04 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: Re-initializing sql-engine. oldHome: D:\app\product\11.1.0\db_1 new home: D:\app\product\11.1.0\db_1 oldSid: +ASM new sid: orcl
    06/01/2013 16:30:04 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    06/01/2013 16:30:04 oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    06/01/2013 16:30:04 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: SP2-0640: Not connected
    BUT more interesting I now see the log files of when it gave me the invalid username/password which show the real error is ORA-12560 - TNS:protocol adapter error
    CONFIG: Setting param: SID value: orcl
    06/01/2013 16:48:48 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_SID.
    06/01/2013 16:48:48 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ASM_SID value: +ASM
    06/01/2013 16:48:48 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    06/01/2013 16:48:48 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: +ASM, oracleHome: D:\app\product\11.1.0\db_1, and user: SYS
    06/01/2013 16:48:49 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: ORA-12560: TNS:protocol adapter error
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12560: TNS:protocol adapter error
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
         at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:364)
         at oracle.sysman.emcp.DatabaseChecks.validateUserCredentials(DatabaseChecks.java:1040)
         at oracle.sysman.emcp.ParamsManager.validatePassword(ParamsManager.java:2859)
         at oracle.sysman.emcp.EMConfigAssistant.promptForData(EMConfigAssistant.java:641)
         at oracle.sysman.emcp.EMConfigAssistant.promptForParams(EMConfigAssistant.java:2680)
         at oracle.sysman.emcp.EMConfigAssistant.displayWarnsAndPromptParams(EMConfigAssistant.java:2706)
         at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2733)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1190)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    06/01/2013 16:48:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    06/01/2013 16:48:53 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: +ASM, oracleHome: D:\app\product\11.1.0\db_1, and user: SYS
    06/01/2013 16:48:53 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: ORA-12560: TNS:protocol adapter error
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12560: TNS:protocol adapter error
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
         at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:364)
         at oracle.sysman.emcp.DatabaseChecks.validateUserCredentials(DatabaseChecks.java:1040)
         at oracle.sysman.emcp.ParamsManager.validatePassword(ParamsManager.java:2859)
         at oracle.sysman.emcp.EMConfigAssistant.promptForData(EMConfigAssistant.java:641)
         at oracle.sysman.emcp.EMConfigAssistant.promptForParams(EMConfigAssistant.java:2680)
         at oracle.sysman.emcp.EMConfigAssistant.displayWarnsAndPromptParams(EMConfigAssistant.java:2706)
         at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2733)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1190)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    so that gives a better hint - I will try and look into it. any thoughts?

  • ./emca -deconfig dbconsole db -repos drop does not work

    I want to drop the existing dbconsole repository for em. but everytime when i run the comman, it doesn't work, and it tells me incorrect usage.
    $ ./emca -deconfig dbconsole db -repos drop
    Incorrect usage:
    the help file is so the following: does that mean that I can't use the above command?
    oracle.sysman.emcp.EMConfigAssistant [options] [list of parameters]
    Options:
    -a :configure for an ASM database
    -b :configure for automatic backup
    -c :configure a cluster database
    -e <node> :remove a node from the cluster
    -f <file> :specify the file name that contains parameter values
    -h :help
    -m :configure EM for a central agent
    -n <node> :add a new node to the cluster
    -r :skip creation of repository schema
    -s :silent mode (no user prompts
    -x <db> :deletion of a SID or DB
    -RMI_PORT <port> :specify the RMI port for DB Control
    -JMS_PORT <port> :specify the JMS port for DB Control
    -AGENT_PORT <port> :specify the EM agent port
    -DBCONSOLE_HTTP_PORT <port> :specify the DB Control HTTP port
    The script will prompt for any required data that is not specified in a configuration file. The script always prompts for all required passwords. If you use a configuration file, the file may contain any of the following specifications, as shown, with the specified values correctly filled in:
    Parameters for single instance databases:
    HOST=<Database hostname>
    SID=<Database SID>
    PORT=<Listener port number>
    ORACLE_HOME=<Database ORACLE_HOME>
    LISTENER=<Listener name>
    HOST_USER=<Host user name for automatic backup>
    HOST_USER_PWD=<Host user password for automatic backup>
    BACKUP_HOUR=<Automatic backup hour in number>
    BACKUP_MINUTE=<Automatic backup minute in number>
    ARCHIVE_LOG=<Archive log>
    EMAIL_ADDRESS=<Email address for automatic notification>
    MAIL_SERVER_NAME=<Email gateway for automatic notification>
    ASM_OH=<ASM ORACLE_HOME>
    ASM_SID=<ASM SID>
    ASM_PORT=<ASM port>
    ASM_USER_ROLE=<ASM user role>
    ASM_USER_NAME=<ASM user name>
    ASM_USER_PWD=<ASM user password>
    EM_HOME=<Enterprise Manager ORACLE_HOME>
    DBSNMP_PWD=<Password for dbsnmp>
    SYSMAN_PWD=<Password for sysman>
    SYS_PWD=<Password for sys>
    Thanks.

    Just checked and your command seems to be the correct one.
    Are you in the correct Oracle Home? You need to be 'attached' to the database Oracle home:
    $ cd $ORACLE_HOME/bin
    $ ./emca -deconfig dbcontrol db -repos dropDid you stop dbconsole?
    Try this sequence of commands:
    $ cd $ORACLE_HOME/bin
    $ ./emctl stop dbconsole
    $ ## If it was not started then:
    $ ./emca -config dbcontrol db -repos recreate
    $ ./emca -deconfig dbcontrol db -repos drop?

  • Error dbconsole 11g (system event log) , and emca ?

    Hi to all
    i work on database 11g r1 on windows 7 64 bit ultimate , and i am new on dba , when i want to start dbconsole service it appear this error :
    Windows could not start the OracleDBConsoleOracl on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the system vendor, and refer to service-specific error code 1 . wha is the problem ?
    another question plz
    If I have written this command (emca -config dbcontrol db -repos recreate) .. What exactly will happen? and what is (emca log) ?
    thank you very much

    I am not clear about your 1st question but in last queation you are going to Drops the current Database Control management repository and then recreates a new one.
    http://docs.oracle.com/cd/B28359_01/server.111/b28319/emca.htm

  • Emca unable to create dbconsole

    When i run the command
    C:\Windows\system32> emca -config dbcontrol db -repos create
    it ask for database Sid, after giving oracleSID it give this type of message
    Enter the following information:
    Database SID: orcltrng
    Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableExcep
    tion: Database instance unavailable.
    at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(Databas
    eChecks.java:151)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChe
    cks.java:144)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.
    java:163)
    at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.jav
    a:582)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAss
    istant.java:1272)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.jav
    a:574)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
    however my database instance is up.

    When i run the command
    C:\Windows\system32> emca -config dbcontrol db -repos create
    it ask for database Sid, after giving oracleSID it give this type of message
    Enter the following information:
    Database SID: orcltrng
    Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableExcep
    tion: Database instance unavailable.
    at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(Databas
    eChecks.java:151)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChe
    cks.java:144)
    at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.
    java:163)
    at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.jav
    a:582)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAss
    istant.java:1272)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.jav
    a:574)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
    however my database instance is up.

  • EMCA config dbconsole creates DB Console configuration using localhost.

    Configured a repository and dbcontrol using emca (emca -config dbcontrol db -repos create).
    However, it uses the Local hostname as localhost, instead of using the actual hostname of the server.
    Server box OS: Linux.
    Portion of /etc/hosts (topmost portion)
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain loghost
    10.184.133.162 localhost.in.oracle.com localhost
    10.184.133.162 ofss220210.in.oracle.com ofss220210
    How to change this URL to reflect the actual name of the host in the URL instead of using the localhost?

    Found answer on my own: You can export variable ORACLE_HOSTNAME to the server name or the name which is accessible from any machine.

  • Unable to start dbconsole ???

    i am installing oracle 10g on rhel 5. i am able to install oracle and create database. but when i try to configure database console with the command
    emca -config dbcontrol db -repos recreate
    it throws the folloging error.
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
    Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
    Could not complete the configuration. Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
    [oracle@ny2prdbs02 database]$ vi /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log
    the logfile is
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to true
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'create' set to true
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'drop' set to true
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: /opt/db/oracle/product/10.2.0/prod
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: /opt/db/oracle/product/10.2.0/prod
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: prod
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: This is expected, as we might be calling it from a non-rac home
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Error retrieving the local node for the cluster
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: PRKH-1010 : Unable to communicate with CRS services.
    [OCR Error(Native: prsr_initCLSS:[21])]
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster Error Message: PRKH-1010 : Unable to communicate with CRS services.
    [OCR Error(Native: prsr_initCLSS:[21])]
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user:
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Mar 14, 2008 6:31:55 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    Mar 14, 2008 6:31:59 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: DBSNMP
    Mar 14, 2008 6:32:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:21 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EMAIL_ADDRESS value:
    Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: MAIL_SERVER_NAME value:
    Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: prod
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'CHECK_CONFIG' set to true
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: DBSNMP
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: prod
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: prod
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: prod
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBID.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: No dbid available. Will query db to extract it.
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBID value: 61135663
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: prod
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: prod
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: prod
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig invoke
    CONFIG: Passed repository configuration check
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: prod
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties to /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties.emca.tmp
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties.emca.tmp
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml to /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml.emca.tmp
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml.emca.tmp
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to true
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_null.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_null.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_null.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_null.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /opt/db/oracle/product/10.2.0/prod/install/staticports.ini
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getConfiguredPorts
    CONFIG: /opt/db/oracle/product/10.2.0/prod:ny2prdbs02.ny2.pipelinetrading.net:null:prod:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_prod.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_prod value: 3938
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_prod.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_prod value: 1158
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_prod.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_prod value: 5540
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_prod.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_prod value: 5520
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig getConfiguredPorts
    CONFIG: Configured ports for SID: prod : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/prod/oui
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/prod/oui
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [opt/db/oracle/product/10.2.0/prod]
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /opt/db/oracle/product/10.2.0/prod
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: 5540 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: 5520 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: 1158 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: 3938 from /opt/db/oracle/product/10.2.0/prod/ny2prdbs02.ny2.pipelinetrading.net_prod/sysman/config/emd.properties
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /opt/db/oracle/product/10.2.0/prod:ny2prdbs02.ny2.pipelinetrading.net:null:prod:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: prod : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [DISPLAY=10.60.5.107:0.0, NEED_EXIT_CODE=1, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, TZ=]
    Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/bin/emctl stop dbconsole
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/bin/emctl stop dbconsole completed successfully
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://ny2prdbs02.ny2.pipelinetrading.net:1158/em/console/aboutApplication
    Stopping Oracle Enterprise Manager 10g Database Control ...
    ... Stopped.
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface isInView
    CONFIG: IN_VIEW marker not instantiated in /opt/db/oracle/product/10.2.0/prod/sysman/config/emca.properties
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [EMDROOT=/opt/db/oracle/product/10.2.0/prod, LD_LIBRARY_PATH=/opt/db/oracle/product/10.2.0/prod/lib32:/opt/db/oracle/product/10.2.0/prod/lib:/opt/db/oracle/product/10.2.0/prod/perl/lib:null, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, PERL5LIB=/opt/db/oracle/product/10.2.0/prod/perl/lib:/opt/db/oracle/product/10.2.0/prod/perl/lib/site_perl:/opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts:/opt/db/oracle/product/10.2.0/prod/bin:]
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/perl/bin/perl /opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts/db/sgastop.pl stop prod ny2prdbs02.ny2.pipelinetrading.net 1521 /opt/db/oracle/product/10.2.0/prod
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/perl/bin/perl /opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts/db/sgastop.pl stop prod ny2prdbs02.ny2.pipelinetrading.net 1521 /opt/db/oracle/product/10.2.0/prod completed successfully
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: nmccollector process does not exist
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
    CONFIG: Successfully stopped nmc-collector process
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [ORACLE_HOME=/opt/db/oracle/product/10.2.0/prod, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin]
    Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod))) -repos_user SYSMAN -action drop -verbose -output_file /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod))) -repos_user SYSMAN -action drop -verbose -output_file /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log completed successfully
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Enter SYS user's password :
    Enter repository user password :
    Getting temporary tablespace from database...
    Found temporary tablespace: TEMP
    Environment :
    ORACLE HOME = /opt/db/oracle/product/10.2.0/prod
    REPOSITORY HOME = /opt/db/oracle/product/10.2.0/prod
    SQLPLUS = /opt/db/oracle/product/10.2.0/prod/bin/sqlplus
    SQL SCRIPT ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/sql
    EXPORT = /opt/db/oracle/product/10.2.0/prod/bin/exp
    IMPORT = /opt/db/oracle/product/10.2.0/prod/bin/imp
    LOADJAVA = /opt/db/oracle/product/10.2.0/prod/bin/loadjava
    JAR FILE ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/lib
    JOB TYPES ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin
    Arguments :
    Connect String = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod)))
    Action = drop
    Repos User = SYSMAN
    Default tablespace = MGMT_TABLESPACE
    Default Data file = mgmt.dbf
    Dflt Dfile Init size = 20m
    Dflt Dfile Ext size = 20m
    ECM tablespace = MGMT_ECM_DEPOT_TS
    ECM Data file = mgmt_ecm_depot1.dbf
    ECM Dfile Init size = 100m
    ECM Dfile Ext size = 100m
    TEMP tablespace = TEMP
    Create options = 3
    Verbose output = 1
    Output File = /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
    Repos creation mode = CENTRAL
    MetaLink user name = NOTAVAILABLE_
    MetaLink URL = http://updates.oracle.com
    Export Directory = /opt/db/oracle/product/10.2.0/prod/sysman/log
    Import Directory = /opt/db/oracle/product/10.2.0/prod/sysman/log
    Checking SYS Credentials ... File - /tmp/rnyK6fhnSO/wLqKcwtPyQ.sql.Return code = 0.OK.
    Dropping the repository..
    Quiescing DB ... File - /tmp/YwZHBTVEIu/bzDxfeO9FG.sql.Return code = 0.Done.
    Checking for Repos User ... File - /tmp/dy1P6wGFBP/VS8m86m9Hs.sql.Return code = 0.Exists.
    Repos User exists..
    Clearing EM Contexts ... Clearing contexts. File - /tmp/oOROSl66kk/sgZFnKo6jz.sql.
    Clearing contexts. Return code = 0.
    OK.
    Dropping EM users ...
    Drop EM Users. File - /tmp/bYei4slzVy/wQbq6YLNKI.sql.
    Drop EM Users. Return code = 0.
    Done.
    Dropping Repos User ... Drop Repos User. File - /tmp/qUP3yHcMBH/UNDSwGP2l7.sql
    Drop Repos User. Return code = 0.
    Done.
    Dropping Roles/Synonymns/Tablespaces ... File - /tmp/L0t3oofhca/jxDRMIfdev.sql.Return code = 0.Done.
    Unquiescing DB ... Temp File - /tmp/PJ9h6I55jX/ysfFzgNAsy.sql. Return code = 0.Done.
    Dropped Repository Successfully.
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_create_2008-03-14_06-33-13-AM.log
    Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully granted priviliges to dbsnmp.
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocked mgmt_view account
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked relevant accounts
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYSMAN
    Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
    CONFIG: Updating file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties ...
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig deleteOC4JDir
    CONFIG: Deleting state directories
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em/persistence/_pages
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em/persistence
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/dms0
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/dms
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/persistence
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/log
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
    CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
    CONFIG: Copying OC4J config files from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/data-sources.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/data-sources.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jms.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/internal-settings.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/internal-settings.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/application.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/application.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/http-web-site.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/mime.types to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/mime.types
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/principals.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/principals.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/oc4j-connectors.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/oc4j-connectors.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/java2.policy to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/java2.policy
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jazn.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jazn.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/server.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jazn-data.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jazn-data.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/rmi.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/global-web-application.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/global-web-application.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/META-INF/MANIFEST.MF to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF/MANIFEST.MF
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/application-deployments/default/defaultWebApp/orion-web.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp/orion-web.xml
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
    CONFIG: Finished copying OC4J config files
    Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml
    Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PortManager addPortEntries
    CONFIG: Writing the selected ports to a tmp file
    Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/install/portlist.ini.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/install/portlist.ini
    Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PortManager addPortEntries
    CONFIG: File /opt/db/oracle/product/10.2.0/prod/install/portlist.ini is successfully updated
    Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [DISPLAY=10.60.5.107:0.0, NEED_EXIT_CODE=1, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, TZ=]
    Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
    Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://ny2prdbs02.ny2.pipelinetrading.net:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
    Logs are generated in directory /opt/db/oracle/product/10.2.0/prod/ny2prdbs02.ny2.pipelinetrading.net_prod/sysman/log
    Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
    Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
    Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
    at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:565)
    at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:177)
    at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:146)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)

    Hi,
    before trying to issue the command emca -config dbcontrol db -repos recreate you should:
    1)set the ORACLE_HOME env variable
    2)set the ORACLE_HOSTNAME env variable
    Greetings...
    Sim

  • Unable to setup Database control using emca on linux Please help!

    I have read about a dozen post on this issue and no one gives exactly what they did to solve the problem. Seems like i have an incomplete installation that is screwing me up. I've read of some people removing the SYSMAN schema, people removing certain roles, etc.
    The only thing ive tried:
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    Can someone please give me the exact steps I must follow in order to have a COMPLETE fresh clean dbconsole?
    [oracle@oracle ~]$ env |grep ORACLE
    ORACLE_UNQNAME=DB11G
    ORACLE_SID=DB11G
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOSTNAME=oracle.localdomain
    ORACLE_TERM=xterm
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    [oracle@oracle ~]$ emca -config dbcontrol db -repos create
    STARTED EMCA at Jan 5, 2011 12:24:55 AM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: DB11G
    Listener port number: 1521
    Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/db_1 ]:
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/db_1
    Local hostname ................ oracle.localdomain
    Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/db_1
    Listener port number ................ 1521
    Database SID ................ DB11G
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jan 5, 2011 12:25:26 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_24_54.log.
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_repos_create_<date>.log for more details.
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_24_54.log for more details.
    Could not complete the configuration. Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_24_54.log for more details.
    #LOG FOR WHEN I TRY TO CREATE IT
    INFO: Creating the EM repository (this may take a while) ...
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: ORA-20001: SYSMAN already exists..
    ORA-06512: at line 17
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
    ORA-06512: at line 17
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:1000)
    at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:339)
    at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:380)
    at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:510)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:228)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_repos_create_<date>.log for more details.
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_24_54.log for more details.
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:240)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui
    # LOG FOR WHEN I TRY TO DROP THE REPO
    CONFIG: Enter SYS user's password :
    Getting temporary tablespace from database...
    Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DB11G.WORLD))): ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin)
    Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: stty: standard input: Invalid argument
    stty: standard input: Invalid argument
    Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /u01/app/oracle/product/11.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DB11G.WORLD))) -repos_user SYSMAN -action drop -verbose -output_file /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_repos_drop_2011_01_05_00_38_08.log
    Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_repos_drop_<date>.log for more details.
    Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_37_37.log for more details.
    Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:218)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui

    hahaha, i counted my chickens before they hatched..
    Creating the web bit is failing
    [oracle@oracle bin]$ emca -config dbcontrol db
    #LOG
    Connecting to database using connect string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DB11G.WORLD))) in home /u01/app/oracle/product/11.2.0/db_1 with user "SYS" role "SYSDBA".
    Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Couldn't connect to the db - ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin) at /u01/app/oracle/product/11.2.0/db_1/sysman/admin/scripts/emca/emcaDbUtil.pl line 106, <STDIN> line 2.
    Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing /u01/app/oracle/product/11.2.0/db_1/sysman/admin/scripts/emca/emcaDbUtil /u01/app/oracle/product/11.2.0/db_1/perl/lib:/u01/app/oracle/product/11.2.0/db_1/perl/lib/site_perl:/u01/app/oracle/product/11.2.0/db_1/sysman/admin/scripts:/u01/app/oracle/product/11.2.0/db_1/bin: /u01/app/oracle/product/11.2.0/db_1/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/sysman/admin/scripts/emca/emcaDbUtil.pl /u01/app/oracle/product/11.2.0/db_1 (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DB11G.WORLD))) SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; DB11G 1 SYSMAN_PWD
    Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Failed to unlock mgmt_view account
    Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_03_42_35.log for more details.
    Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:348)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui
    I honestly have no bloody clue why its saying invalid user/pass.. all sys accounts are working fine..what am I missing here.
    [oracle@oracle ~]$ sqlplus sysman
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 5 03:52:40 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>

  • Dbconsole with multiple instances on the same server?

    Hi!
    I have a LINUX server running 2 separate instances - csp1 and csp2. I have a repository in csp1 and the dbconsole running for csp1. Now I need to find out if / how I can get the dbconsole running for the csp2 instance. This is Oracle standard edition 10.2.0.4. Both instances share the same Oracle Home and Listener. A second Oracle Home has the companion CD (http server) installed in it and has no instances associated with it.
    Does anyone have information on how to do this? Here are some of my questions:
    1) Do I need separate repositories for each instance or can the repository in csp1 be used for both instances?
    2) Can the ports be shared or do I need to assign new port #'s for the 2nd instance? How / where do I do this?
    Any hints, tips, suggestions, etc. are greatly appreciated!
    Dave Venus

    1) Do I need separate repositories for each instance or can the repository in csp1 be used for both instances?
    Yes, in the free version of EM in 10g ie DB console,that's the restriction. You can't use it for more than one database. It has to be done explicitly for that another database whom you want to manage via it. So as per the answer, yes you do need a seperate repository for your second db. The other db will be in the same Oracle home and surely its em repository can work with the existing listener.But it does require its own set of config files which will be in a sperate folder under Oracle Home with its sid.
    2) 2) Can the ports be shared or do I need to assign new port #'s for the 2nd instance? How / where do I do this?
    As I mentioned in my last reply, you wouldn't be able to share the port that is already in use. You do need to have a seperate port configured. Normally when you would install the repository oracle would pick up itself a port number. The valid port range , if I remember correctly is from 5500 onwards ( I don't remember the last limit). Even afterwars, you can change the port using "emca" command.
    Edit:
    I forgot to mention that some time back, here on the forums, I had a discussion with a guy who mentioned that there is a workaround possible to add a target in the current Targets.xml for the second database. I did try it out but still that didn't give me two instances. The most recent one which I added only was accessible.
    Update:
    I did find that thread,here it is. See if this helps you,
    Re: control two database with one database control
    HTH
    Aman....
    Edited by: Aman.... on Oct 28, 2008 7:14 PM
    Added Edit
    Edited by: Aman.... on Oct 28, 2008 7:28 PM
    Added thread

  • Error while creating DBConsole -- Error configuring central management

    Dear All,
    MY DB Oracle 11gR1 on Linux is running fine, however there is a problem in Oracle Enterprise Manager Console.
    I dropped and re-create dbconsole using:
    emca -config all db -repos create
    These are the messages I got after creating it.
    Feb 10, 2010 10:31:26 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Feb 10, 2010 10:41:28 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Feb 10, 2010 10:41:41 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Feb 10, 2010 10:43:48 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Feb 10, 2010 10:43:53 AM oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
    INFO: Registering target(s) with central agent(s) (this may take a while)...
    Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /Oracle/app/oracle/product/11.1.0/db_1/bin/emctl config agent addcentralagent /Oracle/app/oracle/product/11.1.0/db_1 /Oracle/app/oracle/product/11.1.0/db_1
    Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.EMAgentConfig performConfiguration
    WARNING: Error registering database targets with the central agent(s).
    Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error configuring central management. This target will not be centrally managed
    Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
    Could not complete the configuration. Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
    If anyone can help me getting through this error and creating dbconsole.
    Thanks,
    Imran

    CONFIG: isLocalNodeDone: T localNode: null
    10:31:26 oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
    CONFIG: File: /path/bss.com_bssdevpl/sysman/emd/agntstmp.txt:bss.com does not exists.
    10:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
    10:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:31:26 oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_repos_create_2010_02_10_10_31_26.log
    10:31:26 oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    10:41:28 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    10:41:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    10:41:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    10:41:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    10:41:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
    10:41:28 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
    10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:41:29 oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    10:41:29 oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked relevant accounts
    10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYSMAN
    10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:41:36 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Finished executing emreposoutofbox.sql
    10:41:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYSMAN
    10:41:38 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:41:38 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Submitting dbms job: /path/sysman/admin/emdrep/sql/core/latest/admin/admin_submit_dbms_jobs.sql
    10:41:38 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Successfully submitted dbms job
    10:41:38 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocking mgmt view user account
    10:41:38 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    10:41:38 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /path/sysman/admin/scripts/emca/emcaDbUtil /path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin: /path/perl/bin/perl /path/sysman/admin/scripts/emca/emcaDbUtil.pl /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /path/sysman/admin/scripts/emca/emcaDbUtil /path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin: /path/perl/bin/perl /path/sysman/admin/scripts/emca/emcaDbUtil.pl /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD completed successfully
    10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Connecting to database bssdevpl in home /path with user "SYS" role "SYSDBA".
    connected to database.
    sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    noOfParams to bind: 1.
    sql execute successfully.
    10:41:41 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocked mgmt_view account
    10:41:41 oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked mgmt_view account
    10:41:41 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:41:41 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
    10:41:41 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:41:41 oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: Passed listener validation check.Listener is up and running.
    10:41:41 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:41:41 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    10:43:48 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    10:43:48 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:48 oracle.sysman.emcp.EMDBCConfig updateEmomsProps
    CONFIG: Updating file /path/sysman/config/emoms.properties ...
    10:43:48 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:48 oracle.sysman.emcp.util.FileUtil _copyFile
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:49 oracle.sysman.emcp.EMAgentConfig updateEmdProps
    CONFIG: Updating file /path/sysman/config/emd.properties ...
    10:43:49 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/sysman/config/emd.properties.emca to /path/sysman/config/emd.properties
    10:43:49 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/sysman/config/emd.properties.emca.util.tmp to /path/sysman/config/emd.properties
    10:43:49 oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
    CONFIG: Updating file /path/sysman/config/emd.properties ...
    10:43:49 oracle.sysman.emcp.EMAgentConfig updateTargets
    CONFIG: value for use102tgt: F
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:50 oracle.sysman.emcp.ParamsManager getLocalListener
    CONFIG: Found listener named: LISTENER
    10:43:50 oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
    CONFIG: Updating file /path/sysman/emd/targets.xml ...
    10:43:50 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:50 oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
    CONFIG: Local host name: bss.com
    10:43:50 oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: T localNode: null
    10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'DISPLAY' is '', discarding the same
    10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'TZ' is '', discarding the same
    10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
    10:43:50 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/jdk/jre/lib/i386/client:/path/jdk/jre/lib/i386:/path/jdk/jre/../lib/i386:/path/lib32:/path/lib:/path/perl/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
    10:43:50 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /path/bin/emctl deploy dbconsole /path/bss.com_bssdevpl bss.com:3938 bss.com bssdevpl
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /path/bin/emctl deploy dbconsole /path/bss.com_bssdevpl bss.com:3938 bss.com bssdevpl completed successfully
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Creating shared install...
    Source location: /path
    Destination (shared install) : /path/bss.com_bssdevpl
    DeployMode : dbconsole
    Creating directories...
    Setting console properties ...
    Setting log and trace files locations for Console ...
    Setting log and trace files locations for Agent ...
    10:43:53 oracle.sysman.emcp.EMAgentConfig updateDBControlPort
    CONFIG: Setting https port as: -1
    10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emoms.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emoms.properties
    10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emd.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emd.properties
    10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emd.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emd.properties
    10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
    CONFIG: targetsXML exists: /path/sysman/emd/targets.xml
    10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
    CONFIG: customTarget for oracle_database on node bss.com sid bssdevpl : bssdevpl
    10:43:53 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CUSTOM_ORACLE_DB_TARGET value: bssdevpl
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER.
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:53 oracle.sysman.emcp.ParamsManager getLocalListener
    CONFIG: Found listener named: LISTENER
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
    CONFIG: targetsXML exists: /path/sysman/emd/targets.xml
    10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
    CONFIG: customTarget for oracle_listener on node bss.com sid null : LISTENER_bss.com
    10:43:53 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CUSTOM_LSNR_TARGET value: LISTENER_bss.com
    10:43:53 oracle.sysman.emcp.util.PlatformInterface getEnvProps
    CONFIG: Returning env array from cache
    10:43:53 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib:null, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/oracle, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PERL5LIB=/path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin:, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /path/perl/bin/perl /path/bin/targetdeploy.pl -d bssdevpl -n LISTENER_bss.com /path/bss.com_bssdevpl bss.com bssdevpl
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /path/perl/bin/perl /path/bin/targetdeploy.pl -d bssdevpl -n LISTENER_bss.com /path/bss.com_bssdevpl bss.com bssdevpl completed successfully
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Creating targets.xml in state directories...
    Source location: /path
    Destination : /path/bss.com_bssdevpl
    Creating directories...
    Creating targets.xml...
    Done.
    10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/oraInst.loc to /path/bss.com_bssdevpl/oraInst.loc
    10:43:53 oracle.sysman.emcp.EMAgentConfig createAgentTimeStampFile
    CONFIG: Creating agntstmp.txt file. oh: /path stateDir: /path/bss.com_bssdevpl host: bss.com
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    10:43:53 oracle.sysman.emcp.EMAgentConfig createAgentTimeStampFile
    CONFIG: File: /path/sysman/emd/agntstmp.txt.bssdevpl does not exists
    10:43:53 oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
    CONFIG: Successfully deployed state dirs for bss.com
    10:43:53 oracle.sysman.emcp.EMAgentConfig performConfiguration
    CONFIG: Successfully updated agent config files
    10:43:53 oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
    INFO: Registering target(s) with central agent(s) (this may take a while)...
    10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'DISPLAY' is '', discarding the same
    10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'TZ' is '', discarding the same
    10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
    10:43:53 oracle.sysman.emcp.util.PlatformInterface getEnvProps
    CONFIG: Returning env array from cache
    10:43:53 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/jdk/jre/lib/i386/client:/path/jdk/jre/lib/i386:/path/jdk/jre/../lib/i386:/path/lib32:/path/lib:/path/perl/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /path/bin/emctl config agent addcentralagent /path /path
    10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    0 [main] ERROR emSDK.config - Warning: one of following could not be found:/path/bin/emtgtctl or /path/bss.com_bssdevpl/bin/emtgtctl
    7 [main] ERROR emSDK.config - oracle.sysman.emSDK.conf.CentralHomeAdditionException: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
    oracle.sysman.emSDK.conf.CentralHomeAdditionException: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
         at oracle.sysman.emSDK.conf.TargetInstaller.addCentralAgentHome(TargetInstaller.java:1931)
         at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3167)
    10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
    10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /path/bin/emctl config agent addcentralagent /path /path
    10:43:57 oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
    CONFIG: Error registering with /path
    10:43:57 oracle.sysman.emcp.EMAgentConfig performConfiguration
    WARNING: Error registering database targets with the central agent(s).
    10:43:57 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error configuring central management. This target will not be centrally managed
    Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
    10:43:57 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error configuring central management. This target will not be centrally managed
         at oracle.sysman.emcp.EMAgentConfig.performConfiguration(EMAgentConfig.java:1303)
         at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:239)
         at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:217)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:225)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:534)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1214)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:518)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:467)

  • EM dbconsole won't start after upgrade from 10.2.0.1 to 10.2.0.4....Arrrgh!

    Hi All,
    I'm having a problem getting the dbconsole started on an upgraded 10g r2 db.
    OS = XP 64bit
    DB = 10.2.0.4
    It was working when it was 10.2.0.1. After the upgrade process ran :-
    emca -upgrade db
    this completed upto the point of starting the dbconsole at which point it tried and tried but eventually timed out. So I removed and recreated the repository
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    , same resultant problem as before. Finally following these instructions :-
    Link
    This resulted in the OUI failing due to time out of the dbconsole startup.
    Outputs.....
    F:\oracle\product\10.2.0\db_1\BIN>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://amlcad048.######.int:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The service name is invalid.
    More help is available by typing NET HELPMSG 2185.
    F:\oracle\product\10.2.0\db_1\BIN>hostname
    amlcad048
    F:\oracle\product\10.2.0\db_1\BIN>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://amlcad048.#######.int:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is not running.
    F:\oracle\product\10.2.0\db_1\BIN>emctl start dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://amlcad048.#######.int:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ...The service name is invalid.
    More help is available by typing NET HELPMSG 2185.
    F:\oracle\product\10.2.0\db_1\BIN>emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at 27-Jan-2011 08:49:47
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: TCEPROD
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: Y
    27-Jan-2011 08:50:10 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at F:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\TCEPROD\emca_2011-01-27_08-49-47-AM.log.
    27-Jan-2011 08:50:11 oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    27-Jan-2011 08:50:12 oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    27-Jan-2011 08:53:57 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at 27-Jan-2011 08:53:58
    F:\oracle\product\10.2.0\db_1\BIN>emca -config dbcontrol db -repos create
    STARTED EMCA at 27-Jan-2011 08:54:27
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: TCEPROD
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ F:\oracle\product\10.2.0\db_1
    Database hostname ................ amlcad048.######.int
    Listener port number ................ 1521
    Database SID ................ TCEPROD
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    27-Jan-2011 08:54:50 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at F:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\TCEPROD\emca_2011-01-27_08-54-27-AM.log.
    27-Jan-2011 08:54:50 oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    27-Jan-2011 08:59:54 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    27-Jan-2011 09:00:02 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    27-Jan-2011 09:00:13 oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    27-Jan-2011 09:00:13 oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    27-Jan-2011 09:08:43 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at F:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\TCEPROD\emca_2011-01-27_08-54-27-AM.log for more details.
    Could not complete the configuration. Refer to the log file at F:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\TCEPROD\emca_2011-01-27_08-54-27-AM.log for more details.
    Log-file
    27-Jan-2011 09:07:13 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:07:23 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:07:33 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:07:43 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:07:53 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:08:03 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:08:13 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:08:23 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:08:33 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:08:43 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Waiting for service 'OracleDBConsoleTCEPROD' to fully start
    27-Jan-2011 09:08:43 oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Initialization failure for service during start
    27-Jan-2011 09:08:43 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at F:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\TCEPROD\emca_2011-01-27_08-54-27-AM.log for more details.
    27-Jan-2011 09:08:43 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
         at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:646)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:224)
         at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
    Any help would be greatly appreciated.
    Regards
    Martin
    Edited by: user1095681 on 27-Jan-2011 02:28

    Hi,
    Pl make sure you perform all steps related to enterprise manager
    http://www.eygle.com/Notes/10204_patch_note_Win32.htm
    Also Refer threads:
    Can't start dbconsole service
    http://www.orafaq.com/forum/t/94833/2/
    thanks,
    X A H E E R

  • Oracle 10gR2 on Mac OS/x 10.5.6 - dbconsole not working after installation

    Hi All,
    Anyone able to get dbconsole up and running after the installaton using DHCP?
    I followed the Quick Install guide linked on the OTN Mac Page:
    http://www.pythian.com/news/1937/quick-install-guide-for-oracle-10g-release-2-on-mac-os-x-leopard-intel
    I'm setup with DHCP (as they are in the quick install guide).
    Config Assistant ran setup for Enterprise Manager successfully, but it looks like it did not create the repository or directories.
    When I go to create manually with emca I get errors.
    Curious if anyone has got this going out of the box or if there is a standard set of steps I missed out there post install to get it running.
    Don't see anything in the official installation guide or Metalink either (except that DHCP is not really recommended).
    Thanks,
    Tony

    Hi Anthony,
    Unfortunately, the releases note for 10gR2 on OS X indicate that Enterprise Manager database control is unsupported for this release, so I don't think you'll see anything from Oracle about how to get dbconsole to work. That doesn't mean it isn't possible, of course, just unsupported. :-) A quick Google search isn't turning up anything so far, but maybe someone out there in Internet-land has managed to get dbconsole to work...
    Regards,
    John P.

  • I want to start dbconsole for login in Enterprieise Manager

    I want to start dbconsole for login in Enterprieise Manager
    SET ORACLE_SID=ORCL
    Then I rename a folder in D:\app\hp\product\11.2.0\dbhome_1\oc4j\j2ee
    OC4J_DBConsole_192.168.1.2_ORCL
    Then run emctl status dbconsole
    I got following error
    EM configuration issue.D:app/..dbhome_1/192.168.1.2_ORCL not foud
    Then I run
    emca -repos create
    Enter the following information:
    Database SID:ORCL
    Listener port number: 1522
    Password for SYS user:ORCL
    Pssword for sysman:ORACLE
    Then following error generated
    ant.java:522)
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_repos_create_<date>.log for more details.
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_2014_05_25_11_30_44.log for more details.
    When i looked into D:\app\hp\cfgtoollogs\emca\orcl   logfile
    following error generated
    May 25, 2014 11:30:46 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
    May 25, 2014 11:30:47 AM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-repos' set to true
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'create' set to true
    May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: D:\app\hp\product\11.2.0\dbhome_1
    May 25, 2014 11:30:58 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    May 25, 2014 11:30:58 AM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 25, 2014 11:30:58 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 25, 2014 11:30:58 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SID.
    May 25, 2014 11:31:02 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: ORCL
    May 25, 2014 11:31:05 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_OH.
    May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter REP_DB_RUNNING_HOST.
    May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 25, 2014 11:31:14 AM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database null : 192.168.1.2
    May 25, 2014 11:31:14 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
    May 25, 2014 11:31:14 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYSMAN_PWD.
    May 25, 2014 11:31:14 AM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 25, 2014 11:31:14 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 25, 2014 11:31:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 25, 2014 11:31:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
    May 25, 2014 11:31:47 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 25, 2014 11:32:18 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :D:\app\hp
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database null : 192.168.1.2
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 25, 2014 11:32:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\app\hp\cfgtoollogs\emca\orcl\emca_2014_05_25_11_30_44.log.
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: D:\app\hp\product\11.2.0\dbhome_1
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database orcl : 192.168.1.2
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_DOMAIN value: 168.1.3
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: orcl.168.1.3
    May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database orcl : 192.168.1.2
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_DOMAIN value: 168.1.3
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: orcl.168.1.3
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database orcl : 192.168.1.2
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
    May 25, 2014 11:32:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 25, 2014 11:32:27 AM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to D:\app\hp\cfgtoollogs\emca\orcl\emca_repos_create_2014_05_25_11_32_27.log
    May 25, 2014 11:32:27 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: ORA-20001: SYSMAN already exists..
    ORA-06512: at line 17
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
    ORA-06512: at line 17
        at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
        at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:1005)
        at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:339)
        at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:380)
        at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:511)
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:229)
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
        at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
        at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
        at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_repos_create_<date>.log for more details.
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_2014_05_25_11_30_44.log for more details.
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:241)
        at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
        at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
        at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
        at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
        at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
        at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
    May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
    Guide me what I do?

    Hi Manish,
    When you want the resolution, you should have answered the quetion made by Markus Doehr, He such a qualified consultant you did care to follow up your issue.
    Thank you,
    Prasaad

Maybe you are looking for

  • How can I get newstand in a folder on a ipad2 ?

    How can I get newstand in a folder on iPad 2 ?

  • JDBC Stored procedure help required

    Hi All, Please let me know simple blogs how to use JDBC Stored procedure or any other method  in receiver jdbc adapter to insert or select in 2 tables Please  let me know simple blogs how to use JDBC Stored procedure or any other method  in sender jd

  • Mac could receive texted messages from net10 LG800 phone...

    Text messages came in as email and could contain pictures as well. The "from" address was either [email protected] or [email protected] Phone was recently replaced with a Net10 LG306G and when text message now comes in, I only see "you have a picture

  • Safari and 1passwords are not playing well together since updates??

    Safari will not allow me to enter websites with 1passwords.  When I input the password it reverts back to enter you pasword.  I have updated to all of the newest versions and Safari is still not working.  I am having no issues with Firefox.  Been exc

  • Photoshop and Lightroom Bundle

    I just updated my Adobe Flash player and got a message stating I could pay $9.99 per month for Photoshop and Lightroom.  Does anyone know how long this rate is valid?  I searched all of the info about it and couldn't find anything related to how long