UIM CABI 8.0+ install fails with Failed to create the keystore
search cancel

UIM CABI 8.0+ install fails with Failed to create the keystore

book

Article ID: 274680

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

New install or Upgrade to CABI 8.0+ fails with errors below in the cabi.log

UIM Database using SQL Authentication

WARNING: A new encryption key and a new keystore are about to be created.
ERROR V3_0_2__1__AddMissingPerms:84 - SYSTEM group doesn't exist
ERROR KeystoreManager:517 - Failed to create the keystore. Error: Failed to save configuration changes

[exec] [create-ks] A new encryption key and a new keystore are about to be created. Any previously created key and keystore will become invalid and the corresponding passwords unusable. If you think this JasperReports Server instance already has a keystore configured by another OS user, stop this process and configure the path in keystore.init.properties file, then run this command again. See the JasperReports Server Security Guide for details. Do you want to continue? (y/N) 
[exec] BUILD FAILED
C:\Program Files (x86)\Nimsoft...\c\buildomatic\build.xml:58: The following error occurred while executing this line:
C:\Program Files (x86)\Nimsoft...\c\buildomatic\bin\setup.xml:366: Keystore creation was canceled.

In some scenario the keystore path is display as shown below

[exec] [create-ks] Failed to create the keystore C:\Windows\system32\config\systemprofile\.jrsks

UIM Database using Windows Authentication

[exec] [create-ks] WARNING: A new encryption key and a new keystore are about to be created.
[exec] [create-ks] ..ERROR KeystoreManager:517 - Failed to create the keystore. Error: Failed to save configuration changes
[exec] [create-ks] Failed to create the keystore C:\Users\<username>\.jrsks (this is the user configured with the data_engine)

[exec] [create-ks] A new encryption key and a new keystore are about to be created. Any previously created key and keystore will become invalid and the corresponding passwords unusable. If you think this JasperReports Server instance already has a keystore configured by another OS user, stop this process and configure the path in keystore.init.properties file, then run this command again. See the JasperReports Server Security Guide for details. Do you want to continue? (y/N) 
[exec] BUILD FAILED
C:\Program Files (x86)\Nimsoft...\c\buildomatic\build.xml:58: The following error occurred while executing this line:
C:\Program Files (x86)\Nimsoft...\c\buildomatic\bin\setup.xml:366: Keystore creation was canceled.

Environment

CABI 8.0 and above

Resolution

Solution for UIM Database using SQL Authentication

a. Launch Windows explorer and go to the C:\Windows\system32\config\systemprofile\ folder.

b. Create two empty files with the following names if files are not present, .jrsks and .jrsksp

c. Select file name .jrsks, right click, select Properties, click on Security tab and add the SYSTEM account with full permissions, save the change.

d. Repeat step b for file name .jrsksp.

e. Steps to restart the CABI install; In IM, select the CABI probe, right click, select Security, and select Validate.

 

Solution for UIM Database using Windows Authentication

a. Launch Windows Explorer and go to the C:\Users\<username>\ (this is the user path captured the cabi log).

b. Create two empty files with the following names if files are not present, .jrsks and .jrsksp

c. Select file name .jrsks, right click, select Properties, click on Security tab and add the <username> account with full permissions, save the change.

d. Repeat step b for filename .jrsksp.

e. Steps to restart the CABI install; In IM, select the CABI probe, right click, select Security, select Validate