cancel
Showing results for 
Search instead for 
Did you mean: 
Taoheedene
Mission Specialist
Mission Specialist
  • 3,188 Views

Issue Starting nmb Service After Samba Installation

Jump to solution


Good day, everyone.

I’m encountering an issue while trying to set up Samba. I’ve modified the `/etc/samba/smb.conf` file following the instructions below:

```
[global]
workgroup = WORKGROUP
netbios name = centos
security = user
map to guest = bad user
dns proxy = no

[Anonymous]
path = /samba/morepretzels
browsable = yes
writable = yes
guest ok = yes
guest only = yes
read only = no
```

I successfully enabled both `smb` and `nmb` services. While I was able to start the `smb` service without any issues, I’m having trouble with the `nmb` service. When I attempt to start it, I receive the following error:

```
systemctl start nmb
Job for nmb.service failed because a timeout was exceeded.
See “systemctl status nmb.service” and “journalctl -xeu nmb.service” for details.
```

I've reviewed the configuration but can't seem to pinpoint where the issue lies. Could anyone provide some insights or guidance on what might be causing this problem?

Thanks in advance!
11 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 3,051 Views

@Taoheedene if you look at the logs carefully - you should get a hint at what was causing the issue :

Chetan_Tiwary__0-1726662562076.png

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 :

Screenshot from 2024-09-18 18-10-56.png

Refer the man page smb.conf

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 544 Views

@Taoheedene you have given the error message but not the errr details. If you see the error message , it actually is giving you the hint to see the error details :

Chetan_Tiwary__0-1726600898174.png

Hence, as @Trevor requested, please furnish more details.

0 Kudos
Join the discussion
You must log in to join this conversation.