“nmbd: No local IPv4 non-loopback interfaces available, waiting for interface : Error

While starting nmbd service following error message was printed.

Error: “nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..

Error:

Redirecting to /bin/systemctl status  nmb.service
nmb.service – Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled)
Active: failed (Result: timeout) since Thu 20xx-xx-09 15:22:17 IST; 38s ago
Main PID: 2757
Status: “nmbd: No local IPv4 non-loopback interfaces available, waiting for interface …”

Solution:

Check weather Loop Back interface is up.
#ifconfig
If the lo is down, make it up
#ifup ifcfg-lo

Also check /etc/samba/smb.conf and configure the available interfaces.
In my case,
interfaces = eth0, lo

modified to

interfaces = ens32, lo

1 thought on ““nmbd: No local IPv4 non-loopback interfaces available, waiting for interface : Error

Leave a Reply

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