Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. pi@raspberry:~ $ sudo apt-get autoremove
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  6. 1 not fully installed or removed.
  7. After this operation, 0 B of additional disk space will be used.
  8. Setting up samba (2:4.2.14+dfsg-0+deb8u7) ...
  9. Job for smbd.service failed. See 'systemctl status smbd.service' and 'journalctl -xn' for details.
  10. invoke-rc.d: initscript smbd, action "start" failed.
  11. dpkg: error processing package samba (--configure):
  12. subprocess installed post-installation script returned error exit status 1
  13. Errors were encountered while processing:
  14. samba
  15. E: Sub-process /usr/bin/dpkg returned an error code (1)
  16.  
  17. pi@raspberry:~ $ sudo systemctl -l status smbd
  18. ● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
  19. Loaded: loaded (/etc/init.d/smbd)
  20. Active: failed (Result: exit-code) since Wed 2017-07-26 20:18:10 UTC; 5min ago
  21. Process: 31528 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)
  22. Jul 26 20:18:10 raspberry smbd[31528]: Starting SMB/CIFS daemon: smbd/usr/sbin/smbd: error while loading shared libraries: libntdb.so.1: cannot open shared object file: No such file or directory
  23. Jul 26 20:18:10 raspberry smbd[31528]: failed!
  24. Jul 26 20:18:10 raspberry systemd[1]: smbd.service: control process exited, code=exited status=1
  25. Jul 26 20:18:10 raspberry systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
  26. Jul 26 20:18:10 raspberry systemd[1]: Unit smbd.service entered failed state.
  27.  
  28. pi@raspberry:~ $ sudo testparm
  29. testparm: error while loading shared libraries: libntdb.so.1: cannot open shared object file: No such file or directory
  30.  
  31. pi@raspberry:~ $ locate libntdb.so
  32. /usr/lib/arm-linux-gnueabihf/libntdb.so.1
  33. /usr/lib/arm-linux-gnueabihf/libntdb.so.1.0
  34.  
  35. pi@raspberry:~ $ ll /usr/lib/arm-linux-gnueabihf/ |grep libnt
  36. lrwxrwxrwx 1 root root 14 Jul 11 2014 libntdb.so.1 -> libntdb.so.1.0
  37. -rwxr-xr-x 1 root root 83672 Jul 11 2014 libntdb.so.1.0
  38.  
  39. pi@raspberry:~ $ cat /etc/ld.so.conf
  40. include /etc/ld.so.conf.d/*.conf
  41. /usr/lib/arm-linux-gnueabihf/
  42.  
  43. pi@raspberry:~ $ ldconfig -p |grep libntdb
  44. libntdb.so.1 (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libntdb.so.1
  45.  
  46. pi@raspberry:~ $ ldd /usr/sbin/samba|grep libn
  47. libntvfs.so.0 => /usr/lib/arm-linux-gnueabihf/samba/libntvfs.so.0 (0xb6df3000)
  48. libndr.so.0 => /usr/lib/arm-linux-gnueabihf/libndr.so.0 (0xb6dd2000)
  49. libndr-samba4.so.0 => /usr/lib/arm-linux-gnueabihf/samba/libndr-samba4.so.0 (0xb6b78000)
  50. libndr-standard.so.0 => /usr/lib/arm-linux-gnueabihf/libndr-standard.so.0 (0xb686a000)
  51. libndr-samba.so.0 => /usr/lib/arm-linux-gnueabihf/samba/libndr-samba.so.0 (0xb63b6000)
  52. libnpa-tstream.so.0 => /usr/lib/arm-linux-gnueabihf/samba/libnpa-tstream.so.0 (0xb6366000)
  53. libnetif.so.0 => /usr/lib/arm-linux-gnueabihf/samba/libnetif.so.0 (0xb632f000)
  54. libndr-nbt.so.0 => /usr/lib/arm-linux-gnueabihf/libndr-nbt.so.0 (0xb615a000)
  55. libndr-krb5pac.so.0 => /usr/lib/arm-linux-gnueabihf/libndr-krb5pac.so.0 (0xb5fc1000)
  56. libntdb.so.1 => not found
  57. libntdb.so.1 => not found
  58. libnettle.so.4 => /usr/lib/arm-linux-gnueabihf/libnettle.so.4 (0xb5ba7000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement