NetWorker: Bootstrap backup fails when saving the authentication database. Error: `nsrauthcasm' exited with code 1 Can't encode arguments
Summary: NetWorker: Bootstrap backup fails when saving the authentication database. Error: `nsrauthcasm' exited with code 1 Can't encode arguments.
Symptoms
NetWorker: Bootstrap backup fails when saving the authentication database. Error:`nsrauthcasm' exited with code 1 Can't encode arguments
Error from the Server db Backup action log:
save: Step (4 of 7) for PID-3224: Successfully connected to the target media device through the nsrmmd process on the host '<NetWorker server>' for the save set 'bootstrap'.
save: Step (5 of 7) for PID-3224: Reading the save sets and writing to the target device.
nsrauthcasm: The temporary file 'C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\data\authcdb_000001' for backup did not get generated correctly.
nsrauthcasm: XDR flush failed.
save: external ASM `nsrauthcasm' exited with code 1
:save: C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\data\authcdb.mv.db was not successfully saved
Can't encode arguments
save: save of 'bootstrap' to server '<NetWorker server>' failed.Cause
Authentication database files mismatch. The authentication data is composed of two files: authcdb.mv.db and authcdb.lock. In this situation, the authentication data location has a copy of authcdb.h2.db which is being updated instead of authcdb.mv.db.
Resolution
Re-create the authentication database.
Linux NetWorker Server:
- Open an elevated prompt on the NetWorker server.
- Stop NetWorker services:
nsr_shutdownorsystemctl stop networker - Rename the
authcfolder:mv /nsr/authc /nsr/authc_$(date -I) - Reconfigure AUTHC:
/opt/nsr/authc-server/scripts/authc_configure.sh - Start NetWorker:
systemctl start networker
Windows NetWorker server:
AUTHC can only be configured during the installation process. NetWorker must be uninstalled and reinstalled.
Perform the following steps:
- Uninstall NetWorker from Programs and Features.
- Rename the
authc-serverfolder. Default location: 'C:\Program Files\EMC NetWorker\nsr\authc-server' - Reinstall NetWorker over the existing file structure. A new
authc-serverdirectory is created.
Additional Information
If the NetWorker server's local AUTHC database is used to process authentication for the NetWorker Management Console (NMC) or NetWorker Web User Interface: NetWorker: How To Identify Which Server is the Authentication Server Used By NMC and NWUI
- Local NetWorker user accounts that were created through the NMC, the users must be re-created.
- Active Directory (AD) or LDAP integrations must be readded to NetWorker: NetWorker: How To Set up AD/LDAP Authentication
If AUTHC self-signed certificates were replaced with CA signed-certificates, the CA certificates must be reimported to the new AUTHC path.