Sunday, December 1, 2013

How to fix error “PRVF-0002 : Could not retrieve local nodename” during Oracle 12c installation

The one possible reason is hostname is not able to resolve to IP address. In my case, the hostname is gc12c.

oracle.cluster.verification.VerificationException: PRVF-0002 : Could not retrieve local nodename

[oracle@gc12c database]$ ping gc12c
ping: unknown host gc12c

[root@gc12c ~]# echo " gc12c" >>/etc/hosts

[oracle@gc12c database]$ ping -c 1 gc12c
PING gc12c ( 56(84) bytes of data.
64 bytes from gc12c ( icmp_seq=1 ttl=64 time=0.018 ms

--- gc12c ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.018/0.018/0.018/0.000 ms