le mail
date 05/03/18 15:54
objet Panic or segfault in Samba
The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 981 (/usr/sbin/smbd).
This means there was a problem with the program, such as a segfault.
However, gdb was not found on your system, so the error could not be
debugged. Please install the gdb package so that debugging information
is available the next time such a problem occurs.
un extrait du syslog
Mar 5 15:54:23 amdtr4 systemd[1]: Starting Samba SMB Daemon...
Mar 5 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.232025, 0] ../source3/lib/interface.c:652(load_interfaces)
Mar 5 15:54:23 amdtr4 smbd[981]: WARNING: no network interfaces found
Mar 5 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.267520, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Mar 5 15:54:23 amdtr4 smbd[981]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Mar 5 15:54:23 amdtr4 systemd[1]: Started Samba SMB Daemon.
Mar 5 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.269491, 0] ../source3/smbd/server.c:1261(open_sockets_smbd)
Mar 5 15:54:23 amdtr4 smbd[981]: open_sockets_smbd: No sockets available to bind to.
Mar 5 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.269684, 0] ../source3/lib/util.c:804(smb_panic_s3)
Mar 5 15:54:23 amdtr4 smbd[981]: PANIC (pid 981): open_sockets_smbd() failed
Mar 5 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.270691, 0] ../source3/lib/util.c:915(log_stack_trace)
Mar 5 15:54:23 amdtr4 smbd[981]: BACKTRACE: 9 stack frames:
Mar 5 15:54:23 amdtr4 smbd[981]: #0 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1f) [0x7fc1ea5eb9bf]
Mar 5 15:54:23 amdtr4 smbd[981]: #1 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20) [0x7fc1ea5eba90]
Mar 5 15:54:23 amdtr4 smbd[981]: #2 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f) [0x7fc1ec6f72df]
Mar 5 15:54:23 amdtr4 smbd[981]: #3 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1c5274) [0x7fc1ec34c274]
Mar 5 15:54:23 amdtr4 smbd[981]: #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1c5591) [0x7fc1ec34c591]
Mar 5 15:54:23 amdtr4 smbd[981]: #5 /usr/lib/x86_64-linux-gnu/samba/libsmbd-shim.so.0(exit_server+0x12) [0x7fc1e9831a92]
Mar 5 15:54:23 amdtr4 smbd[981]: #6 /usr/sbin/smbd(main+0x1427) [0x55d36d27ea67]
Mar 5 15:54:23 amdtr4 smbd[981]: #7 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7fc1e8e69f2a]
Mar 5 15:54:23 amdtr4 smbd[981]: #8 /usr/sbin/smbd(_start+0x2a) [0x55d36d27f45a
Mar 5 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.270782, 0] ../source3/lib/util.c:816(smb_panic_s3)
Mar 5 15:54:23 amdtr4 smbd[981]: smb_panic(): calling panic action [/usr/share/samba/panic-action 981]
Mar 5 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.344404, 0] ../source3/lib/util.c:824(smb_panic_s3)
Mar 5 15:54:23 amdtr4 smbd[981]: smb_panic(): action returned status 0
Mar 5 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.344468, 0] ../source3/lib/dumpcore.c:315(dump_core)
Mar 5 15:54:23 amdtr4 smbd[981]: dumping core in /var/log/samba/cores/smbd
Mar 5 15:54:23 amdtr4 smbd[981]:
Mar 5 15:54:23 amdtr4 systemd[1]: smbd.service: Main process exited, code=dumped, status=6/ABRT
Mar 5 15:54:23 amdtr4 systemd[1]: smbd.service: Failed with result 'core-dump'.
a priori je suis le seul avec ces soucis ?
nota: il y a quelques mois j'avais déja cette erreur sur buster avec samba version = "Samba 4.7.4-Debian"
j'ai installé le paquet "gdb" mais je sais pas comment l'utiliser
dans /var/log/samba il n'y a rien a part le référence des clients connectés (un fichier vide avec l'ip ou le nom de machine qui a demandé une connection )
le journal
retour
-- Logs begin at Mon 2018-03-05 15:54:15 CET, end at Tue 2018-03-06 00:59:33 CET. --
mars 05 22:41:45 amdtr4 root[2375]: /etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1
mars 05 19:20:15 amdtr4 root[2228]: /etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1
mars 05 15:54:46 amdtr4 nmbd[1019]: *****
mars 05 15:54:46 amdtr4 nmbd[1019]:
mars 05 15:54:46 amdtr4 nmbd[1019]: Samba name server AMDTR4 is now a local master browser for workgroup GROUPE2 on subnet 192.168.10.45
mars 05 15:54:46 amdtr4 nmbd[1019]:
mars 05 15:54:46 amdtr4 nmbd[1019]: *****
mars 05 15:54:46 amdtr4 nmbd[1019]: [2018/03/05 15:54:46.514858, 0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
mars 05 15:54:23 amdtr4 nmbd[1019]: STATUS=daemon 'nmbd' finished starting up and ready to serve connections
mars 05 15:54:23 amdtr4 nmbd[1019]: [2018/03/05 15:54:23.491141, 0] ../lib/util/become_daemon.c:124(daemon_ready)
mars 05 15:54:23 amdtr4 smbd[981]:
mars 05 15:54:23 amdtr4 smbd[981]: dumping core in /var/log/samba/cores/smbd
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.344468, 0] ../source3/lib/dumpcore.c:315(dump_core)
mars 05 15:54:23 amdtr4 smbd[981]: smb_panic(): action returned status 0
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.344404, 0] ../source3/lib/util.c:824(smb_panic_s3)
mars 05 15:54:23 amdtr4 smbd[981]: smb_panic(): calling panic action [/usr/share/samba/panic-action 981]
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.270782, 0] ../source3/lib/util.c:816(smb_panic_s3)
mars 05 15:54:23 amdtr4 smbd[981]: #8 /usr/sbin/smbd(_start+0x2a) [0x55d36d27f45a]
mars 05 15:54:23 amdtr4 smbd[981]: #7 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7fc1e8e69f2a]
mars 05 15:54:23 amdtr4 smbd[981]: #6 /usr/sbin/smbd(main+0x1427) [0x55d36d27ea67]
mars 05 15:54:23 amdtr4 smbd[981]: #5 /usr/lib/x86_64-linux-gnu/samba/libsmbd-shim.so.0(exit_server+0x12) [0x7fc1e9831a92]
mars 05 15:54:23 amdtr4 smbd[981]: #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1c5591) [0x7fc1ec34c591]
mars 05 15:54:23 amdtr4 smbd[981]: #3 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1c5274) [0x7fc1ec34c274]
mars 05 15:54:23 amdtr4 smbd[981]: #2 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f) [0x7fc1ec6f72df]
mars 05 15:54:23 amdtr4 smbd[981]: #1 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20) [0x7fc1ea5eba90]
mars 05 15:54:23 amdtr4 smbd[981]: #0 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1f) [0x7fc1ea5eb9bf]
mars 05 15:54:23 amdtr4 smbd[981]: BACKTRACE: 9 stack frames:
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.270691, 0] ../source3/lib/util.c:915(log_stack_trace)
mars 05 15:54:23 amdtr4 smbd[981]: PANIC (pid 981): open_sockets_smbd() failed
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.269684, 0] ../source3/lib/util.c:804(smb_panic_s3)
mars 05 15:54:23 amdtr4 smbd[981]: open_sockets_smbd: No sockets available to bind to.
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.269491, 0] ../source3/smbd/server.c:1261(open_sockets_smbd)
mars 05 15:54:23 amdtr4 smbd[981]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.267520, 0] ../lib/util/become_daemon.c:124(daemon_ready)
mars 05 15:54:23 amdtr4 smbd[981]: WARNING: no network interfaces found
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.232025, 0] ../source3/lib/interface.c:652(load_interfaces)
mars 05 15:54:17 amdtr4 smartd[820]: In the system's table of devices NO devices found to scan
mars 05 15:54:17 amdtr4 smartd[820]: DEVICESCAN failed: glob(3) aborted matching pattern /dev/discs/disc*
mars 05 15:54:16 amdtr4 kernel: sp5100_tco: I/O address 0x0cd6 already in use
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Mon 2018-03-05 15:54:23 CET; 9h ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 981 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=dumped, signal=ABRT)
Main PID: 981 (code=dumped, signal=ABRT)
Status: "smbd: ready to serve connections..."
mars 05 15:54:23 amdtr4 smbd[981]: smb_panic(): calling panic action [/usr/share/samba/panic-action 981]
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.344404, 0] ../source3/lib/util.c:824(smb_panic_s3)
mars 05 15:54:23 amdtr4 smbd[981]: smb_panic(): action returned status 0
mars 05 15:54:23 amdtr4 smbd[981]: [2018/03/05 15:54:23.344468, 0] ../source3/lib/dumpcore.c:315(dump_core)
mars 05 15:54:23 amdtr4 smbd[981]: dumping core in /var/log/samba/cores/smbd
mars 05 15:54:23 amdtr4 smbd[981]:
mars 05 15:54:23 amdtr4 systemd[1]: smbd.service: Main process exited, code=dumped, status=6/ABRT
mars 05 15:54:23 amdtr4 systemd[1]: smbd.service: Failed with result 'core-dump'.
mars 05 19:20:15 amdtr4 systemd[1]: smbd.service: Unit cannot be reloaded because it is inactive.
mars 05 22:41:45 amdtr4 systemd[1]: smbd.service: Unit cannot be reloaded because it is inactive.
j'ai eu un arret involontaire (coupure de courant ) aujourd'hui
samba démarre avant que la carte réseau soit configuré ?
on dirait que oui
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-03-06 01:13:03 CET; 3s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 3609 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 19660)
CGroup: /system.slice/smbd.service
├─3609 /usr/sbin/smbd --foreground --no-process-group
├─3611 /usr/sbin/smbd --foreground --no-process-group
├─3612 /usr/sbin/smbd --foreground --no-process-group
└─3613 /usr/sbin/smbd --foreground --no-process-group
mars 06 01:13:03 amdtr4 systemd[1]: Starting Samba SMB Daemon...
mars 06 01:13:03 amdtr4 smbd[3609]: [2018/03/06 01:13:03.907558, 0] ../lib/util/become_daemon.c:124(daemon_ready)
mars 06 01:13:03 amdtr4 smbd[3609]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
mars 06 01:13:03 amdtr4 systemd[1]: Started Samba SMB Daemon.
et ceci je sais pas ce que c'est
CGroup: /system.slice/smbd.service
├─3609 /usr/sbin/smbd --foreground --no-process-group
je n'est pas ce message sur stretch
Dernière modification par anonyme (06-03-2018 01:17:23)