Introduction
In this short post I'd like to show you how to resolve error "PRVF-0002: could not retrieve local node name". When I started an Oracle 12.1.0.2 installation on Solaris x86-64 (Version [11.2] Description [SunOS 5.11]) I encountered the following error:
Solution
First, verify that the "hostname" command returns the host name:
isrvmsol07:ora[43] /oravl01/database> hostname
isrvmsol07
Afterwards check that /etc/hosts file, and if you find out that the hostname doesn't appear for the local IP address (127.0.0.1), add the following entry to the /etc/hosts file:
127.0.0.1 isrvmsol07
Re-execute the installation and then everything should work properly:
Conclusion
At the start of the installation Oracle performs healthcheck test for forward and reverse resolution of the host name so you can fix it by setting properly the DNS or maunally set the host IP address and name in the /etc/hosts file.