ODD SMB errors on startup and in the night.

Constantin

Vampire Pig
Joined
May 19, 2017
Messages
1,829
I recently started to look at /var/log/samba4/log.smbd as part of trying to resolve issues between Photsync and my SMB shares. That's an ongoing thing for a different thread. However, I also saw other SMB errors and I wonder if they point to a problem or if this is expected.

scavenger_timer: Failed to cleanup share modes and byte range locks for file 4758002284915082683:97416:0 open 844927939
[2021/04/14 06:17:06.883638, 1] ../../source3/smbd/scavenger.c:486(scavenger_timer)
scavenger_timer: Failed to cleanup share modes and byte range locks for file 4758002284915082683:96975:0 open 991309601
[2021/04/14 06:17:06.883711, 1] ../../source3/smbd/scavenger.c:486(scavenger_timer)
scavenger_timer: Failed to cleanup share modes and byte range locks for file 4758002284915082683:96476:0 open 1158814913
....

[2021/04/14 06:50:12.968887, 0] ../../source3/smbd/server.c:1782(main)
smbd version 4.12.12 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
[2021/04/14 06:50:12.984354, 1] ../../source3/profile/profile.c:55(set_profile_level)
INFO: Profiling turned OFF from pid 3212
[2021/04/14 06:50:13.287058, 0] ../../source3/smbd/server.c:1782(main)
smbd version 4.12.12 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
[2021/04/14 06:50:13.291886, 1] ../../source3/profile/profile.c:55(set_profile_level)
INFO: Profiling turned OFF from pid 3232
[2021/04/14 06:50:13.292790, 0] ../../lib/util/pidfile.c:197(pidfile_create)
ERROR: smbd is already running. File /var/run/samba4/smbd.pid exists and process id 3214 is running.
[2021/04/14 06:50:13.333481, 1] ../../source3/smbd/files.c:223(file_init_global)
file_init_global: Information only: requested 3770496 open files, 59392 are available.
[2021/04/14 06:50:13.340085, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
[2021/04/14 06:57:57.086457, 1] ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Failed to fetch record!
[2021/04/14 06:57:57.086556, 1] ../../source3/smbd/server_reload.c:66(delete_and_reload_printers)
pcap cache not loaded
[2021/04/14 06:58:03.978009, 1] ../../source3/rpc_server/srv_pipe_hnd.c:103(np_open)
np_open: 'mdssvc' is not a registered pipe!
... (lots more similar errors)

[2021/04/14 09:49:26.775301, 0] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
samba_tevent: evfilt_read ev_eof on [../../source3/smbd/smb2_server.c:240]: Operation timed out
[2021/04/14 09:49:29.107272, 0] ../../lib/util/tevent_debug.c:66(samba_tevent_debug)
samba_tevent: evfilt_read ev_eof on [../../source3/smbd/smb2_server.c:240]: Operation timed out
[2021/04/14 11:01:24.380008, 1] ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Failed to fetch record!
[2021/04/14 11:01:24.380096, 1] ../../source3/smbd/server_reload.c:66(delete_and_reload_printers)
pcap cache not loaded
[2021/04/14 11:05:50.258532, 1] ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Failed to fetch record!
[2021/04/14 11:05:50.258596, 1] ../../source3/smbd/server_reload.c:66(delete_and_reload_printers)
pcap cache not loaded
... (plenty more of those)

[
2021/04/14 11:08:33.637802, 0] ../../source3/smbd/server.c:1782(main)
smbd version 4.12.12 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
[2021/04/14 11:08:33.643320, 1] ../../source3/profile/profile.c:55(set_profile_level)
INFO: Profiling turned OFF from pid 7684
[2021/04/14 11:08:33.884044, 1] ../../source3/smbd/files.c:223(file_init_global)
file_init_global: Information only: requested 3770496 open files, 59392 are available.
[2021/04/14 11:08:33.887781, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
[2021/04/14 11:08:56.438326, 1] ../../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Failed to fetch record!
[2021/04/14 11:08:56.438394, 1] ../../source3/smbd/server_reload.c:66(delete_and_reload_printers)
pcap cache not loaded
[2021/04/14 11:10:10.350705, 0] ../../source3/smbd/server.c:1782(main)
smbd version 4.12.12 started.
Copyright Andrew Tridgell and the Samba Team 1992-2020
[2021/04/14 11:10:10.356189, 1] ../../source3/profile/profile.c:55(set_profile_level)
INFO: Profiling turned OFF from pid 7890
[2021/04/14 11:10:10.590340, 1] ../../source3/smbd/files.c:223(file_init_global)
file_init_global: Information only: requested 3770496 open files, 59392 are available.
[2021/04/14 11:10:10.593851, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
 
Top