[Samba] After reboot the server nmb service is not acitve.
richard russell
russellrichard160 at gmail.com
Sun Nov 11 12:09:31 UTC 2018
I create multiple server instances for the samba with systemd, everything
ok, but after reboot server, the service nmb does not work randomly.
selinux disable
samba version 4.2.10
config smb
[global]
workgroup = WORKGROUP3
netbios name = net3
security = user
interfaces = enp7s0f3
bind interfaces only = yes
server string = %h server
log level = 5
max log size = 10000
passdb backend = tdbsam
encrypt passwords = true
map to guest = Bad User
guest account = nobody
create mask = 0777
directory mask = 0777
wide links = no
unix extensions = yes
local master = yes
time server = no
dns proxy = no
wins support = no
ntlm auth = no
domain logons = no
load printers = no
printcap name = /dev/null
pid directory = /var/run/samba/NAS3
[NAS3-ki-folder]
valid users = cuser, buser
read list = cuser, buser
write list =
path = /mnt/NAS/myNASFS/ki-folder
guest ok = no
writable = yes
create mask = 0777
directory mask = 0777
browseable = no
-----------------------------------------------------------------------------------------------
log nmb.NAS3
add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP
10.10.40.10 ttl=0 nb_flags= 0 to subnet REMOTE_BROADCAST_SUBNET
[2018/11/11 19:42:09.029483, 0]
../source3/lib/util_sock.c:1250(create_pipe_sock)
bind failed on pipe socket /run/samba/nmbd/unexpected: Address already in
use
[2018/11/11 19:42:09.029889, 0]
../source3/nmbd/nmbd_packets.c:48(nmbd_init_packet_server)
ERROR: nb_packet_server_create failed:
NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
[2018/11/11 19:42:09.030065, 0]
../lib/util/become_daemon.c:111(exit_daemon)
STATUS=daemon failed to start: NMBD failed to setup packet server., error
code 13
More information about the samba
mailing list