当前位置:   article > 正文

ubuntu14.04安装samba4.3 配置后Samba不能访问_the samba 'panic action' script, /usr/share/samba/

the samba 'panic action' script, /usr/share/samba/panic-action, was called f

Ubuntu配置好smb.conf后,用windows访问Samba,死活不能用,要么就是很卡,log中一直报错:

  1. #18 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_process_query_direct
  2. ory+0x2e4) [0x7f0f2e641634]
  3. #19 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_dispatch+0xcad) [0x7
  4. f0f2e62ee8d]
  5. #20 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_smb2_request_dispatch_immediate+0
  6. x75) [0x7f0f2e62f355]
  7. #21 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_immediate+0xd4) [0x7f0f2b5c4
  8. 584]
  9. #22 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x3c) [0x7f0f2c96a82c]
  10. #23 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x25b14) [0x7f0f2c96ab14]
  11. #24 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x8d) [0x7f0f2b5c3d5d]
  12. #25 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f0f2b5c3efb]
  13. #26 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_process+0x6c9) [0x7f0f2e61e1f9]
  14. #27 smbd(+0x96b6) [0x7f0f2f0e36b6]
  15. #28 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x16c) [0x7f0f2c96a95c]
  16. #29 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x25bb0) [0x7f0f2c96abb0]
  17. #30 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x8d) [0x7f0f2b5c3d5d]
  18. #31 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f0f2b5c3efb]
  19. #32 smbd(main+0x15b4) [0x7f0f2f0e16c4]
  20. #33 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f0f2b218f45]
  21. #34 smbd(+0x7a96) [0x7f0f2f0e1a96]
  22. [2018/09/20 23:51:55.049753, 0] ../source3/lib/util.c:801(smb_panic_s3)
  23. smb_panic(): calling panic action [/usr/share/samba/panic-action 11286]
  24. [2018/09/20 23:51:55.052651, 0] ../source3/lib/util.c:809(smb_panic_s3)
  25. smb_panic(): action returned status 0

 

开始以为smb.conf问题,调试了好久,各种尝试,好长时间没有解决。今天实在受不了,静心查找了一下,

https://answers.launchpad.net/ubuntu/+question/291448

文中说是samba4.3的安装包指定了错误的libtalloc2,然后我本地重装了一下

apt-get install --reinstall libtalloc2

重启samba服务,完美收工。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/182474
推荐阅读
相关标签
  

闽ICP备14008679号