EMCA Issue ?

Im trying to create a webbased enterprise manager for a Db, I have run the following command
emca -repos config
But it errors .. below is the log file ?
11-Oct-2007 09:19:28 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-repos' set to true
11-Oct-2007 09:19:28 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
11-Oct-2007 09:19:28 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to true
11-Oct-2007 09:19:28 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: /oracle/app/oracle/product/10.2/db_1
11-Oct-2007 09:19:30 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: IFSE
11-Oct-2007 09:19:33 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 5503
11-Oct-2007 09:19:36 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
11-Oct-2007 09:19:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: IFSE, oracleHome: /oracle/app/oracle/product/10.2/db_1, and user: SYS
11-Oct-2007 09:19:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
11-Oct-2007 09:19:38 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value:
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
11-Oct-2007 09:19:40 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: IFSE, oracleHome: /oracle/app/oracle/product/10.2/db_1, and user: SYS
11-Oct-2007 09:19:40 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
11-Oct-2007 09:19:40 oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: IFSE
11-Oct-2007 09:19:40 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/app/oracle/product/10.2/db_1/cfgtoollogs/emca/IFSE/emca_2007-10-11_09-19-28-AM.log.
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: /oracle/app/oracle/product/10.2/db_1
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
11-Oct-2007 09:19:40 oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
11-Oct-2007 09:19:40 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: IFSE, oracleHome: /oracle/app/oracle/product/10.2/db_1, and user: SYS
11-Oct-2007 09:19:40 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
11-Oct-2007 09:19:40 oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: IFSE
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
11-Oct-2007 09:19:40 oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: IFSE
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: IFSE
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
11-Oct-2007 09:19:40 oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
11-Oct-2007 09:19:40 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: IFSE, oracleHome: /oracle/app/oracle/product/10.2/db_1, and user: SYS
11-Oct-2007 09:19:40 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
11-Oct-2007 09:19:40 oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
11-Oct-2007 09:19:40 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: IFSE
11-Oct-2007 09:19:40 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: IFSE, oracleHome: /oracle/app/oracle/product/10.2/db_1, and user: SYS
11-Oct-2007 09:19:40 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
11-Oct-2007 09:19:40 oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to /oracle/app/oracle/product/10.2/db_1/cfgtoollogs/emca/IFSE/emca_repos_create_2007-10-11_09-19-40-AM.log
11-Oct-2007 09:19:40 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
11-Oct-2007 09:19:40 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:1467)
     at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:841)
     at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:265)
     at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:306)
     at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:389)
     at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:191)
     at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
     at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
     at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
     at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
     at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
     at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)
11-Oct-2007 09:19:40 oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
11-Oct-2007 09:19:40 oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /oracle/app/oracle/product/10.2/db_1/cfgtoollogs/emca/IFSE/emca_repos_create_<date>.log for more details.
11-Oct-2007 09:19:40 oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /oracle/app/oracle/product/10.2/db_1/cfgtoollogs/emca/IFSE/emca_2007-10-11_09-19-28-AM.log for more details.
11-Oct-2007 09:19:40 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:203)
     at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
     at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
     at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
     at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
     at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
     at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)

Hi,
First drop the existing repository.
a -deconfig dbcontrol dbThis doesn't drop the repository.
The emca help says it all:
-deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-configure Database Control
while:
-repos create: create a new Database Control repository
-repos drop: drop the current Database Control repository
-repos recreate: drop the current Database Control repository and recreate a new one
So, config and deconfig are used to configure and de-configure the Database Control for a database, and not (re-)create the EM repository which you need to write other options to achieve.
>
Then create a new one.
emca -config dbcontrol db
Let me know the result.
Thanks ,
Chitrasen

Similar Messages

  • ORA-01507: database not mounted when attempting to run emca

    All,
    I'm working on a renamed host attempting to drop and create the repository so that I can get the Oracle Enterprise Manager running on this host. In doing so, I was able to successfully drop the repository with the following command:
    ./emca -deconfig dbcontrol db -repos dropMy issue surfaces when i now try to create the repository as follows:
    ./emca -config dbcontrol db -repos create.
    Dec 3, 2012 5:55:11 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: No value was set for the parameter DBID.
    The above output was on my screen. When I check the emca logfile, I found the following:
    Dec 3, 2012 5:54:44 PM oracle.sysman.emcp.DatabaseChecks checkDataGuardEnabled
    CONFIG: ORA-01507: database not mounted
    Dec 3, 2012 5:55:11 PM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: ORA-01507: database not mounted
    Does anyone have any input as to what could be the problem?
    Thanks in advance!

    The server and database have been restarted since the hostname change. I don't know it this will help shed any light, but I have also attempted to use dbca in an attempt to work around the emca issue, but it also gives me errors. Sometimes I get the error stating it cannot run in EXCLUSIVE mode. Other times I get a database not found error.
    Could the problem be that I need to shutdown the database and start it in a particular mode prior to running emca?
    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.

  • EMCA dbconsole Issue

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

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

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

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

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

  • Agent issue with 10.2.0.4 on RHEL 4 for single instance db.

    Hi,
    I had 2 instances that were not able to upload nor where they secure. For one of them which ran on port 5500, I was able to go through the forums and basically I ended up dropping the repository for that instance, and then I was able to secure the agent, and uploads were fine. Now I have one single instance that runs on port 1158:
    [oracle@stdb7 bin]$ emctl status agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.6.0
    OMS Version : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
    Agent binaries : /dsk0/oracle
    Agent Process ID : 27304
    Parent Process ID : 27301
    Agent URL : http://stdb7XXXXorg:3938/emd/main
    Started at : 2009-05-12 10:53:16
    Started by user : oracle
    Last Reload : 2009-05-12 10:53:16
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 56
    Size of XML files pending upload(MB) : 2.44
    Available disk space on upload filesystem : 70.15%
    Agent is Running and Ready
    [oracle@stdb7 bin]$ emctl secure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent successfully stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    [oracle@stdb7 bin]$ emctl start agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ... started.
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    clearstate failed with ret=-10
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD clearstate completed successfully
    [oracle@stdb7 bin]$ emctl start dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://stdb7XXXXorg:1158/em/console/aboutApplication
    Agent Version : 10.1.0.6.0
    OMS Version [oracle@stdb7 bin]$ emctl status agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.6.0
    OMS Version : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
    Agent binaries : /dsk0/oracle
    Agent Process ID : 27304
    Parent Process ID : 27301
    Agent URL : http://stdb7XXXXorg:3938/emd/main
    Started at : 2009-05-12 10:53:16
    Started by user : oracle
    Last Reload : 2009-05-12 10:53:16
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 56
    Size of XML files pending upload(MB) : 2.44
    Available disk space on upload filesystem : 70.15%
    Agent is Running and Ready
    [oracle@stdb7 bin]$ emctl secure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent successfully stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    [oracle@stdb7 bin]$ emctl start agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ... started.
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    clearstate failed with ret=-10
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD clearstate completed successfully
    [oracle@stdb7 bin]$ emctl start dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://stdb7XXXXorg:1158/em/console/aboutApplication
    Agent Version : 10.1.0.6.0
    OMS Version : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
    Agent binaries : /dsk0/oracle
    Agent Process ID : 25197
    Parent Process ID : 25194
    Agent URL : http://stdb7XXXXorg:3938/emd/main
    Started at : 2009-05-12 11:25:33
    Started by user : oracle
    Last Reload : 2009-05-12 11:25:33
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 66
    Size of XML files pending upload(MB) : 4.18
    Available disk space on upload filesystem : 70.14%
    Agent is already started. Will restart the agent
    Stopping agent ... stopped.
    Starting Oracle Enterprise Manager 10g Database Control .... started.
    Logs are generated in directory /dsk0/oracle/stdb7XXXXorg_dhqprd/sysman/log
    [oracle@stdb7 bin]$ emctl upload
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent is Not Running
    [oracle@stdb7 bin]$ emctl unsecure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Checking Agent for HTTP... Done.
    Agent is already unsecured.
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD clearstate completed successfully
    [oracle@stdb7 bin]$ emctl secure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent is already stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    [oracle@stdb7 bin]$ emctl start agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ... started.
    [oracle@stdb7 bin]$ emctl upload
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet.. : 10.1.0.6.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /dsk0/oracle/stdb7XXXXorg_dhqprd
    Agent binaries : /dsk0/oracle
    Agent Process ID : 25197
    Parent Process ID : 25194
    Agent URL : http://stdb7XXXXorg:3938/emd/main
    Started at : 2009-05-12 11:25:33
    Started by user : oracle
    Last Reload : 2009-05-12 11:25:33
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 66
    Size of XML files pending upload(MB) : 4.18
    Available disk space on upload filesystem : 70.14%
    Agent is already started. Will restart the agent
    Stopping agent ... stopped.
    Starting Oracle Enterprise Manager 10g Database Control .... started.
    Logs are generated in directory /dsk0/oracle/stdb7XXXXorg_dhqprd/sysman/log
    [oracle@stdb7 bin]$ emctl upload
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent is Not Running
    [oracle@stdb7 bin]$ emctl unsecure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Checking Agent for HTTP... Done.
    Agent is already unsecured.
    [oracle@stdb7 bin]$ emctl clearstate agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD clearstate completed successfully
    [oracle@stdb7 bin]$ emctl secure agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent is already stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Failed.
    The OMS is not set up for Enterprise Manager Security.
    [oracle@stdb7 bin]$ emctl start agent
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ... started.
    [oracle@stdb7 bin]$ emctl upload
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
    So, with this one instance and agent, I keep going in loops with the same 2 errors:
    1. EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
    2. The OMS is not set up for Enterprise Manager Security.
    I even followed related messages on the forums here to try to resolve the issue, but this did not work:
    '- emctl stop agent
    - delete all files in $AGENT_HOME/sysman/emd/upload and $AGENT_HOME/sysman/emd/state
    - emctl clearstate agent (this should delete all state files but sometimes it is not enough, but I experienced that it is better to use this command after deletion of the files)
    - emctl secure agent (and specify the password on demand)
    - emctl start agent'
    Any advice or help on HOW to secure this instance's agent and get it to upload would be greatly appreciated.
    Edited by: user611572 on May 12, 2009 9:11 AM
    I guess I solved my own issue, however I basically had to drop and recreate the repository and grid control for the instance, thus loosing over 3300 XML files, but now the agent is working and the server is running secure. I simply did:
    emca -config dbcontrol db -repos recreate
    And answered all the questions... I am wondering if the 3300+ xml files I deleted by following some guy's response in a similar thread was necessary, and if it was not, I wonder if I would have been able to upload all of the files after executing and rebuilding....

    Since you have dropped the repository thats why it was needed to deleted the previous files

  • 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

  • OEM configuration issue in Oracle 10g

    Hi,
    I am trying to manually configure OEM on oracle 10g solaris platform (5.10). Earlier I have configured the OEM manually on the same server and then due to customer request de-configure it. But now again, I need to re-configure OEM on same server and facing issue.
    Steps which I am following are :-
    -> Listener is started
    -> Database is up and running.
    -> Creating repository through command emca -repos create
    -> Configuring the dbconsole through command emca -config dbcontrol db
    At this step after providing the information of database name, listener port, Password for SYS user,Password for DBSNMP user,Password for SYSMAN user,Email address for notifications (optional): [email protected],Outgoing Mail (SMTP) server for notifications (optional): wbmlir1.mail.xerox.com, it is giving the below error that db console cannot be started.
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 22, 2011 10:18:38 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log.
    Aug 22, 2011 10:18:43 AM oracle.sysman.emcp.ParamsManager getLocalListener
    WARNING: Error retrieving listener for usa7061ux300
    Aug 22, 2011 10:18:44 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Securing Database Control (this may take a while) ...
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Database Control secured successfully.
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) ...
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database ControlRefer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
    Could not complete the configuration. Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
    Below is the content of logfile :-
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    CONFIG: Securing Database Control completed successfully .
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'DISPLAY' is '', discarding the same
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getEnvProps
    CONFIG: Returning env array from cache
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [BKUPDIR=/data, CLASSPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emca.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmasm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emConfigInstall.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldapjclnt10.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldap.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/share.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmhas.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/netcfg.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib/xmlparserv2.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/assistants/jlib/assistantsCommon.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/sysman/jlib/emCORE.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraInstaller.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereq.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/inventory/prereqs/oui/OraPrereqChecks.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, EDITOR=vi, HOME=/rdwq/ap01/rdwsdba, HZ=, LC_COLLATE=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1, LC_MESSAGES=C, LC_MONETARY=en_US.ISO8859-1, LC_NUMERIC=en_US.ISO8859-1, LC_TIME=en_US.ISO8859-1, LD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc/client:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/../lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/usr/SUNWspro/lib:/usr/openwin/lib:/usr/dt/lib, LIBPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, LOGNAME=rdwsdba, MAIL=/usr/mail/rdwsdba, MANPATH=/local/man:/usr/share/man, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, OLDPWD=/rdwq/ap01/rdwsdba, ORACLE_BASE=/rdwq/apps/oracle, ORACLE_DOC=/rdwq/apps/oracle/doc, ORACLE_HOME=/rdwq/apps/oracle/product/10.2.0.4.2011Q1, ORACLE_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin, ORACLE_SID=rdwq, ORACLE_TERM=xsun5, ORAENV_ASK=NO, ORATAB=, ORA_NLS=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/ocommon/nls/admin/data, PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin:/opt/local/scripts:/opt/local/bin:/opt/local/xns:/opt/X11:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/etc:/usr/ccs/bin:/usr/ucb:/usr/openwin:/usr/openwin/bin:/usr/bin/X11:/usr/openwin/bin/X11:/usr/openwin/lib:/usr/lib:/usr/sbin:/usr/local/bin:/app/oracle/local/dba/utilities:/opt/bin:/opt/EDSsrm/bin:/usr/bin, PWD=//rdwq/apps/oracle/product/10.2.0.4.2011Q1/network/admin, SHELL=/bin/bash, SHLIB_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, SHLVL=1, TERM=vt100, TNS_ADMIN=, TZ=US/Pacific, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emca]
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://usa7061ux300:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
    Logs are generated in directory /rdwq/apps/oracle/product/10.2.0.4.2011Q1/usa7061ux300_rdwq/sysman/log
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
    Aug 22, 2011 10:24:21 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: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)
    Please guide me to resolve this issue.
    Thanks

    Hi,
    Content of emagent.trc :-
    2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
    2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
    2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
    Content of emagent.trc :-
    2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
    2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
    2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
    rdwsdba$ tail -100 emdctl.trc
    2011-08-23 07:01:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:01:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:01:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:01:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:02:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:02:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:02:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:02:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:04:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:04:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:04:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:04:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:05:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:05:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:05:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:05:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:07:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:07:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:07:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:07:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:08:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:08:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:08:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:08:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:10:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:10:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:10:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:10:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:11:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:11:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:11:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:11:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:13:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:13:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:13:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:13:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:14:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:14:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:14:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:14:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:16:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:16:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:16:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:16:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:17:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:17:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:17:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:17:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:19:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:19:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:19:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:19:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:20:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:20:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:20:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:20:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:22:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:22:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:22:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:22:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:23:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:23:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:23:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:23:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:25:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:25:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:25:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:25:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:26:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:26:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:26:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:26:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:28:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:28:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:28:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:28:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:29:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:29:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:29:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:29:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:31:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:31:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:31:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:31:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:32:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:32:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:32:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:32:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:34:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:34:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:34:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:34:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:35:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:35:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:35:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:35:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:37:23 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:37:23 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:37:23 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:37:23 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    There is no secure.log file.
    Thanks

  • Failed to install emca 11g

    Hi. Im having difficulty creating the em repository under $ORACLE_HOME and also under oc4j/j2ee <hostname sid>
    Heres what Ive tried so far
    Step 1
    create the repos
    emca
    entered SID
    entered 1521 as port
    entered passwords
    this fails and does not create a <hostname sid> folder in either $ORACLE_HOME or oc4j/j2ee
    Step 2
    Ive then dropped the repos
    emca -deconfig dbcontrol db -repos drop
    Step 3
    dropped sysman by doing the follwing
    2) sqlplus /nolog
    conn / as sysdba
    SQL> EXEC sysman.emd_maintenance.remove_em_dbms_jobs;
    SQL> EXEC sysman.setEMUserContext('',5);
    SQL> REVOKE dba FROM sysman;
    SQL> DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1
    LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    SQL> DROP USER mgmt_view CASCADE;
    SQL> DROP ROLE mgmt_user;
    SQL> DROP USER sysman CASCADE;
    And this
    3) After deleting the Database Control Repository, you will need to remove the configuration files. This is done by using the emca script with the -x option as shown in the following example:
    emca -x $ORACLE_SID
    Step 4
    After all thats done as user su I ran the root.sh and also the oraInstRoot.loc
    Step 5
    Check to see if listener is running
    My Listener output
    [oracle@orclex dbhome_1]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 10-OCT-2012 17:46:53
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 29-SEP-2012 21:05:03
    Uptime 10 days 20 hr. 41 min. 50 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/orclex/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=orclex.ocmdba.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=extproc1521)))
    Services Summary...
    Service "mydb" has 1 instance(s).
    Instance "mydb", status UNKNOWN, has 1 handler(s) for this service...
    Service "mydb3" has 1 instance(s).
    Instance "mydb3", status READY, has 1 handler(s) for this service...
    Service "mydb3XDB" has 1 instance(s).
    Instance "mydb3", status READY, has 1 handler(s) for this service...
    The command completed successfully
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_CONOR =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    MYDB3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mydb3)
    listener.ora
    LISTENER=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=extproc1521))))
    Step 6
    Then I issued the command ALTER SYSTEM REGISTER to register the db with the listener
    Step 7
    after this when i run the emca -repos create for a 2nd time I get...
    INFO: Creating the EM repository (this may take a while) ...
    Oct 10, 2012 6:22:22 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Oct 10, 2012 6:22:22 PM
    But when I try to launch it I get...
    EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/orclex.ocmdba.com_ora11g not found.
    There isnt a folder there, nor is there 1 in oc4j/j2ee/
    Please, please help :)
    PS If anyone is questioning why I did these steps Im a newb, I just followed these from forums where people were having seemingly similar problems
    Thanks in advance

    user10606943 wrote:
    I changed the listener.ora file value to read `(ADDRESS=(PROTOCOL=tcp)(HOST=orclex.ocmdba.com)(PORT=1521))`
    Then I ran
    ALTER SYSTEM REGISTER;
    At this stage there isnt a repos created so I dont have to run the drop command.
    I run the cleanup script to be on the safe side. Most of it doesnt execute as sysman doesnt exist
    SQL> EXEC sysman.emd_maintenance.remove_em_dbms_jobs;
    SQL> EXEC sysman.setEMUserContext('',5);
    SQL> REVOKE dba FROM sysman;
    SQL> DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1
    LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    SQL> DROP USER mgmt_view CASCADE;
    SQL> DROP ROLE mgmt_user;
    SQL> DROP USER sysman CASCADE;
    I run the create repos script again
    now this time it gets a little bit further but still no joy
    Oct 26, 2012 6:47:02 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Oct 26, 2012 6:55:35 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Oct 26, 2012 6:55:45 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Oct 26, 2012 6:56:58 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Oct 26, 2012 6:56:58 PM oracle.sysman.emcp.util.FileUtil setAttributeInXML
    SEVERE: Error parsing XML file /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole/config/server.xml
    Oct 26, 2012 6:56:58 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating OC4J configuration files
    Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/mydb5/emca_2012_10_26_18_46_44.log for more details.
    Could not complete the configuration. Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/mydb5/emca_2012_10_26_18_46_44.log for more details.
    /u01/app/oracle/cfgtoollogs/emca/mydb5/emca_2012_10_26_18_46_44.log
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/dbhome_1/oui
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to true
    My listener.ora
    LISTENER=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=orclex.ocmdba.com)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=extproc1521))))
    [root@orclex dbhome_1]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 orclex.ocmdba.com orclex
    192.168.1.51 orclex.ocmdba.com orclex
    #::1 localhost6.localdomain6 localhost6
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 24-OCT-2012 18:38:02
    Uptime 2 days 0 hr. 23 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/orclex/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=orclex.ocmdba.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=extproc1521)))
    Services Summary...
    Service "mydb5" has 1 instance(s).
    Instance "mydb5", status READY, has 1 handler(s) for this service...
    Service "mydb5XDB" has 1 instance(s).
    Instance "mydb5", status READY, has 1 handler(s) for this service...
    The command completed successfully
    I checked under $ORACLE_HOME and there isnt any <hostname_sid> folder created there
    Error parsing XML file /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole/config/server.xml
    In /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/
    there isnt a OC4J_DBConsole directory
    Edited by: user10606943 on Oct 26, 2012 4:11 PM
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/dbhome_1/oui
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to true
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'create' set to true
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: /u01/app/oracle/product/11.2.0/dbhome_1
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Oct 26, 2012 6:46:44 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: mydb5
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter REP_DB_RUNNING_HOST.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database null : orclex.ocmdba.com
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: orclex.ocmdba.com
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYSMAN_PWD.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORT.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Couldn't get listener port. File /u01/app/oracle/product/11.2.0/dbhome_1/orclex.ocmdba.com_null/sysman/config/emoms.properties does not exists
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    Oct 26, 2012 6:46:47 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: mydb5, oracleHome: /u01/app/oracle/product/11.2.0/dbhome_1, and user:
    Oct 26, 2012 6:46:48 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    Oct 26, 2012 6:46:48 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Oct 26, 2012 6:46:48 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Oct 26, 2012 6:46:48 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Oct 26, 2012 6:46:48 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: mydb5
    Oct 26, 2012 6:46:48 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Oct 26, 2012 6:46:48 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Oct 26, 2012 6:46:48 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: mydb5
    Edited by: user10606943 on Oct 26, 2012 4:40 PMpost results from following OS commands
    hostname
    uname -a
    ping localhost
    ping orclex
    ping 127.0.0.1
    ping 192.168.1.51
    /sbin/ifconfig
    COPY the results from above, then PASTE all back here

  • Issue related to instalation of EM on another interface

    Hello world!
    I have a complicated issue (for me).
    Today I started to deploy/install Enterprise Manager on my machine.
    I have Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit installed on RedHat Linux.
    The database is running on a Veritas cluster, so each of the machines (active/passive) has a network interface for it's own and one is the bond interface on which is listening Oracle.
    So I proceed to the installation using:
    emca -config dbcontrol db -repos recreate
    I provided all the answers and the result is:
    WARNING: ORA-12541: TNS:no listener
    Nov 4, 2013 1:51:08 PM oracle.sysman.emcp.EMConfig perform
    SEVERE:
    Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
    I think the problem is from those two interfaces. Is there a way to specify the interface where you want to install EM?
    Thank you in advance.
    Regards.

    Hi Team,
    Ensure you follow all steps to configure your DBcontrol as per below metalink doc
    Configure DB Control 10.2, 11g for use in Active/Passive High Availability Environments (Doc ID 362524.1)
    Regarding listener error I think the issue is because of the machine has multiple NICS/IP addresses and the hostname used by EMCA does not match the hostname used by the listener or the etc/hosts file is not correct
    If the Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>
    Also refer to below metalink doc to help resolve the issue
    Troubleshooting EMCA Failures Due to Database Connectivity Issues (Doc ID 1106623.1)
    Also check the <ORACLE_HOME>/cfgtoollogs/emca/* for detailed error message
    Regards,
    Rahul

  • EMCA create repository fails - 100% CPU utilization

    Hello.
    I can't create EM repository:
    #emca -config dbcontrol db -repos create
    STARTED EMCA at Jul 28, 2011 11:39:59 AM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: oradev
    Listener port number: 1521
    Listener ORACLE_HOME [ /opt/oracle/product/11.2.0/dbhome_1 ]:
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /opt/oracle/product/11.2.0/dbhome_1
    Local hostname ................ feniks.uhc.local
    Listener ORACLE_HOME ................ /opt/oracle/product/11.2.0/dbhome_1
    Listener port number ................ 1521
    Database SID ................ oradev
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Jul 28, 2011 11:40:24 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /opt/oracle/cfgtoollogs/emca/oradev/emca_2011_07_28_11_39_59.log.
    Jul 28, 2011 11:40:27 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    ....and
    process hangs (CPU 100%).
    Log shows that it creates all database objects:
    Create SYSMAN user.
    Script to revoke DBA role from SYSMAN and grant required privileges
    Creating tables/views etc.
    "strace" for oracle PID shows only:
    mmap(0x2b894553c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894553c000
    mmap(0x2b894554c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894554c000
    mmap(0x2b894555c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894555c000
    mmap(0x2b894556c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894556c000
    mmap(0x2b894557c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894557c000
    mmap(0x2b894558c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894558c000
    mmap(0x2b894559c000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b894559c000
    mmap(0x2b89455ac000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 8, 0) = 0x2b89455ac000
    After 10min Oracle memory usage increased 2x. I killed process, restarted database, restarted mashine but still the same result.
    I searched for similar problems but I only found issues where there are errors while creating repo.
    I didn't get ANY error at all.
    Process hangs.
    Thanks for your help.
    ORACLE VERSION
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    OS VERSION:
    Linux 2.6.18-194.26.1.el5 #1 SMP Wed Nov 10 12:49:43 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
    Regards
    Marcin

    Documentation says Oracle supports both: 1.5.X and 1.6.X but Oracle Database 11g is delivered with JRE 1.5.
    When I switched JRE to 1.6 insalled in my OS (I modified emca script in $ORACLE_HOME/bin) I got error:
    java.lang.UnsatisfiedLinkError: /opt/oracle/product/11.2.0/dbhome_1/oui/lib/linux/liboraInstaller.so: /opt/oracle/product/11.2.0/dbhome_1/oui/lib/linux/liboraInstaller.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
    at java.lang.Runtime.load0(Runtime.java:770)
    at java.lang.System.load(System.java:1005)
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
    at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
    at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
    at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
    at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
    at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
    at oracle.sysman.emcp.util.OUIInventoryUtil.getOUILoc(OUIInventoryUtil.java:135)
    at oracle.sysman.emcp.util.ClusterUtil.isHASInstalled(ClusterUtil.java:276)
    at oracle.sysman.emcp.EMConfig.<clinit>(EMConfig.java:159)
    at oracle.sysman.emcp.EMConfigAssistant.<clinit>(EMConfigAssistant.java:207)
    I think I will send this problems to my Oracle support becouse I ran out of ideas...
    Regards
    Marcin

  • Fresh install of 11g issue

    my https://locahost:1158/em wasnt working then i tired my sqlplus and it did work, i read online that i had to run
    [oracle@localhost bin]$ ./emctl start dbconsole
    Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
    *So I did gave it a name, My Database name, mydb
    then i tried again to see if it works ...
    **************then this happened
    [oracle@localhost bin]$ export ORACLE_UNQNAME=mydb
    [oracle@localhost bin]$ ./emctl start dbconsole
    OC4J Configuration issue. /u01/home/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_mydb not found.
    now here I'm clueless about what to do thats why I came here for some help from the experts :) thanks in advance
    Sincerely
    Antonio Hernandez
    Running OEL 5.5 btw
    Edited by: kp4x on Jul 13, 2011 6:10 AM

    Did you check the box to configure Enterprise manager while creating the database or installation. could you please check whether the configuration files for this database has been created in your oracle home. If it is not created. Please create them manually using
    emca -config dbcontrol db

  • OC4J Configuration issue

    Hi,
    I tried to put my database in Archivelog mode through EM , at the time of restarting the database it didnt start... instance is starting but database is not opening....
    I tried this command but its giving error... ( I am running 10g r2 , on RHEL 5 which is install on Oracle virtual toolbox )
    emctl start dbconsole
    OC4J Configuration issue. /opt/oracle/oraclehome_112/db_1/oc4j/j2ee/OC4J_DBConsole_myhostname_orcl not found.
    where orcl is the instance name.
    and this directory, OC4J_DBConsole_myhostname_orcl, does not exist on the file system.
    In some article I read ... the solution I tried to type...
    http://kamranagayev.com/2011/03/21/step-by-step-installing-oracle11g-on-linux/
    Feedback no. 19
    ./emca -deconfig dbcontrol db -repos drop
    bash : ./emca : No Such file or Directory
    ./emca -config dbcontrol db -repos create
    Thanks and regards...

    Hello;
    I'm thinking this step was either missed of you have a typo :
    Change the entry of .bash_profile file of the oracle user and add following lines:
    vi /home/oracle/.bash_profile
    export ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$PATHIf your ORACLE_HOME is set it should find the "emca".
    You can test by running these export commands at the Linux prompt.
    The which command is your friend
    which emca
    /u01/app/oracle/product/11.2.0.2/bin/emcaBest Regards
    mseberg
    Edited by: mseberg on Feb 29, 2012 2:52 PM

  • Oracle Enterprise Manager Configuration Issue in 11gR2 RAC Environment

    Trying to configure OEM in 11gR2 (2-node) RAC Environemnt with following command:
    emca -config dbcontrol db -repos create -cluster
    and getting error:
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
    Kindly help me out how to get out of this error. When see the log generated against this command it shows that database connective successfully established so there is no issue in listener configuration and connection.
    Regards,
    Umair

    It is not even creating the directory hostname.domainname under $ORACLE_HOME.
    Regards,
    Umair

  • Emca Continually Shows "Invalid username/password" for the DBSNMP User

    Hi,
    During configure dbconsole DBSNMP user is giving invalid password whereas i am able to connect dbsnmp using sqlplus as below.
    SQL> conn dbsnmp/dbsnmp@UAT
    Connected.
    while i m tryin to configure dbconsole got below error
    emca -config dbcontrol db -repos create
    $emca -config dbcontrol db -repos create
    STARTED EMCA at May 29, 2010 4:29:31 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: UAT
    Listener port number: 1521
    Password for SYS user:
    Password for DBSNMP user:
    Invalid username/password.
    Password for DBSNMP user:
    Invalid username/password.
    Password for DBSNMP user:
    Thanks

    Hi,
    Ok i will do in future.
    I did as you said but issue is still coming.Now the error is bit different in the log file For this same error i found solution in meta doc id 337260.1 for exact error In the solution i have to to set the value as below but it has already same value.
    Error:
    CONFIG: SQLEngine created successfully and connected
    May 29, 2010 5:03:06 PM oracle.sysman.emcp.DatabaseChecks validateUserCredential
    CONFIG: Failed to update account status.
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACL
    E not available
    Solution:
    In order to fix the Invalid username/password message
    Check the profile limit for the users SYSMAN, DBSNMP and MGMT_VIEW
    select u.username, u.profile, p.resource_name, p.limit
    from dba_profiles p, dba_users u
    where p.profile=u.profile
    and u.username in ('SYS', 'SYSMAN','DBSNMP','MGMT_VIEW')
    and p.resource_type = 'PASSWORD'
    order by u.username, p.resource_name;
    If the value of LIMIT for PASSWORD_VERIFY_FUNCTION is not NULL:
    Change the password so that it meets the function requirements.
    If the value of LIMIT for PASSWORD_REUSE_MAX is not UNLIMITED:
    Change the password so that it is different from a password that has already been used the number of times set in PASSWORD_REUSE_MAX.
    Or
    Change the value of LIMIT for PASSWORD_REUSE_MAX to UNLIMITED for the profile.
    Below output of 1st query:
    USERNAME     PROFILE     RESOURCE_NAME     LIMIT
    DBSNMP     DEFAULT     FAILED_LOGIN_ATTEMPTS     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_GRACE_TIME     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_LIFE_TIME     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_LOCK_TIME     .0006
    DBSNMP     DEFAULT     PASSWORD_REUSE_MAX     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_REUSE_TIME     UNLIMITED
    DBSNMP     DEFAULT     PASSWORD_VERIFY_FUNCTION     NULL
    SYS     DEFAULT     FAILED_LOGIN_ATTEMPTS     UNLIMITED
    SYS     DEFAULT     PASSWORD_GRACE_TIME     UNLIMITED
    SYS     DEFAULT     PASSWORD_LIFE_TIME     UNLIMITED
    SYS     DEFAULT     PASSWORD_LOCK_TIME     .0006
    SYS     DEFAULT     PASSWORD_REUSE_MAX     UNLIMITED
    SYS     DEFAULT     PASSWORD_REUSE_TIME     UNLIMITED
    SYS     DEFAULT     PASSWORD_VERIFY_FUNCTION     NULL
    Thanks

Maybe you are looking for