You are not logged in.

#1 2020-02-08 08:08:01

everwisher
Member
Registered: 2019-09-11
Posts: 31

nmb.service fails

I built my samba service upon Arch and access it from a qemu-kvm Windows 10 and iOS native Files app. The Windows guest has never any problems with the service but iOS can't access it from time to time. When iOS fails, I have this information:

systemctl status nmb smb

* nmb.service - Samba NMB Daemon
     Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; vendor preset: disabled)
     Active: active (running) since Sat 2020-02-08 09:51:21 HKT; 4h 50min ago
       Docs: man:nmbd(8)
             man:samba(7)
             man:smb.conf(5)
   Main PID: 1511 (nmbd)
     Status: "nmbd: ready to serve connections..."
      Tasks: 2 (limit: 38392)
     Memory: 18.0M
     CGroup: /system.slice/nmb.service
             |-1511 /usr/bin/nmbd --foreground --no-process-group
             `-1512 /usr/bin/nmbd --foreground --no-process-group

Feb 08 14:22:31 everOffice nmbd[1511]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 08 14:22:31 everOffice nmbd[1511]:   Unable to sync browse lists in this workgroup.
Feb 08 14:37:33 everOffice nmbd[1511]: [2020/02/08 14:37:33.931277,  0] ../../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 08 14:37:33 everOffice nmbd[1511]:   find_domain_master_name_query_fail:
Feb 08 14:37:33 everOffice nmbd[1511]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 08 14:37:33 everOffice nmbd[1511]:   Unable to sync browse lists in this workgroup.
Feb 08 14:37:33 everOffice nmbd[1511]: [2020/02/08 14:37:33.931391,  0] ../../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 08 14:37:33 everOffice nmbd[1511]:   find_domain_master_name_query_fail:
Feb 08 14:37:33 everOffice nmbd[1511]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 08 14:37:33 everOffice nmbd[1511]:   Unable to sync browse lists in this workgroup.

* smb.service - Samba SMB Daemon
     Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
     Active: active (running) since Sat 2020-02-08 09:51:21 HKT; 4h 50min ago
       Docs: man:smbd(8)
             man:samba(7)
             man:smb.conf(5)
   Main PID: 1514 (smbd)
     Status: "smbd: ready to serve connections..."
      Tasks: 4 (limit: 38392)
     Memory: 26.5M
     CGroup: /system.slice/smb.service
             |-1514 /usr/bin/smbd --foreground --no-process-group
             |-1516 /usr/bin/smbd --foreground --no-process-group
             |-1517 /usr/bin/smbd --foreground --no-process-group
             `-3866 /usr/bin/smbd --foreground --no-process-group

Feb 08 09:51:21 everOffice systemd[1]: Starting Samba SMB Daemon...
Feb 08 09:51:21 everOffice smbd[1514]: [2020/02/08 09:51:21.914242,  0] ../../lib/util/become_daemon.c:135(daemon_ready)
Feb 08 09:51:21 everOffice smbd[1514]:   daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
Feb 08 09:51:21 everOffice systemd[1]: Started Samba SMB Daemon.

Down below is the relative part of my smb.conf:

[global]
        load printers = no
        printing = bsd
        printcap name = /dev/null
        disable spoolss = yes
        show add printer wizard = no

        aio read size = 1
        aio write size = 1
        min receivefile size = 16384
        use sendfile = yes
        server multi channel support = yes

        workgroup = WORKGROUP
        server string = myServerSamba
        wins support = yes
        wins proxy = yes
        dns proxy = yes
        domain logons = yes

        server role = standalone server
        hosts allow = 192.168.31. 127.
        passdb backend = tdbsam

        log file = /var/log/samba/log.%m
        max log size = 8192

Offline

Board footer

Powered by FluxBB