Smarts 9.4.1 : sm_rebond gives the following error integrity check failed or "#encryption check" line missing.
search cancel

Smarts 9.4.1 : sm_rebond gives the following error integrity check failed or "#encryption check" line missing.

book

Article ID: 332151

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


re_bond fails due to integrity check failed or "#encryption check" line missing.

Environment

VMware Smart Assurance - SMARTS

Cause

In this instance the serverConnect.conf file had been corrupted or changed. 

You can verify which file is causing re_bond to fail in the error message:

UCNF-E-INTEGRITYCHECK-File "/opt/InCharge9/SAM/smarts/local/conf/serverConnect.conf" integrity check failed or "#encryption check" line missing.; in file "/work/redcurrent/DMT-9.4.1.0/13/smarts/clsapi/sm_edit.c" at line 1259

Resolution

To resolve the issue:

1. Make a back up in a different directory of  /opt/InCharge/IP/smarts/local/conf/serverConnect.conf

2. If you have made any custom changes to serverConnect.conf take note of them as you will need to add them later.

3. Delete the /opt/InCharge/IP/smarts/local/conf/serverConnect.conf file  from the local directory only!

4. Then use ./sm_edit to open /opt/InCharge/IP/smarts/conf/serverConnect.conf. (or what ever file is indicated by the error message) You do not need to make changes to the file but exit with a write quit command (wq!) this will force a new local copy to be made.

5. A new /opt/InCharge/IP/smarts/local/conf/serverConnect.conf will now be created with an encryption line that passes the integrity check and re_bond can now be used.

6. You will need to re-add any other customization you had using sm_edit.