PROBLEM:

While running oracle grid precheck using runcluvfy script, got below error.


Verifying Daemon "avahi-daemon" not configured and running ...
  Node Name     Configured                Status
  ------------  ------------------------  ------------------------
  dbatest2         no                        passed
  dbatest1         no                        passed
  Node Name     Running?                  Status
  ------------  ------------------------  ------------------------
  dbatest2         yes                       failed
  dbatest1         yes                       failed

Verifying Daemon "avahi-daemon" not configured and running ...FAILED (PRVG-1360)

SOLUTION:

To fix this error, stop and disable avahi-daemon service.

1. Check avahi-daemon status:


[root@dbatest01 ~]# systemctl status  avahi-daemon
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2021-04-19 09:33:28 +03; 1h 44min ago
 Main PID: 1245 (avahi-daemon)
   Status: "avahi-daemon 0.6.31 starting up."
    Tasks: 2
   CGroup: /system.slice/avahi-daemon.service
           ├─1245 avahi-daemon: running [dbatest01.local]
           └─1258 avahi-daemon: chroot helper

Apr 19 09:33:33 dbatest01 avahi-daemon[1245]: Joining mDNS multicast group on interface ens161.IPv4 with address 192.168.11.100.
Apr 19 09:33:33 dbatest01 avahi-daemon[1245]: New relevant interface ens161.IPv4 for mDNS.
Apr 19 09:33:33 dbatest01 avahi-daemon[1245]: Registering new address record for 192.168.11.100 on cns161.IPv4.
Apr 19 09:33:35 dbatest01 avahi-daemon[1245]: Registering new address record for fe80::250:56ff:feb1:4c3c on cns192.*.
Apr 19 09:33:37 dbatest01 avahi-daemon[1245]: Joining mDNS multicast group on interface ens192.IPv4 with address 192.21.34.166.
Apr 19 09:33:37 dbatest01 avahi-daemon[1245]: New relevant interface ens192.IPv4 for mDNS.
Apr 19 09:33:37 dbatest01 avahi-daemon[1245]: Registering new address record for 192.21.34.166 on ens192.IPv4.
Apr 19 09:33:38 dbatest01 avahi-daemon[1245]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Apr 19 09:33:38 dbatest01 avahi-daemon[1245]: New relevant interface virbr0.IPv4 for mDNS.
Apr 19 09:33:38 dbatest01 avahi-daemon[1245]: Registering new address record for 192.168.122.1 on virbr0.IPv4

2. Stop avahi-daemon service:



[root@dbatest01 ~]# systemctl stop avahi-daemon
Warning: Stopping avahi-daemon.service, but it can still be activated by:
  avahi-daemon.socket


3. Disable avahi-daemon service:



[root@dbatest01 ~]# systemctl disable avahi-daemon
Removed symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service.
Removed symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket.
Removed symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service.
[root@dbatest01 ~]# systemctl status avahi-daemon
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
   Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: enabled)
   Active: inactive (dead) since Mon 2021-04-19 11:22:50 +03; 24s ago
 Main PID: 1245 (code=exited, status=0/SUCCESS)
   Status: "avahi-daemon 0.6.31 starting up."

Apr 19 09:33:38 dbatest01 avahi-daemon[1245]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Apr 19 09:33:38 dbatest01 avahi-daemon[1245]: New relevant interface virbr0.IPv4 for mDNS.
Apr 19 09:33:38 dbatest01 avahi-daemon[1245]: Registering new address record for 192.168.122.1 on virbr0.IPv4.
Apr 19 11:22:50 dbatest01 avahi-daemon[1245]: Got SIGTERM, quitting.
Apr 19 11:22:50 dbatest01 systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
Apr 19 11:22:50 dbatest01 avahi-daemon[1245]: Leaving mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Apr 19 11:22:50 dbatest01 avahi-daemon[1245]: Leaving mDNS multicast group on interface cns192.IPv4 with address 192.21.34.166.
Apr 19 11:22:50 dbatest01 avahi-daemon[1245]: Leaving mDNS multicast group on interface ens161.IPv4 with address 192.168.11.100.
Apr 19 11:22:50 dbatest01 avahi-daemon[1245]: avahi-daemon 0.6.31 exiting.
Apr 19 11:22:50 dbatest01 systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.

Now run the cluvfy again to validate this.