Eu estava tentando parar o OMS quando eu recebi o seguinte erro “EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/ocm.localdomain_OEM not found.”. Para resolver este problema, eu fiz os seguintes passos:
Meu erro:
[oracle@ocm bin]$ emctl status oms
EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/ocm.localdomain_OEM not found.
Minha solução:
- [oracle@ocm MWOEM]$ export OMS_HOME=/u01/Oracle/MWOEM/oms11g
- [oracle@ocm MWOEM]$ export AGENT_HOME=/u01/Oracle/MWOEM/agent11g
- [oracle@ocm MWOEM]$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
- [oracle@ocm bin]$ $OMS_HOME/bin/emctl start oms
- [oracle@ocm bin]$ $OMS_HOME/bin/emctl start oms
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Starting WebTier…
WebTier Successfully Started
Starting Oracle Management Server…
Oracle Management Server Could Not Be Started
Oracle Management Server is Up