PTA - P096 Verifying local host resolving fails (Hosts file is not configure as expected. Hostname must resolve to 127.0.0.1)
157
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:01 PM
Symptom
When running PTA diagnostics RUN_DIAGNOSTICS, error below is thrown:
Executing task: './tasks/PTA/task096.sh ' - [P096] Verifying local host resolving ... [ FAIL ] (Hosts file is not configured as expected. Hostname must resolve to 127.0.0.1)
Environment
13.2;14.0;14.2;14.4 Privileged Access Manager (PAM, self-hosted) PTA PTA
Cause
The /etc/hosts is not configured properly with the PTA server's hostname.
Resolution
Edit /etc/hosts with the correct PTA server's hostname.
e.g.
127.0.0.1 ptaserver localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 ptaserver localhost localhost.localdomain localhost6 localhost6.localdomain6
ptaserver is the PTA server's hostname in the above example.