Error Message:
While starting runinstaller for the installation of oracle database 12.2.0.1 on OEL 6 86x64, I encountered this "PRVF-0002: could not retrieve local node name" error.
Cause:
Finally, I found the cause that we have an incorrect entries in the "/ets/hosts" file.
[root@server1 ~]# hostname server1.dbacentral.com [root@server1 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain ::1 localhost localhost.localdomain 192.168.1.45 server1.oracle.com server1 [root@server1 ~]#
Solution:
Verify the hostname of your machine by using the following command.[root@server1 ~]# hostname server1.dbacentral.com [root@server1 ~]#Verify the information of your server in "/etc/hosts" file. You should have same fully qualified ostname and IP Address.
[root@server1 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain ::1 localhost localhost.localdomain 192.168.1.45 server1.dbacentral.com server1 [root@server1 ~]#Try to ping the server using fully qualified hostname.
[root@server1 ~]# ping server1.dbacentral.com PING server1.dbacentral.com (192.168.1.45) 56(84) bytes of data. 64 bytes from server1.dbacentral.com (192.168.1.45): icmp_seq=1 ttl=64 time=0.073 ms 64 bytes from server1.dbacentral.com (192.168.1.45): icmp_seq=2 ttl=64 time=0.05Now, Start the runInstaller again.
[oracle@server1 ~]$ ./runInstaller
0 comments:
Post a comment