samba panic-action

Konfiguracja serwerów, usług, itp.
Awatar użytkownika
tommot
Posty: 15
Rejestracja: 09 października 2016, 12:30

samba panic-action

Post autor: tommot »

witam
Wczoraj dostalem powiadomienie na maila że sie samba wysypała i nie mam pojecia jak to ugryść :(
The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 3424 (/usr/sbin/smbd).

This means there was a problem with the program, such as a segfault.
Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occurred. The Samba log
files may contain additional information about the problem.

If the problem persists, you are encouraged to first install the
samba-dbg package, which contains the debugging symbols for the Samba
binaries. Then submit the provided information as a bug report to
Debian. For information about the procedure for submitting bug reports,
please see http://www.debian.org/Bugs/Reporting or the reportbug(1)
manual page.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
0xb776ed40 in __kernel_vsyscall ()
#0 0xb776ed40 in __kernel_vsyscall ()
#1 0xb6a61063 in __waitpid_nocancel () at ../sysdeps/unix/syscall-template.S:84
#2 0xb69ea796 in do_system (line=0x97e4f8 "/usr/share/samba/panic-action 3424") at ../sysdeps/posix/system.c:148
#3 0xb6fe96b8 in smb_panic_s3 () from /usr/lib/i386-linux-gnu/libsmbconf.so.0
#4 0xb772d71b in smb_panic () from /usr/lib/i386-linux-gnu/libsamba-util.so.0
#5 0xb772d947 in ?? () from /usr/lib/i386-linux-gnu/libsamba-util.so.0
#6 <signal handler called>
#7 0xb6b7e668 in talloc_get_size () from /usr/lib/i386-linux-gnu/libtalloc.so.2
#8 0xb700c304 in event_add_to_poll_args () from /usr/lib/i386-linux-gnu/libsmbconf.so.0
#9 0xb700c8c0 in ?? () from /usr/lib/i386-linux-gnu/libsmbconf.so.0
#10 0xb6b6c028 in _tevent_loop_once () from /usr/lib/i386-linux-gnu/libtevent.so.0
#11 0xb6b6c22a in tevent_common_loop_wait () from /usr/lib/i386-linux-gnu/libtevent.so.0
#12 0xb73e2ec0 in start_background_queue () from /usr/lib/i386-linux-gnu/samba/libsmbd-base.so.0
#13 0xb73e3221 in printing_subsystem_init () from /usr/lib/i386-linux-gnu/samba/libsmbd-base.so.0
#14 0x004aecb9 in main ()
A debugging session is active.

Inferior 1 [process 3424] will be detached.
i jeszcze kawałek
$ service smbd status

● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd)
Active: active (running) since śro 2017-11-29 21:20:52 CET; 11h ago
Process: 3353 ExecStop=/etc/init.d/smbd stop (code=exited, status=0/SUCCESS)
Process: 11954 ExecReload=/etc/init.d/smbd reload (code=exited, status=0/SUCCESS)
Process: 3408 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/smbd.service
└─3420 /usr/sbin/smbd -D

lis 29 21:20:52 enterprise smbd[3424]: [2017/11/29 21:20:52.254999, 0] ../source3/lib/util.c:800(smb_panic_s3)
lis 29 21:20:52 enterprise smbd[3424]: smb_panic(): calling panic action [/usr/share/samba/panic-action 3424]
lis 29 21:20:56 enterprise smbd[3424]: [2017/11/29 21:20:56.443568, 0] ../source3/lib/util.c:808(smb_panic_s3)
lis 29 21:20:56 enterprise smbd[3424]: smb_panic(): action returned status 0
lis 29 21:20:56 enterprise smbd[3424]: [2017/11/29 21:20:56.443749, 0] ../source3/lib/dumpcore.c:318(dump_core)
lis 29 21:20:56 enterprise smbd[3424]: dumping core in /var/log/samba/cores/smbd
lis 29 21:20:56 enterprise smbd[3424]:
lis 30 06:26:17 enterprise systemd[1]: Reloading LSB: start Samba SMB/CIFS daemon (smbd).
lis 30 06:26:17 enterprise smbd[11954]: Reloading /etc/samba/smb.conf: smbd.
lis 30 06:26:17 enterprise systemd[1]: Reloaded LSB: start Samba SMB/CIFS daemon (smbd).
Debian 3.16.43-2+deb8u5 (2017-09-19) i686 GNU/Linux
Samba version 4.2.14-Debian

może ktoś by mnie nakierował co z tym fantem zrobic ?
Awatar użytkownika
dedito
Moderator
Posty: 3512
Rejestracja: 18 listopada 2013, 21:07
Lokalizacja: Gliwice

Re: samba panic-action

Post autor: dedito »

Z tego co widzę, została zrestartowana i działa.
Awatar użytkownika
tommot
Posty: 15
Rejestracja: 09 października 2016, 12:30

Re: samba panic-action

Post autor: tommot »

za kazdym razem gdy ja wystartuje otrzymuje maila z raportem
wyglada jak by wystartowala
root 896 0.0 0.3 36808 13740 ? Ss 16:53 0:00 /usr/sbin/smbd -D

ale cos jest nie tak bo nie mam dostepu do zasobow

$ service samba status
● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
Loaded: loaded (/etc/init.d/samba)
Active: inactive (dead)
ODPOWIEDZ