Dobrý den,
instalace:
Proxmox 6.2.11 - Turnkey Fileserver - Samba server
systém je aktualizovaný Samba 4.9.5
Vše mám nastavené a funkční, Samba po cca 35 minutách spadne, pokud jí restartuji tak opět běží, v logu je toto:
[2020/09/16 11:13:38.923861, 0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
*****
Samba name server STORAGE is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.11
*****
[2020/09/16 11:13:38.923982, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2020/09/16 11:28:46.936402, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
free(): corrupted unsorted chunks
[2020/09/16 11:37:26.329862, 0] ../lib/util/fault.c:79(fault_report)
===============================================================
[2020/09/16 11:37:26.329892, 0] ../lib/util/fault.c:80(fault_report)
INTERNAL ERROR: Signal 6 in pid 10891 (4.9.5-Debian)
Please read the Trouble-Shooting section of the Samba HOWTO
[2020/09/16 11:37:26.329905, 0] ../lib/util/fault.c:82(fault_report)
===============================================================
[2020/09/16 11:37:26.329915, 0] ../source3/lib/util.c:816(smb_panic_s3)
PANIC (pid 10891): internal error
[2020/09/16 11:37:26.330300, 0] ../lib/util/fault.c:261(log_stack_trace)
BACKTRACE: 13 stack frames:
#0 /lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x32) [0x7f888e5c88d2]
#1 /lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20) [0x7f888e1e81c0]
#2 /lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f) [0x7f888e5c89df]
#3 /lib/x86_64-linux-gnu/libsamba-util.so.0(+0x24c16) [0x7f888e5c8c16]
#4 /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730) [0x7f888e636730]
#5 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x10b) [0x7f888d8d17bb]
#6 /lib/x86_64-linux-gnu/libc.so.6(abort+0x121) [0x7f888d8bc535]
#7 /lib/x86_64-linux-gnu/libc.so.6(+0x79508) [0x7f888d913508]
#8 /lib/x86_64-linux-gnu/libc.so.6(+0x7fc1a) [0x7f888d919c1a]
#9 /lib/x86_64-linux-gnu/libc.so.6(+0x818a2) [0x7f888d91b8a2]
#10 /lib/x86_64-linux-gnu/libc.so.6(+0x84af3) [0x7f888d91eaf3]
#11 /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fc9) [0x7f888e62bfc9]
#12 /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f888d9934cf]
[2020/09/16 11:37:26.330360, 0] ../source3/lib/util.c:828(smb_panic_s3)
smb_panic(): calling panic action [/usr/share/samba/panic-action 10891]
[2020/09/16 11:37:27.116264, 0] ../source3/lib/util.c:836(smb_panic_s3)
smb_panic(): action returned status 0
[2020/09/16 11:37:27.116320, 0] ../source3/lib/dumpcore.c:315(dump_core)
dumping core in /var/log/samba/cores/smbd
[2020/09/16 11:43:55.955699, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2020/09/16 11:58:53.168396, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
munmap_chunk(): invalid pointer
[2020/09/16 12:00:26.104780, 0] ../lib/util/fault.c:79(fault_report)
===============================================================
[2020/09/16 12:00:26.104825, 0] ../lib/util/fault.c:80(fault_report)
INTERNAL ERROR: Signal 6 in pid 12640 (4.9.5-Debian)
Please read the Trouble-Shooting section of the Samba HOWTO
[2020/09/16 12:00:26.104848, 0] ../lib/util/fault.c:82(fault_report)
===============================================================
[2020/09/16 12:00:26.104864, 0] ../source3/lib/util.c:816(smb_panic_s3)
PANIC (pid 12640): internal error
malloc(): invalid size (unsorted)
free(): corrupted unsorted chunks
[2020/09/16 12:04:21.754496, 0] ../lib/util/fault.c:79(fault_report)
Samba konfigurace je vygererovaná z webového rozhraní v TurnKey Fileserver
hlavní část konfigurace:
[global]
netbios name = Storage
add group script = /usr/sbin/groupadd '%g'
pam password change = yes
recycle:exclude_dir = tmp quarantine
delete group script = /usr/sbin/groupdel '%g'
panic action = /usr/share/samba/panic-action %d
restrict anonymous = 2
encrypt passwords = true
security = user
delete user script = /usr/sbin/userdel -r '%u'
recycle:touch = yes
admin users = root
recycle:versions = yes
passwd program = /usr/bin/passwd %u
add user to group script = /usr/sbin/usermod -G '%g' '%u'
syslog = 0
wins support = true
vfs object = recycle
unix password sync = yes
obey pam restrictions = yes
preferred master = yes
max log size = 1000
os level = 20
log file = /var/log/samba/samba.log
server string =
recycle:keeptree = yes
add user script = /usr/sbin/useradd -m '%u' -g users -G users
dns proxy = no
socket options = TCP_NODELAY
passdb backend = tdbsam
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
guest account = nobody
[martin.sync]
writeable = yes
path = /mnt/1/martin.sync
Máte někdo nějaký nápad co s tím?
Takto je to zcela nepoužitelné. Prohledal jsem web a našel jsem nějaké rady na podobné problémy v nastavení
smb.conf , ale nic nepomohlo.
Díky za rady
Martin