How to Resolve PRVG-2048 : no response for name from the DNS server

  • by

PRVG-2048

Saw PRVG-2048 when I verify the RAC environment by runcluvfy.sh before actually installing grid infrastructure.

[grid@primary01 ~]$ cd $ORACLE_HOME
[grid@primary01 grid]$ ./runcluvfy.sh stage -pre crsinst -n primary01,primary02 -verbose
...
Verifying resolv.conf Integrity ...FAILED
primary01: PRVG-2048 : no response for name "primary01" from the DNS server
           "fe80::66a6:51ff:fe6f:2b4a%ens33" specified in "resolv.conf"
           PRVG-10048 : Name "primary01" was not resolved to an address of the
           specified type by name servers "fe80::66a6:51ff:fe6f:2b4a%ens33".

It seems that the utility used IPV6 to lookup DNS and failed. Let's see DNS settings by network manager.

[root@primary01 ~]# cat /etc/resolv.conf
# Generated by NetworkManager
search example.com
nameserver 192.168.0.101
nameserver fe80::66a6:51ff:fe6f:2b4a%ens33

Did you see that? There's a DNS with IPV6 which is no use in our case.

Solution

We can turn IPV6 off on the first interface. This should be able to solve PRVG-2048.

[root@primary01 ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33
...
IPV6INIT=no

We restart the network, then we check the name server again.

[root@primary01 ~]# systemctl restart network
[root@primary01 ~]# cat /etc/resolv.conf
# Generated by NetworkManager
search example.com
nameserver 192.168.0.101

Additionally, I turned off all IPV6 related attributes.

IPV6_AUTOCONF=no
IPV6_DEFROUTE=no

There's a successful installation of grid infrastructure 19c can be found in this website.

Leave a Reply

Your email address will not be published. Required fields are marked *