when i issue the commend emctl status oms -details i get the below error.
Error occured. Check the log /u01/app/.../sysman/log/emctl.log
below is the excerpt from the emctl.log
INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - REPOS_DETAILS
2012-12-11 11:00:27,058 [main] INFO mas.CredStoreUtil logp.251 - getCredential : Got creds for mapName -EM keyName - ENCR_DETAILS
2012-12-11 11:00:27,529 [main] ERROR oms.PrintOMSSetupInfo main.240 - Failed to find OMS details: null
any idea on why this might be occuring?
Please try the following steps:
+ Resecure the OMS.
$OMS_HOME/bin/emctl secure oms
+ Restart the OMS
$OMS_HOME/bin/emctl stop oms -all -force
$OMS_HOME/bin/emctl start oms
Then verify the status.
It fixed the issue but what does securing the OMS has to do with status command? Any explanation on why we need to secure it for this command to work?
Appreciate your help. I had seen a metalink note for the securing but i did not try it thinking it would not matter.
Some how the certs might got corrupted / some of the references were broken.
Re-securing the OMS has brought back the connection and updated the information.
That should work in this case.