ā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.
ā11-16-2017 05:46 AM
ā11-16-2017 04:37 AM
>...
>I do not know, why these file was empty.
- Check for possible disk space issues ; connect via SSH and issue
admin # show disks
M.
ā11-16-2017 05:46 AM
ā10-29-2018 01:29 AM - edited ā10-29-2018 01:29 AM
Hi!
Could You paste that config file here so other can see?
I might have the same issue, but I do not have backup of this file.
ā10-29-2018 02:25 AM
ā10-29-2018 11:14 AM
My setup is standalone @Ralf Boehm
Please share, You can remove any important details, I have no choice.
Seems disk space issue overwritten it... and there is a bug to address this :
https://quickview.cloudapps.cisco.com/quickview/bug/CSCuy39464
ā10-30-2018 06:09 AM
ā10-30-2018 06:16 AM
ā10-30-2018 07:18 AM
Thank You @Ralf Boehm !
My prime infrastructure is back up! No issues with licenses either, will let You know if anything is incorrect, so far so good, so this will be helpful for others later ;)
ā02-17-2019 08:42 AM
ā02-17-2020 02:29 AM
How I can copy and paste this file in /opt/CSCOlumos/conf/rfm/classes/com/cisco/common/ha/config/
ā02-17-2020 03:16 AM
ā02-17-2020 03:46 AM
after create the file whatis next? I already have this file exist haSettings.xml with 0 size. Need help to make prime work.
ā02-17-2019 08:39 AM
Hello, Please let me know. where can I find the directory /opt/...
ā02-17-2019 11:37 PM
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