11-16-2017 03:09 AM - edited 03-01-2019 06:15 PM
Hello,
I got a java error, see the following text, if I tried to start ncs or check status:
ncs status
Exception in thread "main" java.util.NoSuchElementException
at java.util.Scanner.throwFor(Scanner.java:862)
at java.util.Scanner.next(Scanner.java:1371)
at com.cisco.common.ha.config.HighAvailabilityConfig.parseXmlFile(HighAvailabilityConfig.java:232)
at com.cisco.common.ha.config.HighAvailabilityConfig.parseXmlFile(HighAvailabilityConfig.java:214)
at com.cisco.common.ha.config.HighAvailabilityConfig.<init>(HighAvailabilityConfig.java:194)
at com.cisco.common.ha.config.HighAvailabilityConfig.getInstance(HighAvailabilityConfig.java:203)
at com.cisco.packaging.HMAdmin.initHealthMonitorApi(HMAdmin.java:409)
at com.cisco.packaging.HMAdmin.hmServerStatus(HMAdmin.java:302)
at com.cisco.packaging.HMAdmin.status(HMAdmin.java:172)
at com.cisco.packaging.WCSAdmin.status(WCSAdmin.java:1053)
at com.cisco.packaging.WCSAdmin.status(WCSAdmin.java:1026)
at com.cisco.packaging.WCSAdmin.runMain(WCSAdmin.java:314)
at com.cisco.packaging.WCSAdmin.main(WCSAdmin.java:1493)
The problem was, the file
/opt/CSCOlumos/conf/rfm/classes/com/cisco/common/ha/config/haSettings.xml
was empty. For my luck, I found a copy in the same directory:
haSettings_bkup.xml
Copy this file to haSettings.xml, and all works fine. I do not know, why these file was empty.
Solved! Go to Solution.
02-17-2020 03:59 AM
I am getting below error. I have created the file and paste the content from your file along with "X' value.
Error getting Health Monitor API.
Error trying to communicating with Health Monitor.
02-17-2020 04:39 AM
08-17-2022 10:37 PM
If the Pi appears to be failing to boot because nothing appears on screen, you'll need to force HDMI detection. Save and exit the file, safely remove the SD card, return it to your Raspberry Pi, then power up again.
Regards,
Rachel Gomez
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide