Article View: pl.comp.os.linux
Article #907151Re: Samba service i problem autostartu
From: Olek
Date: Sun, 28 May 2023 12:25
Date: Sun, 28 May 2023 12:25
69 lines
4565 bytes
4565 bytes
W dniu 27.05.2023 o 21:57, szopen pisze: > > Niestety nic nie znalazłem bazując na logu, może ktoś pomoże: Ja tam w tych logach widzę, że coś go boli. > > [2023/05/27 20:56:14.339699, 0] ../../source3/smbd/server.c:1741(main) > smbd version 4.16.8-Ubuntu started. > Copyright Andrew Tridgell and the Samba Team 1992-2022 > [2023/05/27 20:56:14.345364, 0] > ../../source3/smbd/server.c:1097(smbd_open_one_socket) > smbd_open_one_socket: open_socket_in failed: Nie można przypisać > żądanego adresu > [2023/05/27 20:56:14.345438, 0] > ../../source3/smbd/server.c:1097(smbd_open_one_socket) > smbd_open_one_socket: open_socket_in failed: Nie można przypisać > żądanego adresu > [2023/05/27 20:56:14.345443, 0] > ../../source3/smbd/server.c:1264(open_sockets_smbd) > open_sockets_smbd: No sockets available to bind to. Podejrzewam, że w smb.conf masz podany adres interfejsu, który nie jest podniesiony w momencie gdy Samba startuje. Albo adres interfejsu jest ustawiany dynamicznie, a plik konfiguracyjny oczekuje konkretnego - nieistniejącego w systemie. A potem to już następuje lawina wynikających z tego katastrof: > [2023/05/27 20:56:14.345497, 0] ../../lib/util/fault.c:172(smb_panic_log) > =============================================================== > [2023/05/27 20:56:14.345501, 0] ../../lib/util/fault.c:173(smb_panic_log) > INTERNAL ERROR: open_sockets_smbd() failed in pid 2759 (4.16.8-Ubuntu) > [2023/05/27 20:56:14.345505, 0] ../../lib/util/fault.c:177(smb_panic_log) > If you are running a recent Samba version, and if you think this problem > is not yet fixed in thelatest versions, please consider reporting this > bug, see https://wiki.samba.org/index.php/Bug_Reporting > [2023/05/27 20:56:14.345507, 0] ../../lib/util/fault.c:182(smb_panic_log) > =============================================================== > [2023/05/27 20:56:14.345510, 0] ../../lib/util/fault.c:183(smb_panic_log) > PANIC (pid 2759): open_sockets_smbd() failed in 4.16.8-Ubuntu > [2023/05/27 20:56:14.345694, 0] > ../../lib/util/fault.c:287(log_stack_trace) > BACKTRACE: 9 stack frames: > #0 /lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x32) > [0x7f67bf1f1d42] > #1 /lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0xd) [0x7f67bf1f1f9d] > #2 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(+0x11517a) > [0x7f67bf52a17a] > #3 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(+0x115497) > [0x7f67bf52a497] > #4 > /usr/lib/x86_64-linux-gnu/samba/libsmbd-shim-samba4.so.0(exit_server+0x18) [0x7f67bf05e278] > #5 /usr/sbin/smbd(main+0x15ba) [0x5561884cd13a] > #6 /lib/x86_64-linux-gnu/libc.so.6(+0x23510) [0x7f67bec23510] > #7 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7f67bec235c9] > #8 /usr/sbin/smbd(_start+0x25) [0x5561884cd8e5] > [2023/05/27 20:56:14.345712, 0] ../../source3/lib/util.c:693(smb_panic_s3) > smb_panic(): calling panic action [/usr/share/samba/panic-action 2759] > [2023/05/27 20:56:14.346326, 0] ../../source3/lib/util.c:700(smb_panic_s3) > smb_panic(): action returned status 0 > [2023/05/27 20:56:14.346335, 0] > ../../source3/lib/dumpcore.c:317(dump_core) > coredump is handled by helper binary specified at > /proc/sys/kernel/core_pattern > -- Olek
Technical Details
Message-ID:
<u4vh60$jk3$1$Olek@news.chmurka.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.chmurka.net!.POSTED.178.43.129.183.ipv4.supernova.orange.pl!not-for-mailReferences:
<u4qgu3$lh8$1@dont-email.me> <u4tmip$h1r$1$Olek@news.chmurka.net> <u4tnaj$h8jr$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.chmurka.net!.POSTED.178.43.129.183.ipv4.supernova.orange.pl!not-for-mail From: Olek <olotestSPAMFE@poczta.onet.pl> Newsgroups: pl.comp.os.linux Subject: Re: Samba service i problem autostartu Date: Sun, 28 May 2023 14:25:49 +0200 Organization: news.chmurka.net Message-ID: <u4vh60$jk3$1$Olek@news.chmurka.net> References: <u4qgu3$lh8$1@dont-email.me> <u4tmip$h1r$1$Olek@news.chmurka.net> <u4tnaj$h8jr$1@dont-email.me> NNTP-Posting-Host: 178.43.129.183.ipv4.supernova.orange.pl MIME-Version: 1.0 Injection-Date: Sun, 28 May 2023 12:24:32 -0000 (UTC) Injection-Info: news.chmurka.net; posting-account="Olek"; posting-host="178.43.129.183.ipv4.supernova.orange.pl:178.43.129.183"; logging-data="20099"; mail-complaints-to="abuse-news.(at).chmurka.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Cancel-Lock: sha1:ek4oniSN95N9k1g2Q52lpJcgynM= sha256:lJcwF1sipnV04vp6hbPgRboVHKXc57ZNqFhHtGittjw= sha1:TzfpfWd5bbwY0kuc0AIKhg53GLQ= sha256:vc9nhAlQ3L9rvFEDwIv9cFth+JKpebxkRyR/OalwGrY= In-Reply-To: <u4tnaj$h8jr$1@dont-email.me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit