Page 1 of 1

smbd errors causing share disconnects

Posted: 12 Feb 2019 04:21
by thesugarat
Hello all,

Long time user of this software, started on freenas, then forked over to nas4free and now on the rebranded xigmanas. I have two xigmanas machines and this issue is happening on both. I have have cifs/samba shares on both mapped to a Windows 10 VM but it loses connectivity randomly after many days of these errors showing up in the log. I even loose access to the webgui... I can restart the webgui to get to the page again but the only thing that fixes the issue is a reboot. I've found that if I "log-out" of the shared drives from my main MacPro running High Sierra, the logs don't fill up. I've been dealing with it for months but as I hadn't changed anything in this configuration for quite some time I figured it was a samba bug and waited for the next update to xigmanas. But upgrading hasn't fixed anything. I am willing to concede that is connected to using OSX but I don't know how to fix it. Any help would be appreciated...

Feb 11 21:16:59 nas4free smbd[2368]: inotify_rm_watch returned Invalid argument
Feb 11 21:16:59 nas4free smbd[2368]: [2019/02/11 21:16:59.481808, 1] ../source3/smbd/notify_inotify.c:369(watch_destructor)
Feb 11 21:15:55 nas4free smbd[3087]: pcap cache not loaded
Feb 11 21:15:55 nas4free smbd[3087]: [2019/02/11 21:15:55.482195, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers)
Feb 11 21:15:55 nas4free smbd[3087]: Failed to fetch record!
Feb 11 21:15:55 nas4free smbd[3087]: [2019/02/11 21:15:55.482162, 1] ../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Feb 11 21:15:55 nas4free smbd[2368]: inotify_rm_watch returned Invalid argument
Feb 11 21:15:55 nas4free smbd[2368]: [2019/02/11 21:15:55.441471, 1] ../source3/smbd/notify_inotify.c:369(watch_destructor)
Feb 11 21:15:22 nas4free smbd[3087]: pcap cache not loaded
Feb 11 21:15:22 nas4free smbd[3087]: [2019/02/11 21:15:22.314541, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers)
Feb 11 21:15:22 nas4free smbd[3087]: Failed to fetch record!
Feb 11 21:15:22 nas4free smbd[3087]: [2019/02/11 21:15:22.314511, 1] ../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Feb 11 21:15:19 nas4free smbd[2368]: inotify_rm_watch returned Invalid argument
Feb 11 21:15:19 nas4free smbd[2368]: [2019/02/11 21:15:19.059767, 1] ../source3/smbd/notify_inotify.c:369(watch_destructor)
Feb 11 21:15:19 nas4free smbd[3087]: pcap cache not loaded

Re: smbd errors causing share disconnects

Posted: 13 Feb 2019 06:01
by sleid
Hello

Feb 11 21:15:55 nas4free smbd[3087]: pcap cache not loaded
Feb 11 21:15:55 nas4free smbd[3087]: [2019/02/11 21:15:55.482195, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers)
Feb 11 21:15:55 nas4free smbd[3087]: Failed to fetch record!
Feb 11 21:15:55 nas4free smbd[3087]: [2019/02/11 21:15:55.482162, 1] ../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Try
CIFS/SAMBA option : ntlm auth=yes
windows 10 : enable SMB v1


Feb 11 21:16:59 nas4free smbd[2368]: inotify_rm_watch returned Invalid argument
Feb 11 21:16:59 nas4free smbd[2368]: [2019/02/11 21:16:59.481808, 1] ../source3/smbd/notify_inotify.c:369(watch_destructor)

ignore
add to CIFS/SAMBA option : log level = 0