赞
踩
在Ubuntu配置好smb.conf后,用windows访问Samba,死活不能用,要么就是很卡,log中一直报错:
-
- #18 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_process_query_direct
- ory+0x2e4) [0x7f0f2e641634]
- #19 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_dispatch+0xcad) [0x7
- f0f2e62ee8d]
- #20 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_dispatch_immediate+0
- x75) [0x7f0f2e62f355]
- #21 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_immediate+0xd4) [0x7f0f2b5c4
- 584]
- #22 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x3c) [0x7f0f2c96a82c]
- #23 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x25b14) [0x7f0f2c96ab14]
- #24 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x8d) [0x7f0f2b5c3d5d]
- #25 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f0f2b5c3efb]
- #26 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_process+0x6c9) [0x7f0f2e61e1f9]
- #27 smbd(+0x96b6) [0x7f0f2f0e36b6]
- #28 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x16c) [0x7f0f2c96a95c]
- #29 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x25bb0) [0x7f0f2c96abb0]
- #30 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x8d) [0x7f0f2b5c3d5d]
- #31 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f0f2b5c3efb]
- #32 smbd(main+0x15b4) [0x7f0f2f0e16c4]
- #33 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f0f2b218f45]
- #34 smbd(+0x7a96) [0x7f0f2f0e1a96]
- [2018/09/20 23:51:55.049753, 0] ../source3/lib/util.c:801(smb_panic_s3)
- smb_panic(): calling panic action [/usr/share/samba/panic-action 11286]
- [2018/09/20 23:51:55.052651, 0] ../source3/lib/util.c:809(smb_panic_s3)
- smb_panic(): action returned status 0
开始以为smb.conf问题,调试了好久,各种尝试,好长时间没有解决。今天实在受不了,静心查找了一下,
https://answers.launchpad.net/ubuntu/+question/291448
文中说是samba4.3的安装包指定了错误的libtalloc2,然后我本地重装了一下
apt-get install --reinstall libtalloc2
重启samba服务,完美收工。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。