Change-passwords on NVE fails with error: "ERROR: no database type or no node resource database could be found..."
Summary: Change-passwords script on NetWorker Virtual Edition (NVE) fails.
Symptoms
Change-passwords on NetWorker Virtual Edition (NVE) fails with error:
ERROR: no database type or no node resource database could be found with search list /usr/local/avamar/var/probe.xml, stopped at /usr/local/avamar/lib/dpnutils/node_util.pm line 766.
NVE was upgraded from a previous release to v19.4.x.
Cause
Configuration steps were missed in the past.
Resolution
By default, the password expiration policy for the admin and root user accounts is 60 days. Perform the following steps to change the passwords.
-
Connect to the NVE, and perform the following tasks from a prompt.
NOTE: If you connect by using the vSphere client to open a VM Console session, you can log in to the NVE with a root or admin account. If you connect by using SSH, you must log in as admin, and then use the "su" command to change to the root account. The default password for the root and admin accounts is "changeme." -
To change the passwords for the root and admin user, run the following command:
change-passwords
In the output prompt, specify whether you want to change the admin or root operating system user account passwords.
NOTE: If you want to change the password using change-passwords utility in upgraded NVE configurations, then you must perform the following after logging in as superuser.- Change the directory to NveConfig*:
cd /space/avamar/var/avi/server_data/package_data/NveConfig* - Create a workflow.log file:
touch workflow.log - Create a probe.xml file in /space/avamar/var/, copy the following content, and replace the hostname and IP address.
cd /space/avamar/var/
vi probe.xml<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <dpn> <module name='{hostname}'> <node type="single-node server"> <network-interface id="1"> <address value='{ip_address}'/> </network-interface> </node> </module> </dpn> - Save the changes by pressing ESC and then entering ":wq!" then press Enter.
- Change the directory to NveConfig*:
-
Run the following command and type "Y" to change the passwords or "n" to skip, and then press Enter.
change-passwords
-
Follow the system prompts to change the passwords for admin or root operating system user accounts.
Additional Information
These steps were pulled from the NetWorker Virtual Edition Deployment Guide available at Dell Support:
https://www.dell.com/support/home
See the guide specific to your NetWorker version for additional information.