nmb.service is failing to start due to a timeout. Please review the following points.
Check Network Connection (Ensure your system is connected to the network.)
ip a OR nmcli device status
Check Port 137 Usage ( Make sure no other service is using port 137)
sudo netstat -tuln | grep 137
Review Samba Configuration (Check for any errors in the [global] section)
sudo nano /etc/samba/smb.conf
Restart and Re-enable NMB Service
Verify Firewall Settings
I think the main issue here is that the NMB daemon can’t find a valid network interface to which to bind. Ensure your system is properly connected to the network and configured, and double-check your Samba configuration to allow it to bind to the right interfaces. Restart the network and NMB services, and check the firewall settings to make sure nothing is blocking it.
@Taoheedene if you look at the logs carefully - you should get a hint at what was causing the issue :
so you need to verify the interface setting in the smb.conf : eg.
interfaces = 127.0.0.0/8 exx0
you need to verify that you have mentioned the correct interface there.
and then restart nmb service.
Another thing is that , it actually does not need this setting in the smb.conf,
because samba will query the kernel to ask for any available interface.
Of course unless you have used these two settings :
Refer the man page smb.conf
Try to start the nmb service again, and then run those 2 commands:
- systemctl status nmb.service
- journalctl -xeu nmb.service
After running those commands, please provide me the complete output of both of them.
Standing by ...
nmb.service is failing to start due to a timeout. Please review the following points.
Check Network Connection (Ensure your system is connected to the network.)
ip a OR nmcli device status
Check Port 137 Usage ( Make sure no other service is using port 137)
sudo netstat -tuln | grep 137
Review Samba Configuration (Check for any errors in the [global] section)
sudo nano /etc/samba/smb.conf
Restart and Re-enable NMB Service
Verify Firewall Settings
Looks like you may have cut out some of the output from both of the
commands. I would like to have ALL of the output from each command!!!!
I think the main issue here is that the NMB daemon can’t find a valid network interface to which to bind. Ensure your system is properly connected to the network and configured, and double-check your Samba configuration to allow it to bind to the right interfaces. Restart the network and NMB services, and check the firewall settings to make sure nothing is blocking it.
Great to hear that you found the solution! Connecting to the internet makes sense for network services like NMB. Thanks for sharing the update!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.