PTA - PTA DR not accepting primary node hostname when running minimalprepwiz.sh
Symptom
When running minimalprepwiz.sh to set up a secondary node for a PTA DR environment, the user is continually prompted to enter a valid hostname.
Environment
14.2 Privileged Access Manager (PAM, self-hosted) PTA
PTA
Cause
This is caused by the server not being able to resolve the hostname.
Resolution
Try the following:
- Check etc/resolv.conf and verify that the domain search and nameserver addresses are valid and that the nameservers are operational
- Check the DNS servers to verify that DNS records exist for the hostname
- Try running 'dig <hostname>' or 'nslookup <hostname>
When running the dig or nslookup command an error like the following may appear:
"Error while loading shared libraries: libdns-9.16.23-RH.so: cannot open shared object file: No such file or directory"
This shared library is part of the bind-libs package.
Run the following command from the secondary PTA server to check if this package is missing:
rpm -qa | grep bind
This should return three packages:
- bind-libs
- bind-utils
- bind-license.
If bind-libs is missing, uninstall and then re-install the bind-utils package. This should restore all three packages to enable correct DNS resolution when running the setup wizard.