You are not logged in.

#1 2020-10-09 02:24:43

kevdog
Member
Registered: 2013-01-26
Posts: 102

Samba service seems to keep regularly crashing.

Hi I'm using smb.service with Arch as part of a Time Machine backup plan. The smb.service will run for a few days but then seems to crash.  Here is the log:

Oct 05 13:11:04 arch-TM smbd[1189]: [2020/10/05 13:11:04.374442,  0] ../../lib/util/fault.c:164(smb_panic_log)
Oct 05 13:11:04 arch-TM smbd[1189]:   If you are running a recent Samba version, and if you think this problem is not yet fixed in the >
Oct 05 13:11:04 arch-TM smbd[1189]: [2020/10/05 13:11:04.374906,  0] ../../lib/util/fault.c:169(smb_panic_log)
Oct 05 13:11:04 arch-TM smbd[1189]:   ===============================================================
Oct 05 13:11:04 arch-TM smbd[1189]: [2020/10/05 13:11:04.375216,  0] ../../lib/util/fault.c:170(smb_panic_log)
Oct 05 13:11:04 arch-TM smbd[1189]:   PANIC (pid 1189): open_sockets_smbd() failed in 4.13.0
Oct 05 13:11:04 arch-TM smbd[1189]: [2020/10/05 13:11:04.376622,  0] ../../lib/util/fault.c:274(log_stack_trace)
Oct 05 13:11:04 arch-TM smbd[1189]:   BACKTRACE: 8 stack frames:
Oct 05 13:11:04 arch-TM smbd[1189]:    #0 /usr/lib/libsamba-util.so.0(log_stack_trace+0x31) [0x7f5ac335dae1]
Oct 05 13:11:04 arch-TM smbd[1189]:    #1 /usr/lib/libsamba-util.so.0(smb_panic+0x27) [0x7f5ac335dd67]
Oct 05 13:11:04 arch-TM smbd[1189]:    #2 /usr/lib/samba/libsmbd-base-samba4.so(+0x21a52e) [0x7f5ac320952e]
Oct 05 13:11:04 arch-TM smbd[1189]:    #3 /usr/lib/samba/libsmbd-base-samba4.so(+0x21a913) [0x7f5ac3209913]
Oct 05 13:11:04 arch-TM smbd[1189]:    #4 /usr/lib/samba/libsmbd-shim-samba4.so(exit_server+0x14) [0x7f5ac2d18244]
Oct 05 13:11:04 arch-TM smbd[1189]:    #5 /usr/bin/smbd(main+0x1462) [0x55ad504754a2]
Oct 05 13:11:04 arch-TM smbd[1189]:    #6 /usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f5ac297a152]
Oct 05 13:11:04 arch-TM smbd[1189]:    #7 /usr/bin/smbd(_start+0x2e) [0x55ad504760ae]
Oct 05 13:11:04 arch-TM smbd[1189]: [2020/10/05 13:11:04.378560,  0] ../../source3/lib/dumpcore.c:317(dump_core)
Oct 05 13:11:04 arch-TM smbd[1189]:   coredump is handled by helper binary specified at /proc/sys/kernel/core_pattern
Oct 05 13:11:04 arch-TM smbd[1189]:
Oct 05 13:11:04 arch-TM systemd[1]: smb.service: Main process exited, code=dumped, status=6/ABRT
Oct 05 13:11:04 arch-TM systemd[1]: smb.service: Failed with result 'core-dump'.

Anyway to debug this?? It's quite annoying.
Samba Version 4.13.0

Last edited by kevdog (2020-10-09 02:28:23)

Offline

#2 2020-10-09 04:01:30

solskog
Member
Registered: 2020-09-05
Posts: 415

Re: Samba service seems to keep regularly crashing.

Do you have separate log file or use systemd to log all? either case what happened before crash would be interesting to see, e.g: user login etc.

Offline

#3 2020-10-09 09:01:45

hortimech
Member
Registered: 2020-10-09
Posts: 9

Re: Samba service seems to keep regularly crashing.

Arch isn't going to help you with this, it is a Samba problem, Samba shouldn't crash.

Can you please go here: https://lists.samba.org/mailman/listinfo/samba
Register for an account and then post there, supplying as much details as possible, your smb.conf, more of your logs etc

Offline

Board footer

Powered by FluxBB