search cancel

Cabi_external probe error returns no-restart code (42)

book

Article ID: 137160

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

CABI is configured with https. I am getting the following in the probe log:

 

15:35:48:936 [4120] Controller: Probe 'cabi_external' (command = <startup java>) returns no-restart code (42)

Sep 09 15:37:05:852 [main, cabi_external] EncryptorService was already initialized.

Sep 09 15:37:07:259 [main, cabi_external] ****************[ Starting ]****************

Sep 09 15:37:07:259 [main, cabi_external] 3.3.2

Sep 09 15:37:07:259 [main, cabi_external] CA

Sep 09 15:37:07:259 [main, cabi_external] port=48011

Sep 09 15:37:07:321 [main, cabi_external] Login to NimBUS is OK

Sep 09 15:37:07:337 [main, cabi_external] cabi_mode is 'external'

Sep 09 15:37:07:337 [main, cabi_external] Running installation sequence since this is either a fresh install or an upgrade

Sep 09 15:37:07:509 [main, cabi_external] Not able to connect to url=https://cabi.domain.com/jasperserver-pro, timeAlreadyWaitedInSecs=0

Sep 09 15:37:09:509 [main, cabi_external] (42) , could not make connection to the configured external 'cabi_url': 'https://cabi.domain.com/jasperserver-pro'. Please check the url and then Activate cabi.

at com.ca.cabi4uim.utilities.ProbeUtils.createAndThrowUrlNotUpException(ProbeUtils.java:1130)

at com.ca.cabi4uim.utilities.ProbeUtils.validateExternalUrl(ProbeUtils.java:1125)

at com.ca.cabi4uim.utilities.ProbeUtils.validateExternalModeConfigurationByTestRun(ProbeUtils.java:1139)

at com.ca.cabi4uim.utilities.ProbeUtils.testExternalModeConfiguration(ProbeUtils.java:1069)

at com.ca.cabi4uim.Probe.initOnTimer(Probe.java:623)

at com.nimsoft.nimbus.NimProbe.doForever(NimProbe.java:418)

at com.ca.cabi4uim.Probe.run(Probe.java:815)

at com.ca.cabi4uim.Probe.main(Probe.java:116)

 

Environment

Release : UIM any release

Component : UIM - CABI

Resolution

Installation was not completing because CABI was set to https when the cabi_external probe was installed/upgraded/changed:

 

-change the CABI server to http > stop and restart the CABI server

-raw configure the cabi_external probe and update the CABI url to the http path including port

-copy the certificate.pem file from the primary hub to a location on the cabi_external probe machine

-update the robot.cfg on the same machine with the following entry

 

cryptkey=path to certificate.pem (not in quotes)

 

-restart the robot

-watch the cabi log until you get: 

 

Sep 13 13:49:02:244 [UserSynchronizationThread, cabi_external] Finished synchronizing users between UIM and CABI

 

-change CABI back to https > stop and restart the CABI server

-raw configure the cabi_external probe and update the CABI url to the https path including port

Additional Information