CABI 3.20 Will not start

book

Article ID: 128829

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

CABI 3.20 on UIM 9.02 will not start.

It has the security pem file, attached to the Pri-Hub all the things required.  What happened during the first install the customer had special chars in the password for the MSSQL DB.  Found a KB that stated could not do that. https://comm.support.ca.com/kb/unable-to-install-cabi-successfully/kb000103153 .  What it didn't say was after we changed the password and got Pri-Hub and UMP working again, how to fix cabi.

Did a reinstall, removed CABI probe, removed the \Nimsoft\c folder first now we get:

par Feb 14 12:47:06:489 [main, cabi] JasperUserUtility:login(): URL attempted :http://10.20.xxx.xxx:80/cabijs/login.html 
\par Feb 14 12:47:06:489 [main, cabi] JasperUserUtility:login(): Response code :403 
\par Feb 14 12:47:06:490 [main, cabi] JasperUserUtility:login(): Got an unauthorized response, I should fall back to superuser login 
\par Feb 14 12:47:06:490 [main, cabi] UimToJasperUserSync(): Can't log into CABI! Is the password in the database is wrong?  
\par Feb 14 12:47:06:490 [main, cabi] UimToJasperUserSync(): I'm going to try to recover from this and try some other login credentials 
\par Feb 14 12:47:08:949 [main, cabi] I logged in with the default superuser password. Re-setting the CABI Rest user now. 
\par Feb 14 12:47:08:949 [main, cabi] Resetting rest user 'CABI_REST_USER' 
\par Feb 14 12:47:10:353 [main, cabi] Switched to secure CABI login. "superuser" can now be disabled. 
\par Feb 14 12:47:10:360 [main, cabi] Unable to save rest user password to UIM database. Reverting the password in jasperserver to the last known value. 
\par Feb 14 12:47:10:360 [main, cabi] Resetting rest user 'CABI_REST_USER' 
\par Feb 14 12:47:10:664 [main, cabi] Deleting rest user CABI_REST_USER 
\par Feb 14 12:47:11:382 [main, cabi] JasperUserUtility:login(): URL attempted :http://10.xx.xxx.xxx:80/cabijs/login.html 
\par Feb 14 12:47:11:382 [main, cabi] JasperUserUtility:login(): Response code :403 
\par Feb 14 12:47:11:382 [main, cabi] JasperUserUtility:login(): Got an unauthorized response, I should fall back to superuser login 
\par Feb 14 12:47:13:747 [main, cabi] com.ca.cabi4uim.sso.exceptions.UserSynchronizationException: Error creating UimToJasperUserSync 
\par \tab at com.ca.cabi4uim.sso.UimToJasperUserSync.<init>(UimToJasperUserSync.java:108) 
\par \tab at com.ca.cabi4uim.Probe.getUserSynchronizer(Probe.java:537) 
\par \tab at com.ca.cabi4uim.Probe.createRestUser(Probe.java:567) 
\par \tab at com.ca.cabi4uim.Probe.setupCabiInBundledMode(Probe.java:359) 
\par \tab at com.ca.cabi4uim.Probe.setupcabi(Probe.java:286) 
\par \tab at com.ca.cabi4uim.Probe.initOnTimer(Probe.java:625) 
\par \tab at com.nimsoft.nimbus.NimProbe.doForever(NimProbe.java:418) 
\par \tab at com.ca.cabi4uim.Probe.run(Probe.java:815) 
\par \tab at com.ca.cabi4uim.Probe.main(Probe.java:116) 
\par Caused by: java.io.IOException: Did not unset the bad rest user in CABI! 
\par \tab at com.ca.cabi4uim.sso.UimToJasperUserSync.setNewRestUser(UimToJasperUserSync.java:175) 
\par \tab at com.ca.cabi4uim.sso.UimToJasperUserSync.failOverLoginMethod(UimToJasperUserSync.java:133) 
\par \tab at com.ca.cabi4uim.sso.UimToJasperUserSync.init(UimToJasperUserSync.java:83) 
\par \tab at com.ca.cabi4uim.sso.UimToJasperUserSync.<init>(UimToJasperUserSync.java:106) 
\par \tab ... 8 more 
\par Feb 14 12:47:14:660 [1020] Controller: Probe 'cabi' (command = <startup java>) returns no-restart code (42) 
\par }

Cause

- cabi for UIM 9.0.2 is v3.30

Environment

- UIM 9.0.2
- CABI 3.20
 

Resolution

Recommend wiping out the tables and installing cabi v3.30. 

How to uninstall CABI 

https://comm.support.ca.com/kb/how-to-uninstall-cabi/kb000009921

Try your url again, http://10.20.xxx.xxx:80/cabijs/login.html 

and if you can login, change the password if you can. 

Otherwise null out the password: 

UPDATE jiuser SET password = '' WHERE username = 'superuser'; 

restart wasp/tomcat, 

https://community.jaspersoft.com/wiki/how-reset-superuser-password 

And then login as superuser and change the password. 

cabi for UIM 9.0.2 is v3.30. 

cabi_external 
http://support.nimsoft.com/Files/Archive/00407/cabi_external-3.3.0.zip 

cabi 
http://support.nimsoft.com/Files/Archive/00399/cabi-3.3.0-20180502.122421-91.zip