Emca drop

Hi all,
Oracle 10.2.0.4
Does the command
emca -deconfig dbcontrol db -repos dropEquivalent to:
drop user sysman cascade;
drop role MGMT_USER;
drop user MGMT_VIEW cascade;
drop public synonym MGMT_TARGET_BLACKOUTS;
drop public synonym SETEMVIEWUSERCONTEXT;And no more or less?
Thanks...
Edited by: yxes2013 on 5.4.2013 1:12

Thanks "Mr Asha & Mr Kh"
why you dn,t want to use emca - deconfig dbcontrol db -repos drop?Well, its because the former DBA in my new company created the docs as follows:
Setup database control
1. export ORACLE_HOSTNAME = abc.prod.com
2. Copy the files from the once existing.
      a.  $ORACLE_HOME/<IP>_<SID>
      b.  $ORACLE_HOME/<HOSTNAME>_<SID>
3. Copy the files from the once existing
      a.   $ORACLE_HOME/oc4j/j2ee/<IP>_<SID>
      b.   $ORACLE_HOME/oc4j/j2ee/<HOSTNAME>_<SID>
4. export ORACLE_SID=PROD
5. emctl stop dbconsole
6. emca –deconfig dbcontrol db
7. sqlplus / as sysdba@drop_repository.sql
8. emca –config dbcontrol db –repos create
9. emctl upload
=======================
drop_repository.sql code listing
drop user sysman cascade;
drop role MGMT_USER;
drop user MGMT_VIEW cascade;
drop public synonym MGMT_TARGET_BLACKOUTS;
drop public synonym SETEMVIEWUSERCONTEXT;Do you have any idea why he made it separate?
What does emctl upload do?
Thanks....

Similar Messages

  • EMDATABASEControl emca drop and recreate in RAC

    Any body know how to drop and recreate EMDATABASEControl (emca) drop and recreate for RAC DB?

    use emca -help you can get the parameters used to de-configure and re-configure the emca for RAC
    $emca -help
    -deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified RAC instance
    -reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database Control deployment

  • Emca Drop repository

    Hi, sometimes I have problems initialing the OEM, after a lot of tries a solution that solve my problems is:
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    And it works... But whats real effect of this commands?
    Which data I lost dropping/recreating the repository?
    Thanks.
    Paulo.

    In short you are not losing anything important just some repository metadata, you can find out the schema and data by checking SYSMAN user's objects because that's pretty much the user got dropped and recreated.
    Most useful functions and charts of OEM are driven from AWR ASH data (DBA_HIST tables)

  • Emca drop and recreate for RAC DB.

    metalink notes Note:315299.1 discuss the same problem
    Now question is
    1-What are the steps to Recreate the Database Control configuration files:
    & what -x and -r flags are doing ? can i run simple emca and do the job? I am in RAC environment.
    ./bin/emca -x <sid>
    ./bin/emca -r

    You can add the -cluster parameter.
    Read more about it in the documentation

  • Problem installing packages for SQL monitoring activites - in OEM dbcontrol

    hi guys,
    possible to reinstall the OEM (dbconsole)component as i am having alot of running issues with it.
    i do not intend to emca drop repository as the repository cannot be drop successfully as well.
    ( base on the emca log - i am stuck at
    Getting temporary tablespace from database ) - log just stop at there.
    so i went my own way and drop the sysman user
    drop the MGMT_VIEW , the public synonyms and recreate the repository.
    While configuring SQL activity Monitoring, i am suppose required to install packages but i keep getting the <i> cannot compute dynamic properties in time </i> error.
    Went to metalink, search for this error [ID 739993.1], follow the fixed - but is of no help. (any other logs i can look at ?)
    So i just want to reinstall this whole piece of thing again, but not sure whelther it is possible or not (as i think the dbconsole comes with the oracle software installation).
    What should i do ?~~ I been trying this for days and hours .
    any advices, gurus
    - Desperate and angry noob.
    Regards,
    Noob

    Solved....
    Although I add the same ILOM versions on both servers (2.0.2.6) I updated the ILOM to 3.0.6.15 and everything was installed successfully.

  • Emca -deconfig dbcontrol db -repos drop

    greetings,
    11g on windows 7.
    encountered error when tried to start the dbconsole. so i emca -deconfig dbcontrol db -repos drop (which i did b4 and worked).
    at the screen it complained about
    WARNING: Error executing CMD /C C:\app\faye\product\11.2.0\dbhome_4\bin\nmesrvops.exe delete OracleDBConsoleMECWEB
    SEVERE: Can't find file C:\app\faye\product\11.2.0\dbhome_4\AB1-B44-D.mec.cuny.edu_MECWEB\sysman\config\emoms.properties
    **but i could locate the file ***
    and log as follow...
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-deconfig' set to true
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'drop' set to true
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: C:\app\faye\product\11.2.0\dbhome_4
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:08:57 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SID.
    May 8, 2013 2:09:02 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: MECWEB
    May 8, 2013 2:09:04 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_OH.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter REP_DB_RUNNING_HOST.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database null : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYSMAN_PWD.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:10 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:11 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:15 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :C:\app\faye
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database null : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at C:\app\faye\cfgtoollogs\emca\MECWEB\emca_2013_05_08_14_08_57.log.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: C:\app\faye\product\11.2.0\dbhome_4
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database MECWEB : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SERVICE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database MECWEB : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ASM_OH.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database MECWEB : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getHost
    CONFIG: Host having instnces running for database MECWEB : AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: REP_DB_RUNNING_HOST value: AB1-B44-D.mec.cuny.edu
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getRepDbPort
    CONFIG: Listener Port: 1521
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: MECWEB, oracleHome: C:\app\faye\product\11.2.0\dbhome_4, and user: SYS
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: MECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
    CONFIG: isHAInstalled: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: MECWEB Host: AB1-B44-D.mec.cuny.edu Node: null OH: C:\app\faye\product\11.2.0\dbhome_4 agentHome: null isCentral: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: MECWEB Host: AB1-B44-D.mec.cuny.edu Node: null OH: C:\app\faye\product\11.2.0\dbhome_4 isDBC: true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to true
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: cmdType: 1
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface isPre112Home
    CONFIG: oracleHome: C:\app\faye\product\11.2.0\dbhome_4 isPre112Home: false
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Stopping Windows service...OracleDBConsoleMECWEB
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Failed to stop service
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\faye\AppData\Roaming, CLASSPATH=C:\app\faye\product\11.2.0\dbhome_4\jlib\emca.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\srvm.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\srvmasm.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\cvu.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\emConfigInstall.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\ldapjclnt11.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\ldap.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\share.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\srvmhas.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\netcfg.jar;C:\app\faye\product\11.2.0\dbhome_4\jlib\http_client.jar;C:\app\faye\product\11.2.0\dbhome_4\lib\http_client.jar;C:\app\faye\product\11.2.0\dbhome_4\lib\xmlparserv2.jar;C:\app\faye\product\11.2.0\dbhome_4\assistants\jlib\assistantsCommon.jar;C:\app\faye\product\11.2.0\dbhome_4\sysman\jlib\emCORE.jar;C:\app\faye\product\11.2.0\dbhome_4\sysman\jlib\emagentSDK.jar;C:\app\faye\product\11.2.0\dbhome_4\oui\jlib\OraInstaller.jar;C:\app\faye\product\11.2.0\dbhome_4\oui\jlib\OraPrereq.jar;C:\app\faye\product\11.2.0\dbhome_4\inventory\prereqs\oui\OraPrereqChecks.jar;C:\app\faye\product\11.2.0\dbhome_4\oui\jlib\OraPrereqChecks.jar;, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, COMMONPROGRAMW6432=C:\Program Files\Common Files, COMPUTERNAME=AB1-B44-D, COMSPEC=C:\Windows\system32\cmd.exe, EMCA_JAR=C:\app\faye\product\11.2.0\dbhome_4\jlib\emca.jar, EMDROOT=C:\app\faye\product\11.2.0\dbhome_4, FP_NO_HOST_CHECK=NO, HOMEDRIVE=C:, HOMEPATH=\Users\faye, JRE_JAVA=C:\app\faye\product\11.2.0\dbhome_4\jdk\jre\bin\java, LD_LIBRARY_PATH=C:\app\faye\product\11.2.0\dbhome_4\lib32;C:\app\faye\product\11.2.0\dbhome_4\lib;C:\app\faye\product\11.2.0\dbhome_4\perl\lib;null, LIB_DIR=C:\app\faye\product\11.2.0\dbhome_4\jlib, LOCALAPPDATA=C:\Users\faye\AppData\Local, LOGONSERVER=\\SSBAD, NUMBER_OF_PROCESSORS=2, OH=C:\app\faye\product\11.2.0\dbhome_4, ORACLE_HOME= C:\app\faye\product\11.2.0\dbhome_4, ORACLE_SID=MECWEB, ORACLE_SID = MECWEB, OS=Windows_NT, PATH=C:\app\faye\product\11.2.0\dbhome_4\bin;C:\app\faye\product\11.2.0\dbhome_4\jdk\jre\bin\server;C:\app\faye\product\11.2.0\dbhome_4\bin;C:\app\faye\product\11.2.0\dbhome_4\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Blackbaud\The Financial Edge\;C:\Program Files (x86)\Calibre2\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PERL5LIB=C:\app\faye\product\11.2.0\dbhome_4\sysman\admin\scripts;C:\app\faye\product\11.2.0\dbhome_4\bin;, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel, PROCESSOR_LEVEL=6, PROCESSOR_REVISION=170a, PROGRAMDATA=C:\ProgramData, PROGRAMFILES=C:\Program Files, PROGRAMFILES(X86)=C:\Program Files (x86), PROGRAMW6432=C:\Program Files, PROMPT=$P$G, PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, ROXIOCENTRAL=C:\Program Files (x86)\Common Files\Roxio Shared\10.0\Roxio Central36\, SESSIONNAME=Console, SID=mecweb, SYSTEMDRIVE=C:, SYSTEMROOT=C:\Windows, TEMP=C:\Users\faye\AppData\Local\Temp, TMP=C:\Users\faye\AppData\Local\Temp, USERDNSDOMAIN=MEC.CUNY.EDU, USERDOMAIN=MEC, USERNAME=faye, USERPROFILE=C:\Users\faye, WINDIR=C:\Windows]
    May 8, 2013 2:09:17 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: C:/app/faye/product/11.2.0/dbhome_4/perl/bin\perl.exe C:\app\faye\product\11.2.0\dbhome_4\sysman\admin\scripts\db\sgastop.pl stop MECWEB AB1-B44-D.mec.cuny.edu 1521 C:\app\faye\product\11.2.0\dbhome_4
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of C:/app/faye/product/11.2.0/dbhome_4/perl/bin\perl.exe C:\app\faye\product\11.2.0\dbhome_4\sysman\admin\scripts\db\sgastop.pl stop MECWEB AB1-B44-D.mec.cuny.edu 1521 C:\app\faye\product\11.2.0\dbhome_4 completed successfully
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: nmccollector process does not exist
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
    CONFIG: Successfully stopped nmc-collector process
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: cmdType: 2
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface isPre112Home
    CONFIG: oracleHome: C:\app\faye\product\11.2.0\dbhome_4 isPre112Home: false
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface serviceCommand
    CONFIG: Deleting Windows service...OracleDBConsoleMECWEB
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: CMD /C C:\app\faye\product\11.2.0\dbhome_4\bin\nmesrvops.exe delete OracleDBConsoleMECWEB
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of -1
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: OpenSCManager FAILED: Access is denied.
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing CMD /C C:\app\faye\product\11.2.0\dbhome_4\bin\nmesrvops.exe delete OracleDBConsoleMECWEB
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface deleteLocalWindowsService
    CONFIG: Failed to delete service OracleDBConsoleMECWEB
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface deleteLocalWindowsService
    CONFIG: Failed to remove the registry entries.
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.PlatformInterface deleteLocalWindowsService
    CONFIG: Error Message: PRKC-1117 : Failed to delete registry subkey "SOFTWARE\Oracle\SYSMAN\OracleDBConsoleMECWEB" under key "HKEY_LOCAL_MACHINE" on node "AB1-B44-D.mec.cuny.edu", [The system cannot read from the specified device.
    oracle.ops.mgmt.cluster.ClusterException: PRKC-1117 : Failed to delete registry subkey "SOFTWARE\Oracle\SYSMAN\OracleDBConsoleMECWEB" under key "HKEY_LOCAL_MACHINE" on node "AB1-B44-D.mec.cuny.edu", [The system cannot read from the specified device.
         at oracle.ops.mgmt.cluster.ClusterWindows.deleteRegKeyOnNode(ClusterWindows.java:553)
         at oracle.sysman.emcp.util.ClusterUtil.deleteRegKeyOnNode(ClusterUtil.java:1364)
         at oracle.sysman.emcp.util.PlatformInterface.deleteLocalWindowsService(PlatformInterface.java:1102)
         at oracle.sysman.emcp.util.PlatformInterface.serviceCommand(PlatformInterface.java:897)
         at oracle.sysman.emcp.EMDBPreConfig.performDeconfiguration(EMDBPreConfig.java:837)
         at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:278)
         at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:195)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
         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 8, 2013 2:09:18 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Can't find file C:\app\faye\product\11.2.0\dbhome_4\AB1-B44-D.mec.cuny.edu_MECWEB\sysman\config\emoms.properties
    Refer to the log file at C:\app\faye\cfgtoollogs\emca\MECWEB\emca_2013_05_08_14_08_57.log for more details.
    May 8, 2013 2:09:18 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    java.lang.IllegalStateException: Can't find file C:\app\faye\product\11.2.0\dbhome_4\AB1-B44-D.mec.cuny.edu_MECWEB\sysman\config\emoms.properties
         at oracle.sysman.emSDK.conf.ConfigManager.processSensitiveProperties(ConfigManager.java:1284)
         at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1150)
         at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1132)
         at oracle.sysman.emcp.EMReposConfig.stopDBMSJobs(EMReposConfig.java:1187)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:187)
         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 8, 2013 2:09:18 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\faye\product\11.2.0\dbhome_4\oui
    kindly please help.
    thanks and have a very nice day!

    Welcome to OTN
    Which Version of windows 7 you have ?

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

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

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

  • Emca -deconfig dbcontrol db -repos drop, perl 100%CPU

    Hello!
    My system is: Red Hat Enterprise Linux AS release 4 x64, Oracle 10.2.0.1.0
    Few days ago I had found that 2 perl processes eat 100% CPU.
    So I decided to restart EM. But the problem remain the same.
    Then I decided to recreate EM repository:
    emca -deconfig dbcontrol db -repos drop -SID db1 -HOST HP -ORACLE_HOME /app/oracle
    STARTED EMCA at Jul 9, 2010 11:49:17 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jul 9, 2010 11:49:31 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /app/oracle/cfgtoollogs/emca/ db1 /emca_2010-07-09_11-49-17-AM.log.
    Jul 9, 2010 11:49:31 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jul 9, 2010 11:49:33 AM oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    In this point command hangs.
    Looking to the processes:
    ps aux | grep perl
    oracle 15592 101 0.0 23752 8672 pts/2 R+ 12:11 0:24 /app/oracle/perl/bin/perl /app/oracle/sysman/admin/emdrep/bin/emrepmgr.pl -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=HP)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME= db1))) -repos_user SYSMAN -action drop -verbose -output_file /app/oracle/cfgtoollogs/emca/ db1 /emca_repos_drop_2010-07-09_12-11-40-PM.log
    oracle 15667 0.0 0.0 51100 688 pts/4 S+ 12:12 0:00 grep perl
    Looking to the log:
    [oracle@HP db1]$ tail -n 50 /app/oracle/cfgtoollogs/emca/ db1 /emca_repos_drop_2010-07-09_12-11-40-PM.log
    [09-07-2010 12:11:40] Enter SYS user's password :
    [09-07-2010 12:11:40]
    [09-07-2010 12:11:40] Enter repository user password :
    [09-07-2010 12:11:40]
    [09-07-2010 12:11:40] Getting temporary tablespace from database...
    Could you please help me with this?
    Why does perl hang? And how to correctly recreate repository?
    (Is it possible to recreate repository without any outages(quiescing or restart the DB))
    Thanks!

    Yesterday I've started EM, but emagent had 100%CUP again.
    And there was an active session by sysman:
    BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
    After making some research, i've done this:
    sqlplus sysman@db1
    SQL>@/app/oracle/sysman/admin/emdrep/sql/core/latest/notification/notification_pkgbodys.sql
    (changing string DBMS_AQ.LISTEN (agents, qtimeout_in, agent);
    to DBMS_AQ.LISTEN (agents, 1200, agent);
    in it
    After restarting EM this problem remain the same.
    Logs:
    cat ./emagent.log
    2010-07-12 12:28:44 Thread-4136454368 Starting Agent 10.1.0.4.1 from /app/oracle (00701)
    2010-07-12 12:29:44 Thread-4136454368 target {db1, oracle_database} is broken: cannot compute dynamic properties in time. (00155)
    2010-07-12 12:29:44 Thread-4136454368 EMAgent started successfully (00702)
    and
    [oracle@HP log]$ tail -n 5 ./emdctl.trc
    2010-07-12 12:28:32 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    2010-07-12 12:28:34 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    2010-07-12 12:28:37 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    2010-07-12 12:28:40 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    2010-07-12 12:28:43 Thread-4136453824 WARN http: snmehl_connect: connect failed to (HP:3938): Connection refused (error = 111)
    Why does "Connection refused" appear?
    How to deal with this issue?
    Yours suggestions will be VERY appreciated. Thanks!
    Edited by: dmitry_rpd on Jul 13, 2010 12:33 AM

  • Error during repository drop (emca -repos drop)

    Hi
    emca -repos drop failed
    in log i've the error beyond however my password is set correctly.
    <message from log>
    Enter repository user password :
    Getting temporary tablespace from database...
    Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=srMyserver)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test10g))): ORA-01031: i
    nsufficient privileges (DBD ERROR: OCISessionBegin)
    with the other command:
    RepManager srMyserver 1521 test10g -sys_password zectl12zZ -action drop
    the system ask "Enter Repository User name" & "Enter Password user Name"
    ok. i give him what it want but another error message ...
    <message from console>
    Getting temporary tablespace from database...
    Could not connect to SYS/(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=sr012641)(Port=1521))(CONNECT_DATA=(SID=test10g))): ORA-01031: insufficient privileges (
    DBD ERROR: OCISessionBegin)
    Config system: 10g release 2, AIX 5.3
    Thanks for reading and any posts.
    regards
    Denis

    Try:
    emca -deconfig dbcontrol db -repos drop
    The Repository password prompt is for SYSMAN password.
    or:
    RepManager srMyserver 1521 test10g -sys_password zectl12zZ -repos_user sysman -repos_password sysmanpassword -action drop.
    Note:
    I have noticed the two different HOST names in the two errors ( srMyserver and sr012641). So Ensure you are connectign to the correct host and db

  • Unable to drop repository - where is emca looking at (for hostname) ?

    hi guys,
    on oracle10g / linux system.
    try dropping a repository but having error connecting to the database with error in the log as .. below
    [oracle@DBdev ora1]$ vim emca_repos_drop_2010-03-29_04-02-36-PM.log
    [29-03-2010 16:02:36] Enter SYS user's password :
    [29-03-2010 16:02:36]
    [29-03-2010 16:02:36] Enter repository user password :
    [29-03-2010 16:02:36]
    [29-03-2010 16:02:36] Getting temporary tablespace from database...
    [29-03-2010 16:02:36] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=DBdev.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=ora1))): ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)
    In my tnsnames.ora and listerner.ora, there is no such entry as *(HOST=DBdev.localdomain)*.
    Where is emca taking the information from ?
    Regards,
    Noob

    [oracle@DBdev ~]$ tnsping ora1
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 30-MAR-2010 17:27:02
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.123.224)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ora1)))
    OK (0 msec)
    [oracle@DBdev ~]$
    so where does dbdev.localdomain come from ?~

  • Emca configuration/ How i can drop existing emca and recreate it?

    emca configuration/ How i can drop existing emca and recreate it?

    Hmmmm?
    emca is the program used to create/drop/update the em configuration. Not sure why you want to drop emca.
    If you want to drop and recreate the em configuration, have you tried "emca ?" or "emca help=y"

  • Can not drop enterprise manager.

    when i issue the following command i get the error below in the emca logs.
    emca -deconfig dbcontrol db -repos drop
    CONFIG: SQLEngine connecting with SID: I21PREP, oracleHome: /oracle/product/10.2.0.4, and user: SYS
    20/01/2010 10:58:00 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    20/01/2010 10:58:00 oracle.sysman.emcp.DatabaseChecks checkDbAvailabilityImpl
    CONFIG: ORA-01034: ORACLE not available
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACLE not available
    The database and listener are up as i can connect on the same server via sqlplus or i can connect from remote machines without problem using jdbc.
    Also the oracle_sid and oracle_home are set correctly.
    version 10g red hat linux

    i assume the listener is fine as applications can connect to the database without problem.
    oracle@akintlpq1:I21PREP> lsnrctl status
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 20-JAN-2010 12:32:37
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=akintlpq1.tnzi.com)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production
    Start Date 18-JAN-2010 14:31:12
    Uptime 1 days 22 hr. 1 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP ON
    Listener Parameter File /oracle/product/10.2.0/network/admin/listener.ora
    Listener Log File /oracle/product/10.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=akintlpq1.tnzi.com)(PORT=1521)))
    Services Summary...
    Service "DS2K" has 1 instance(s).
    Instance "DS2K", status UNKNOWN, has 1 handler(s) for this service...
    Service "I21PREP.tnzi.com" has 1 instance(s).
    Instance "I21PREP", status READY, has 1 handler(s) for this service...
    Service "I21PREPXDB.tnzi.com" has 1 instance(s).
    Instance "I21PREP", status READY, has 1 handler(s) for this service...
    Service "I21PREP_XPT.tnzi.com" has 1 instance(s).
    Instance "I21PREP", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    oracle@akintlpq1:I21PREP> lsnrctl services
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 20-JAN-2010 12:33:23
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=akintlpq1.tnzi.com)(PORT=1521)))
    Services Summary...
    Service "DS2K" has 1 instance(s).
    Instance "DS2K", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "I21PREP.tnzi.com" has 1 instance(s).
    Instance "I21PREP", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:18 refused:0 state:ready
    LOCAL SERVER
    Service "I21PREPXDB.tnzi.com" has 1 instance(s).
    Instance "I21PREP", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: akintlpq1, pid: 237656>
    (ADDRESS=(PROTOCOL=tcp)(HOST=akintlpq1.tnzi.com)(PORT=32941))
    Service "I21PREP_XPT.tnzi.com" has 1 instance(s).
    Instance "I21PREP", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:18 refused:0 state:ready
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    oracle@akintlpq1:I21PREP> tail -20 listener.log
    20-JAN-2010 11:53:48 * service_update * I21PREP * 0
    20-JAN-2010 11:56:31 * (CONNECT_DATA=(SID=I21PREP)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.19.73)(PORT=60301)) * establish * I21PREP * 0
    20-JAN-2010 11:58:46 * (CONNECT_DATA=(SERVER=DEDICATED)(SID=I21PREP)(CID=(PROGRAM=sqlplus)(HOST=wnomo1.tnzi.com)(USER=nagios))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.2.34)(PORT=15683)) * establish * I21PREP * 0
    20-JAN-2010 12:01:31 * (CONNECT_DATA=(SID=I21PREP)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.19.73)(PORT=56569)) * establish * I21PREP * 0
    20-JAN-2010 12:03:48 * service_update * I21PREP * 0
    20-JAN-2010 12:06:31 * (CONNECT_DATA=(SID=I21PREP)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.19.73)(PORT=49707)) * establish * I21PREP * 0
    20-JAN-2010 12:08:46 * (CONNECT_DATA=(SERVER=DEDICATED)(SID=I21PREP)(CID=(PROGRAM=sqlplus)(HOST=wnomo1.tnzi.com)(USER=nagios))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.2.34)(PORT=48562)) * establish * I21PREP * 0
    20-JAN-2010 12:11:31 * (CONNECT_DATA=(SID=I21PREP)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.19.73)(PORT=42132)) * establish * I21PREP * 0
    20-JAN-2010 12:12:33 * service_update * I21PREP * 0
    20-JAN-2010 12:16:31 * (CONNECT_DATA=(SID=I21PREP)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.19.73)(PORT=54482)) * establish * I21PREP * 0
    20-JAN-2010 12:18:46 * (CONNECT_DATA=(SERVER=DEDICATED)(SID=I21PREP)(CID=(PROGRAM=sqlplus)(HOST=wnomo1.tnzi.com)(USER=nagios))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.2.34)(PORT=5920)) * establish * I21PREP * 0
    20-JAN-2010 12:21:32 * (CONNECT_DATA=(SID=I21PREP)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.19.73)(PORT=34336)) * establish * I21PREP * 0
    20-JAN-2010 12:22:33 * service_update * I21PREP * 0
    20-JAN-2010 12:26:32 * (CONNECT_DATA=(SID=I21PREP)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.19.73)(PORT=60852)) * establish * I21PREP * 0
    20-JAN-2010 12:28:46 * (CONNECT_DATA=(SERVER=DEDICATED)(SID=I21PREP)(CID=(PROGRAM=sqlplus)(HOST=wnomo1.tnzi.com)(USER=nagios))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.2.34)(PORT=32717)) * establish * I21PREP * 0
    20-JAN-2010 12:31:32 * (CONNECT_DATA=(SID=I21PREP)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.148.19.73)(PORT=57381)) * establish * I21PREP * 0
    20-JAN-2010 12:31:33 * service_update * I21PREP * 0
    WARNING: Subscription for node down event still pending
    20-JAN-2010 12:32:37 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=akintlpq1)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870336)) * status * 0
    20-JAN-2010 12:33:23 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=akintlpq1)(USER=oracle))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169870336)) * services * 0

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

  • Error while creating db control repos using  emca -repos create

    hello all
    I am trying to configure the db control on the database..db version 10.2.0.2.0
    this is the error i m getting when recreating the repos
    [oracle@t3 bin]$ emca -repos recreate
    STARTED EMCA at Jun 10, 2009 6:37:34 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: test3
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: yes
    Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-37-34-PM.log.
    Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /d01/oracle/t3/db/tech_st/10.2.0/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t3.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test3))) -repos_user SYSMAN -action drop -verbose -output_file /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_drop_2009-06-10_06-37-47-PM.log
    Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_drop_<date>.log for more details.
    Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-37-34-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-37-34-PM.log for more details.
    Then i saw the logfile..
    It gives this error
    [10-06-2009 18:37:47] Enter SYS user's password :
    [10-06-2009 18:37:47]
    [10-06-2009 18:37:47] Enter repository user password :
    [10-06-2009 18:37:47]
    [10-06-2009 18:37:47] Getting temporary tablespace from database...
    [10-06-2009 18:37:47] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t3.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test3))): ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)
    This error i am getting when creating the repos
    [oracle@t3 bin]$ emca -repos create
    STARTED EMCA at Jun 10, 2009 6:44:21 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: test3
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log.
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_create_<date>.log for more details.
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log for more details.
    Could not complete the configuration. Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log for more details.
    the logfile for this says :
    Jun 10, 2009 6:44:21 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-repos' set to true
    Jun 10, 2009 6:44:21 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 10, 2009 6:44:21 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'create' set to true
    Jun 10, 2009 6:44:21 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: /d01/oracle/t3/db/tech_st/10.2.0
    Jun 10, 2009 6:44:23 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: test3
    Jun 10, 2009 6:44:26 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    Jun 10, 2009 6:44:28 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jun 10, 2009 6:44:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
    Jun 10, 2009 6:44:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 10, 2009 6:44:30 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: test3
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: /d01/oracle/t3/db/tech_st/10.2.0
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: test3
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: test3
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: test3
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: test3
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_create_2009-06-10_06-44-32-PM.log
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Jun 10, 2009 6:44:32 PM 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:365)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:187)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:129)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
         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)
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_create_<date>.log for more details.
    Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log for more details.
    Jun 10, 2009 6:44:32 PM 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:199)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:129)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
         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)

    same error
    [oracle@t3 bin]$ emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Jun 11, 2009 10:13:40 AM
    EM Configuration Assistant, Version 10.2.0.1.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: test3
    Listener port number: 1521
    Password for SYS user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jun 11, 2009 10:13:53 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-11_10-13-40-AM.log.
    Jun 11, 2009 10:13:53 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.EMReposConfig dropRepository
    INFO: Dropping the EM repository (this may take a while) ...
    Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /d01/oracle/t3/db/tech_st/10.2.0/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t3.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test3))) -repos_user SYSMAN -action drop -verbose -output_file /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_drop_2009-06-11_10-14-03-AM.log
    Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error dropping the repository
    Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_drop_<date>.log for more details.
    Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error dropping the repository
    Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-11_10-13-40-AM.log for more details.
    Could not complete the configuration. Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-11_10-13-40-AM.log for more details.
    log file says this
    [11-06-2009 10:14:03] Enter SYS user's password :
    [11-06-2009 10:14:03]
    [11-06-2009 10:14:03] Enter repository user password :
    [11-06-2009 10:14:03]
    [11-06-2009 10:14:03] Getting temporary tablespace from database...
    [11-06-2009 10:14:03] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t3.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test3))): ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)

  • Unable to drop Oracle Enterprise Manager console in Oracle 11g

    Hello all,
    I am trying to drop the Oracle Enterprise Manager console in Oracle 11g (Windows server 2008 32 bit). I am getting the following error.
    D:\Oracle\Ora11G\BIN>emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Jun 16, 2009 9:59:58 PM
    EM Configuration Assistant, Version 11.1.0.7.0 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: NM45
    Listener port number: 1529
    Password for SYS user:
    Password for SYSMAN user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: y
    Jun 16, 2009 10:00:20 PM oracle.sysman.emcp.util.EMCALogManager addLogFileIntern
    al
    WARNING: Adding log file D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log failed. Messages will not be logged in this file.
    Jun 16, 2009 10:00:20 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log.
    Jun 16, 2009 10:00:21 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Jun 16, 2009 10:00:22 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Can't find file D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties
    Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.
    Could not complete the configuration. Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.
    D:\Oracle\Ora11G\BIN>
    Even though the D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties is exists in the disk. Any Idea.
    In Oracle 9i " Enterprise manager Configuration Assistant" (Open “Start ---> Programs ----> Oracle - OraHome92 ---> Configuration and Migration
    Tools -----> Enterprise manager Configuration Assistant) was present. Is there any replacement of this in Oracle 11g ?
    Thanks
    With Regards
    Hemant

    hem_kec wrote:
    Hello all,
    I am trying to drop the Oracle Enterprise Manager console in Oracle 11g (Windows server 2008 32 bit). I am getting the following error.
    D:\Oracle\Ora11G\BIN>emca -deconfig dbcontrol db -repos dropBefore this you shoud do :
    ORACLE_HOME/bin/emca -x <sid>
    ORACLE_HOME>/sysman/admin/emdrep/bin/RepManager <hostname> <listener_port> <sid> -action drop
    Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.did you check this log ?
    Even though the D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties is exists in the disk. Any Idea.yes. you could visit metalink and see      278100.1 How To Drop, Create And Recreate DB Control In A 10g Database
    In Oracle 9i " Enterprise manager Configuration Assistant" (Open “Start ---> Programs ----> Oracle - OraHome92 ---> Configuration and Migration
    Tools -----> Enterprise manager Configuration Assistant) was present. Is there any replacement of this in Oracle 11g ?
    Thanksok
    With Regards
    Hemantbest regards

Maybe you are looking for

  • Finder  Sidebar Hard Drives Duplicated

    Both my internal hard drives (and their partitions)are duplicated in the side bar of the finder i have not added them they have just suddenly appeared .I also thought i saw a quicklook icon in the finder toolbar when i first upgraded and it isnt ther

  • Apple TV on display times out

    Apple TV display times out after a period of time.

  • Error Building Murrine-SVN

    I'm trying to build Murrine-SVN (directly downloaded from svn repositories) and I get this build error: [vg@vg-arch murrine]$ make Making all in schema make[1]: Entering directory `/home/vg/build/murrine/schema' make[1]: Nothing to be done for `all'.

  • Probleme with butons Apply changes & Create

    Hi all, I have an interactive report with a link column which links to a regular form so the user can modify the information when he clicks on the column link. This form is used to add new information too. In the form, the buton create is conditionna

  • Used Migration Assistant - can't find any files!

    I just got a MacBook and attempted to run Migration Assistant. to transfer data from my iBook. I had about 34 gigs of data on the iBook, which seemed to transfer with no problems...but I can not find a single one of these files on my MacBook now that