nbcertcmd -getcertificate command may fail with status 14 (file write failed) due to a corrupted certmapinfo.json file on the master

Article: 100051849
Last Published: 2025-09-09
Ratings: 2 3
Product(s): NetBackup

Problem

The nbcertcmd -getcertificate command may fail with status 14 (file write failed) on the master

Error Message

The nbcert logs shows the error similar to this:
----
18:44:53.596 [30795.30795] <2> logCertInfoTrustVersionDetails: Added fingerprint #0:8E:34:6E:B5:B2:3B:EE:3D:8C:80:69:D6:60:01:0C:2A:09:42:2C:4D
18:44:53.596 [30795.30795] <16> mergeRecords: Host ID did not match for domain ID [dbc179d7-7c15-4ac5-9250-e7bc5fd901ad] ID1 = [0d17d8ea-14fa-462c-8496-ff7f93142d8c], ID2 = [126c6eea-6d56-4e7a-bd29-a9d2e5b7a99b]
18:44:53.596 [30795.30795] <16> doAddCertMapInfo: Failed to add [nbumum01.domain.com] server record to mapping file, retval = 1
18:44:53.596 [30795.30795] <16> updateCertMapInfoCertificate: Request to addCertMapInfo failed.
18:44:53.596 [30795.30795] <16> nbcert_curl_gethostcertificate: Failed to update certmapinfo entry for server = nbumum01.domain.com, error = 14
18:44:53.596 [30795.30795] <2> NBClientCURL:~NBClientCURL: Performing curl_easy_cleanup()
18:44:53.596 [30795.30795] <2> nbclnt_curl_prefnet::reset: Returning VN_STATUS_SUCCESS
18:44:53.596 [30795.30795] <16> GetHostCertificate: nbcertcmd command failed to get certificate. retval = 14
18:44:53.597 [30795.30795] <2> nbcertcmd: EXIT STATUS 14: file write failed

Cause

This error may occur if the certmapinfo.json file is corrupted in the master.

Solution

1. Rename or move the file "certmapinfo.json" at the path:

/usr/openv/var/vxss (Unix or Linux)
<Install_Path>\Veritas\NetBackup\var\vxss (Windows)

2. Run the command nbcertcmd -getCAcertificate followed by nbcertcmd -getcertificate -force (as root or Administrator) on the master to recreate it.

Once completed successfully, test bptestbpcd to the same server to verify, or test it from another trusted master.

 

Was this content helpful?