DBconsole Config

hello,
OS:Windows2003 Server
DBMS:Oracle 10g
I changed my OS name ,when I issue "emctl start dbconsole" it is failed because it pick old OS name as localhost. "http://old-os-name:5500
How can I reconfigure DBconsole with new OS-name(Host name)?

Same here
EM stop working after system name change.

Similar Messages

  • 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

  • Em dbconsole config

    Hi all,
    when i started configuring the EM for my 10gR2 Database.It is throwing an error that em related users are
    locked.I have checked the sysman,dbsnmp users account status it is open.Are there any other users which
    are related to EM.
    thanks in advance.
    Regards,
    Mirza

    Hi,
    Iam using database configuration assistant to configure it.It throws the following error.
    Failed to unlock EM-related accounts.Refer to log file:
    In the log file it is showing something like this, a few lines from there:
    CONFIG: ORA-01403: no data found
    ORA-06512: at "SYSMAN.EMD_MAINTENANCE", line 1182
    ORA-06512: at line 4
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01403: no data found
    ORA-06512: at "SYSMAN.EMD_MAINTENANCE", line 1182
    ORA-06512: at line 4
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1474)
    CONFIG: Failed to unlock mgmt_view account
    Apr 2, 2009 12:53:51 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    Apr 2, 2009 12:53:51 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at F:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\MCIT10g\emConfig.log for more details.
    Apr 2, 2009 12:53:51 PM oracle.sysman.emcp.EMConfig perform
    I have checked all the accounts are unlocked.Mgmt_view is also unlocked.
    What actually could be the problem?
    Regards,
    mirza

  • Re-install & config Enterprise Manager dbconsole on linux

    Dear Sir/Madam,
    Anyone can teach me how to fully uninstall it &
    re-install & config
    Enterprise Manager dbconsole.
    Best Regards
    boris

    Are you trying to reinstall the EM dbconsole associated to a specific DB, or the EM grid console which allow you to manage DBs, App servers, and any Oracle product?
    In the second case, I think the previous reply is right.
    For the first case, you can execute emca -x SID, where SID is the sid of the Oracle DB being managed. Then, with DBCA, choose to reconfigure database, and select the management with dbconsole.
    Regards.

  • 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

  • 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)

  • Issue with starting the emctl dbconsole

    Hello All,
    I need your help related to the below issue with the emctl, I am using Oracle 11g R2 on windows XP.
    My enterprise manager was working well.
    But at some day i was not able to start the dbconsole with error net msg
    A service specific error occurred: 1.
    More help is available by typing NET HELPMSG 3547.
    I fixed the issue by modifying the file : C:\app\oracle\product\11.2.0\dbhome_1\VirtualXP-20239_windb\sysman\config
    agentTZRegion=+03:00 instead of agentTZRegion=Europe/Minsk
    But again i faced an issue that localhost_windb is not found so i made a new copy of the folder VirtualXP-20239_windb but with name localhost_windb.
    Now the emctl start dbconsole is working with result sucsseful
    but the emctl staus dbconsole returning that the enterprise manager 11g is not running and i am not able to access my EM.
    Any solution..
    your help pls

    Hello
    It looks like the name of your host has been changed. Have you changed the hostname intentionally or do you use DHCP service for naming your system? You should use a static IP and hostname for DB system (please refer to installation requirements).
    If your hostname has been changed, DBControl needs to be dropped and re-created.
    Please read MOS [ID 467598.1] The Database Console Fails to Start After a Change in the Hostname:
    Please read MOS [ID 278100.1] How To Drop, Create And Recreate DB Control In A 10g/11g Database
    Regards
    Gokhan

  • Error starting DBConsole. DBConsole could not be started successfully

    Hello All.
    How to fix the following failure on Windows XP SP2.
    Oracle application server 10g release 2 (1.2.0.2)
    1-SEVERE: Error starting DBConsole. DBConsole could not be started successfully
    2-Configuration assistant "Single Sign-On Configuration Assistant" failed
    ================================================================================================================
    Output generated from configuration assistant "Oracle Database Configuration Assistant":
    Mar 31, 2006 1:33:03 PM oracle.sysman.emcp.EMConfig updateReposVars
    INFO: Updating file C:\oracle\infra10g1202\sysman\emdrep\config\repository.variables ...
    Mar 31, 2006 1:33:18 PM oracle.sysman.emcp.EMConfig addPortEntries
    INFO: Updating file C:\oracle\infra10g1202\install\portlist.ini ...
    Mar 31, 2006 1:33:18 PM oracle.sysman.emcp.EMConfig updateEmdProps
    INFO: Updating file C:\oracle\infra10g1202\sysman\config\emd.properties ...
    Mar 31, 2006 1:33:20 PM oracle.sysman.emcp.EMConfig updateConfigFiles
    INFO: targets.xml file is updated successfully
    Mar 31, 2006 1:33:20 PM oracle.sysman.emcp.EMConfig updateEmomsProps
    INFO: Updating file C:\oracle\infra10g1202\sysman\config\emoms.properties ...
    Mar 31, 2006 1:33:21 PM oracle.sysman.emcp.EMConfig updateConfigFiles
    INFO: emoms.properties file is updated successfully
    Mar 31, 2006 1:33:37 PM oracle.sysman.emcp.EMConfig copyOC4JDir
    WARNING: Error copying OC4J config files from C:\oracle\infra10g1202\oc4j\j2ee\OC4J_DBConsole to C:\oracle\infra10g1202\oc4j\j2ee\OC4J_DBConsole_srdb-pc05.tamer.com_as10gdb
    Mar 31, 2006 1:33:37 PM oracle.sysman.emcp.EMConfig startOMS
    INFO: Starting the DBConsole ...
    Mar 31, 2006 1:38:38 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting DBConsole. DBConsole could not be started successfully
    Configuration assistant "Oracle Database Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "Single Sign-On Configuration Assistant":
    Parameters passed to ssoca : param0:config param1:C:\oracle\infra10g1202 param2:cn=orcladmin param3:***** param4:AMERICAN_AMERICA.WE8MSWIN1252 param5:http param6:srdb-pc05.tamer.com param7:7777 param8:en
    Fri Mar 31 13:45:16 EST 2006
    Parameters received by ssoca : param0:config param1:C:\oracle\infra10g1202 param2:cn=orcladmin param3:***** param4:AMERICAN_AMERICA.WE8MSWIN1252 param5:http param6:srdb-pc05.tamer.com param7:7777 param8:en
    Content of ssoca config file is :
    -- listing properties --
    config_sso_oid=true
    config_lang=true
    config_sso_seed=true
    config_targets_xml=true
    config_ssoupg=true
    config_dad=true
    config_em_integ=true
    ACTION by SSOConfigAssistant :
    C:\oracle\infra10g1202\bin\sqlplus orasso/*****@"cn=as10gdb,cn=oraclecontext"
    @C:\oracle\infra10g1202\sso\admin\plsql\sso\ssoseedi.sql http srdb-pc05.tamer.com 777
    SQL*Plus: Release 10.1.0.4.2 - Production on Fri Mar 31 14:45:19 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> Connected.
    SQL> SQL> exit;
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
    With the Partitioning, OLAP and Data Mining options
    ACTION by SSOConfigAssistant :
    C:\oracle\infra10g1202\bin\sqlplus orasso/*****@"cn=as10gdb,cn=oraclecontext"
    @C:\oracle\infra10g1202\sso\admin\plsql\sso\ssooidd.sql srdb-pc05.tamer.com 636 "cn=orcladmin" ***** Y
    SQL*Plus: Release 10.1.0.4.2 - Production on Fri Mar 31 14:45:24 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> Connected.
    SQL> Creating OID entries for SSO
    Error code : 1
    Error message: User-Defined Exception
    LDAP error : 28862: UnKnown Error Encountered
    ERROR: deleting application entry
    Error code: 1
    Error message: User-Defined Exception
    ERROR: creating SSO users and groups in OID
    PL/SQL procedure successfully completed.
    *** Refreshing WWC OID cache....***
    declare
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "ORASSO.WWSEC_OID", line 1199
    ORA-06512: at "ORASSO.WWSEC_OID", line 1328
    ORA-06512: at "ORASSO.WWSEC_OID", line 2498
    ORA-06512: at "ORASSO.WWSEC_OID", line 2528
    ORA-06512: at "ORASSO.WWSEC_OID", line 1606
    ORA-06512: at "ORASSO.WWSEC_OID", line 1755
    ORA-06512: at "ORASSO.WWSEC_OID", line 2133
    ORA-06512: at line 8
    No errors.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 - Production
    With the Partitioning, OLAP and Data Mining options
    ERROR : Exception while configing SSO DAD :
    java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.CommunicationException: Request: 1 cancelled
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:286)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:327)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at oracle.security.sso.SSOConfigAssistant.configDAD(SSOConfigAssistant.java:1473)
         at oracle.security.sso.SSOConfigAssistant.ssoConfig(SSOConfigAssistant.java:1270)
         at oracle.security.sso.SSOConfigAssistant.main(SSOConfigAssistant.java:217)
    Please fix the error reported in the stack trace above and re-run SSO Config Tool.
    Repository API Raised Exception : oracle.ias.repository.schema.SchemaException: Unable to establish connection to the Oracle Internet Directory Server ldap://srdb-pc05.tamer.com:389/. Base Exception : javax.naming.CommunicationException: simple bind failed: srdb-pc05.tamer.com:389 [Root exception is java.net.SocketException: Socket closed]
    oracle.ias.repository.schema.SchemaException: Unable to establish connection to the Oracle Internet Directory Server ldap://srdb-pc05.tamer.com:389/. Base Exception : javax.naming.CommunicationException: simple bind failed: srdb-pc05.tamer.com:389 [Root exception is java.net.SocketException: Socket closed]
         at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:124)
         at oracle.ias.repository.IASSchema.getColocatedDBConnect(IASSchema.java:657)
         at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:767)
         at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:406)
         at oracle.security.sso.SSOConfigAssistant.configTargetsXML(SSOConfigAssistant.java:1847)
         at oracle.security.sso.SSOConfigAssistant.updateTargetsXML(SSOConfigAssistant.java:1786)
         at oracle.security.sso.SSOConfigAssistant.ssoConfig(SSOConfigAssistant.java:1280)
         at oracle.security.sso.SSOConfigAssistant.main(SSOConfigAssistant.java:217)
    Please fix the error reported in the stack trace above and re-run SSO Config Tool.
    Setting the AS product version value in targets.xml to be "10.1.2.0.2".
    Calling method getASTargetInfo.
    getASTargetInfo: oracleHome = "C:\oracle\infra10g1202".
    getASTargetInfo: iasName = "infra10g1202.srdb-pc05.tamer.com".
    getASTargetInfo: iAS Target Type = "oracle_ias".
    getASTargetInfo: StatusURL value = "http://srdb-pc05.tamer.com:7777".
    Retrieved SSO protocol, host, and port info from targets.xml.
    The values are: "http://srdb-pc05.tamer.com:7777".
    The following values will be used to configure the sso_server target entry in targets.xml.
    Protocol: "http".
    Hostname: "srdb-pc05.tamer.com".
    Port: "7777".
    C:\oracle\infra10g1202\jdk\bin\java
    -cp
    C:\oracle\infra10g1202\lib\xmlparserv2.jar;C:\oracle\infra10g1202\sysman\webapps\emd\WEB-INF\lib\emd.jar;C:\oracle\infra10g1202\sysman\webapps\emd\WEB-INF\lib\log4j-core.jar;C:\oracle\infra10g1202\lib\emSDK.jar
    -DORACLE_HOME=C:\oracle\infra10g1202
    oracle.sysman.emSDK.conf.TargetInstaller
    addtarget
    C:\oracle\infra10g1202\sso\sso_server_target2add.xml
    Configuring SSO languages with the following language code:
    us
    Language us is already installed.
    About to execute java call using emConfigInstall.jar.
    Here are the arguments:
    C:\oracle\infra10g1202\jdk\bin\java
    -DORACLE_HOME=C:\oracle\infra10g1202
    -jar
    C:\oracle\infra10g1202\jlib\emConfigInstall.jar
    consolesn
    C:\oracle\infra10g1202\sso\conf\consoleConfigSNSegment.xml
    Finished executing the call.
    Child Process has exited.
    SSO Configuration Assistant failed.
    Configuration assistant "Single Sign-On Configuration Assistant" failed

    I am getting a similar error in iAS 10g R2 on Windows 2003 64-bit. Did you solve your problem? Am I better off using Windows 2003 32-bit instead?
    Edited by: jkrich on Apr 7, 2011 8:33 PM

  • 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

  • DBConsole Service doesn't start after Install OAS F&R-Services Win 10g

    Windows DBConsole Service doesn't start after Install OAS F&R-Services
    Hello,
    we have installed:
    WINDOWS Server 2003 with SP 2
    Oracle 10.2.0.1
    OAS F&R Services 10.1.2.0.2
    after Install DBR2 EM / DBConsole did work
    after Install OAS F&R-Service
    the windows-service for DBConsole
    doesn't start, return with an Error Code 2
    see below
    the file named emdbconsole.nohup from output log
    is not to find
    the ias_console does work fine
    OAS F_R-Services do work too
    whats may be wrong ?
    regards
    Norbert
    OracleDBConsoleorclsrvc.log :
    EMDROOT=D:\oracle\product\10.2.0\db_1
    ORACLE_HOME=D:\oracle\product\10.2.0\db_1
    EMDSTATE=D:\oracle\product\10.2.0\db_1\kfin_orcl
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    12/14/09 13:13:08 Start pending...
    12/14/09 13:13:08 Verifying dbconsole is not started already. Command line "D:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    12/14/09 13:13:09 dbconsole launch commandline is "D:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    12/14/09 13:13:09 Tracking process launch...
    12/14/09 13:13:39 dbconsole exited with retCode 2.
    12/14/09 13:13:39 Check D:\oracle\product\10.2.0\db_1\kfin_orcl\sysman\log\emdbconsole.nohup for details
    Edited by: astramare on Dec 15, 2009 8:43 AM

    Hi,
    1. Stop the DBConsole. (set ORACLE_SID first & ORACLE_HOME)
    cd %ORACLE_HOME%\bin
    emctl stop dbconsole
    2. Update the <ORACLE_HOME>/<hostname_sid>/sysman/config/emd.properties file.
    Change line from:
    tracelevel.main=WARN
    To
    tracelevel.main=DEBUG
    Decomment this line, so that the line becomes :
    EMAGENT_PERL_TRACE_LEVEL=DEBUG
    3. Update the <ORACLE__HOME>/<hostname_sid>/sysman/config/emomslogging.properties
    Change line from:
    log4j.rootCategory=WARN, emlogAppender, emtrcAppender
    To
    log4j.rootCategory=DEBUG, emlogAppender, emtrcAppender
    4. Remove/backup all log files from ORACLE_HOME/<hostname_sid>/sysman/log
    5. Start the dbconsole and upload the output of each command
    - start the dbconsole: "emctl start dbconsole"
    - issue "emctl clearstate"
    - status the dbconsole: "emctl status dbconsole"
    - check the status of the agent until it comes up: "emctl status agent"
    - force an upload: emctl upload
    6. Check If you are able to view the dbconsole Page & login
    check below logs may be you can see the close error messages to solve the issue.
    <ORACLE_HOME>/<hostname_sid>/sysman/log directory
    <ORACLE_HOME>/<hostname_sid>/sysman/config/emoms.properties
    Otherwise re-create the DBconsole using the metalink doc 278100.1 : How To Drop, Create And Recreate DB Control In A 10g Database. (Please check the steps from Recreate/ReConfig DB Control, if you want to re-create)
    Thanks.

  • An issue in "emca -config dbcontrol db -repos create"

    Hi All,
    Collected following data from log file, log file is generated when trying to run "emca -config dbcontrol db -repos create" from command mode
    Aug 13, 2009 9:00:01 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: '\regedit.exe' is not recognized as an internal or external command,
    operable program or batch file.
    Creating registry entries failed. Aborting...
    what is an error and unable to bring up EM due to same issue.
    Log file in detail,
    C:\ORACLE\PRODUCT>emca -config dbcontrol db -repos create
    STARTED EMCA at Aug 17, 2009 10:48:26 PM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: RADHA
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN 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 ................ C:\oracle\product\10.2.0\db_1
    Database hostname ................ AsishChowdary
    Listener port number ................ 1521
    Database SID ................ RADHA
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 17, 2009 10:48:58 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at C:\oracle\product\10.2.0\db_1\cfgtool
    s\emca\RADHA\emca_2009-08-17_10-48-26-PM.log.
    Aug 17, 2009 10:49:01 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Aug 17, 2009 10:51:27 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Aug 17, 2009 10:51:34 PM oracle.sysman.emcp.util.PlatformInterface executeCom
    d
    WARNING: Error executing CMD /C C:\oracle\product\10.2.0\db_1\bin\emctl.bat d
    oy dbconsole C:\oracle\product\10.2.0\db_1\AsishChowdary_RADHA AsishChowdary:
    8 AsishChowdary RADHA
    Aug 17, 2009 10:51:34 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating EM configuration files
    Refer to the log file at C:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\RADHA
    ca_2009-08-17_10-48-26-PM.log for more details.
    Could not complete the configuration. Refer to the log file at C:\oracle\prod
    \10.2.0\db_1\cfgtoollogs\emca\RADHA\emca_2009-08-17_10-48-26-PM.log for more
    ails.
    Edited by: user7511349 on Aug 17, 2009 10:33 AM

    user7511349 wrote:
    Hi,
    Noticed following an error when executed from command mode regedit
    regedit.exe' is not recognized as an internal or external command.
    do have any solution.Get a good antivirus and scan the entire system. Make sure you backup your important data first (including database) and hope there is no corruption.
    You could try copying regedit.exe from another server and see if it helps in first place. But in any case, I would suggest you take a backup of your system.

Maybe you are looking for

  • HARD Drive because it's Hard to figure out?!

    Greetings. I just hooked up a LaCie 500gb HD and am satisfied so far. I did find it difficult and will for sometime to figure out how to use it. My main point in this thread is that the difficulties were more than I thought they would be and wonder i

  • How can i add my account to a corporate acct.?

    hello I have a personal acct, which was linked to a corporate acct. some how, it got removed from it and now my company cannot add skype credit to it, is there a way to add it back to the skype manager acct from my company? please advise, i don't wan

  • Batch shelf life expiry date at Plant level

    Hi All,             We have a requirement from the client to maintain Batch shelf life at plant level. Current process: Batch shelf life expiry date is maintained at the global level. Requirement: Shelf life data to be maintained at Global level and

  • Crosstab Row Colors

    All... I'm trying to change the default colour coding of the BI Crosstab. By default the crosstab displays rows with alternating colors, white (or no background) then brown(ish). I've edited the style sheets blaf.xss and bistyles.xss, but this does n

  • Is there a What's New list for the updated softwar...

    I mean the new feature or bug fix in each new version. I didn't find any obvious changing after I update my phone software.