1 Reply Latest reply on Feb 13, 2013 12:40 PM by Osama_Mustafa

    emca -config dbcontrol db + Can't find file emoms.properties


      Recently we upgradated the database from oracle 11.2.0 to afte that i am unable to start the oem

      now i am configuring the dbcontrol by the following command:

      emca -config dbcontrol db

      but getting the error
      Please enter repository password:
      Exception caught
      Feb 13, 2013 12:04:54 PM oracle.sysman.emcp.util.PlatformInterface executeCommandExitValue
      CONFIG: stty: standard input: Invalid argument
      stty: standard input: Invalid argument
      Can't find file /orahome/oracle/product/
      java.lang.IllegalStateException: Can't find file /orahome/oracle/product/
              at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1154)
              at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1127)
              at oracle.sysman.eml.sec.rep.EmKeyUtil.<init>(EmKeyUtil.java:111)
              at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:507)
      log4j:WARN No appenders could be found for logger (sec.rep.EmKeyUtil).
      log4j:WARN Please initialize the log4j system properly.
      Feb 13, 2013 12:04:54 PM oracle.sysman.emcp.util.DBControlUtil copyEmkeyToRepos
      SEVERE: Error copying Em Key to Management Repository. The Em Key is not configured properly or is corrupted in the file system and does not exist in the Management Repository. To correct the problem:
       1) Copy the emkey.ora file from another OMS or backup machine to the /orahome/oracle/product/ and run following commands:
       i) /orahome/oracle/product/ config emkey -emkeyfile /orahome/oracle/product/  -force
       ii) /orahome/oracle/product/  config emkey -copy_to_repos
       iii) Run EM Configuration Assistant again
       2) If emkey.ora is not available from backup, run /orahome/oracle/product/ with -repos create option
      Appreciated inputs on the above errors