Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Failed to find OMS details: null java.lang.NullPointerException

953591
Member Posts: 37
hello everyone
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
java.lang.NullPointerException
at oracle.sysman.emctl.util.EmctlUtil.getOMSSetupInfo(EmctlUtil.java:812)
at oracle.sysman.emctl.oms.PrintOMSSetupInfo.main(PrintOMSSetupInfo.java:101)
any idea on why this might be occuring?
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
java.lang.NullPointerException
at oracle.sysman.emctl.util.EmctlUtil.getOMSSetupInfo(EmctlUtil.java:812)
at oracle.sysman.emctl.oms.PrintOMSSetupInfo.main(PrintOMSSetupInfo.java:101)
any idea on why this might be occuring?
Best Answer
-
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.
Regards,
Venkat
Answers
-
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.
Regards,
Venkat -
Hi Venkat.
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.
Regards,
Venkat
This discussion has been closed.