Unable to mount location Failed to retrieve share list from server: No such file or directory solution

Cannot even "Browse Network" when clicking on "Windows Network"

Unable to mount location
Failed to retrieve share list from server: No such file or directory

logs:

[2017/02/14 00:16:44.271314, 0] ../source3/nmbd/nmbd.c:58(terminate)
Got SIGTERM: going down...
[2017/02/13 17:35:41.797944, 0] ../lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/02/14 01:36:51.984161, 0] ../source3/libsmb/nmblib.c:873(send_udp)
Packet send failed to 192.168.1.255(138) ERRNO=Invalid argument
[2017/02/14 01:36:51.984314, 0] ../source3/libsmb/nmblib.c:873(send_udp)
Packet send failed to 192.168.1.255(137) ERRNO=Invalid argument
[2017/02/14 01:36:51.984353, 0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
[2017/02/14 01:36:51.984390, 0] ../source3/nmbd/nmbd_nameregister.c:582(register_name)
register_name: Failed to send packet trying to register name __MSBROWSE__<01>

Solution

  • problem was a missing share (share mount point was not active or mounted due to drives being dead/disconnected) in /etc/samba/smb.conf
  • had to fix it and restart nmbd and smbd manually (restarting samba itself for some reason did nothing).

sudo service nmbd restart
sudo service smbd restart


Tags:

unable, mount, retrieve, server, directory, solutioncannot, quot, browse, clicking, logs, nmbd, terminate, sigterm, lib, util, become_daemon, daemon_ready, daemon, connections, libsmb, nmblib, send_udp, packet, errno, invalid, nmbd_packets, send_netbios_packet, send_packet, ip, nmbd_nameregister, register_name, register, __msbrowse__, active, mounted, disconnected, etc, samba, smb, conf, restart, smbd, manually, restarting, sudo,

Latest Articles

  • Aruba/HP/Dell IAP Wireless Controller Common Default Passwords
  • Debian, Mint Ubuntu how to remove package and associated config files
  • Linux Grub not booting the intended kernel solution in Debian, Mint, Ubuntu how to specify which kernel to boot by default
  • QEMU KVM Keyboard Problems Not Working Right Repeating Characters, Ctrl+C Copy and Paste not working right when using PS2 mouse in guests Solution
  • Linux how to compile binary with static sharedobjects embedded instead of dynamic to use on multi-distributions and avoid glibc compatiblity issues
  • /bin/sh: msgfmt: not found error solution on Linux Compilation Ubuntu Debian Mint Centos
  • Mikrotik RouterOS CHR/ISO Basic and Quick Setup Howto Guide
  • qemu 4 compilation options
  • CentOS 7 8 PXEBoot Netinstall Not Working Solution "Pane is dead "new value non-exisetnt xfs filesystem is not valid as a default fs type"
  • CentOS 6 EOL yum repo won't work Error: Cannot find a valid baseurl for repo: base Solution
  • CentOS 7 8 How To Disable SELinux
  • Wordpress How To Add Featured Image To Post in Hueman Theme
  • kdenlive full reset how to erase all config files
  • CentOS 7 8 yum error Trying other mirror. To address this issue please refer to the below wiki article
  • Microsoft Teams Linux - Calendar Doesn't Work Missed Meetings!
  • Scanner not working in Linux Ubuntu Fedora Mint Debian over the network? Use sane-airscan!
  • How To Boot, Install and Run Windows 2000 on QEMU-KVM
  • bash cannot execute permission denied
  • Huion and Wacom Tablets How To Install in Linux Mint / Ubuntu and make the stylus work properly
  • ffmpeg how to cut certain parts of video out