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

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 Network Observability

Issue/Introduction

Symptoms:

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

Environment

All Supported Smarts releases

Cause

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

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

UCNF-E-INTEGRITYCHECK-File "<Base-Dir>/smarts/local/conf/serverConnect.conf" integrity check failed or "#encryption check" line missing.; in file "/work/redcurrent/DMT-<version>/13/smarts/clsapi/sm_edit.c" at line 1259

Resolution

To resolve the issue:

1. Make a back up in a different directory of  <Base-Dir>/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 <Base-Dir>/smarts/local/conf/serverConnect.conf file from the local directory only

4. Then use ./sm_edit to open <Base-Dir>/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 <Base-Dir>/smarts/local/conf/serverConnect.conf will now be created with an encryption line that passes the integrity check and sm_rebond can now be used.

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