next up previous
Up: High Performance Coders

Error message:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I could connect to the Samba server locally, but not remotely, nor on my second NIC.

After having no luck with Google searches, I found the problem located in the in /var/log/samba.xxx log files, where xxx the identity of the machine attempting to connect.

[2010/10/10 06:45:56.882732,  1] lib/util_sock.c:1622(get_peer_name)
  get_peer_name: getnameinfo failed for ::ffff:192.168.254.7 with error Temporar
y failure in name resolution
[2010/10/10 06:45:56.885095,  0] lib/util_sock.c:474(read_fd_with_timeout)
[2010/10/10 06:45:56.885200,  0] lib/util_sock.c:1432(get_peer_addr_internal)
  getpeername failed. Error was Transport endpoint is not connected
  read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.

The cure, in this case, was to name each IP number attempting to connect to SAMBA in /etc/hosts. These can be generic names, for those nos delivered by DHCP.


Russell Standish 2016-03-05