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

 

Latest Articles

  • prosody xmpp server "Failed in all attempts to connect to proxy.eu.jabber.org"
  • VMWare ESXi 6.7 SSH/PowerShell CLI Commands
  • VMWare Vsphere VCSA Graphical Install Creates json
  • error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
  • ./xmr-stak: error while loading shared libraries: libmicrohttpd.so.10: cannot open shared object file: No such file or directory
  • qemu-img resize howto
  • gmail.com address failing in Postfix
  • VMWare Hardware virtualization is selected and cannot be deselected due to selection of VBS Insufficient resources to satisfy configured failover level for vSphere HA.
  • Debian Mint Ubuntu compiling xmr-stak
  • ./nsgpucnminer: error while loading shared libraries: libOpenCL.so.1w: cannot open shared object file: No such file or directory
  • *** These critical programs are missing or too old: gawk
  • migration/4 migration 4 is using too much CPU
  • convert.im6: Unknown field with tag 317 (0x13d) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/788.
  • Python SyntaxError: Missing parentheses in call to 'print'
  • Linux How To Rename Files
  • OpenVZ container will not stop Child 546246 exited with status 1
  • [warn] VirtualHost 10.2.5.101:443 overlaps with VirtualHost 10.2.5.101:443, the first has precedence, perhaps you need a NameVirtualHost directive
  • Ethereum Client Errors
  • PayPal IPN Failed "result: IPN Handshake Invalid"
  • Linux Centos 7 HowTo Install Yarn