[Samba] HELP Gethostbyaddr failed
John H Terpstra
jht at samba.org
Thu Mar 10 23:13:58 GMT 2005
On Thursday 10 March 2005 14:19, Tom Peters wrote:
> I too have posted a message with this error in the logs but no one has
> addressed the issue. The subject of my message was:
> Copy to 3.0.9-2.3-SUSE dies after 1.2 gb copied
For what it is worth, I just backed up a notebook that has an 80 GB drive to a
Samba drive using Norton Ghost. The resulting data created a bunch of 2 GB
files, all of which read back onto a new drive without any problem.
This might suggest that the problem you are seeing is not a Samba problem, but
rather one of either configuration or network hardware glitches.
FYI: Slow logons are suggestive of a netbios name resolution problem or else a
bad NIC or HUB/switch.
- John T.
>
> Only in my case it occurs with 3.0.9 (I have not considered an upgrade to
> 3.0.11 yet). Does no one have a suggestion for mitigating this issue?
>
> Here is a section of my logfile:
> [2005/03/09 13:52:04, 1] lib/util_sock.c:get_peer_name(1095)
> Gethostbyaddr failed for 172.20.0.186
> [2005/03/09 13:52:04, 2] lib/access.c:check_access(324)
> Allowed connection from 172.20.0.186 (172.20.0.186)
> [2005/03/09 13:52:04, 2] smbd/reply.c:reply_special(235)
> netbios connect: name1=TOLKIEN name2=ELROND
> [2005/03/09 13:52:04, 2] smbd/reply.c:reply_special(242)
> netbios connect: local=tolkien remote=elrond, name type = 0
> [2005/03/09 14:23:12, 1] lib/util_sock.c:get_peer_name(1095)
> Gethostbyaddr failed for 172.20.0.186
>
> I can only copy 1.2 to 1.4 gb of data to a share before a WinXP or Win2k
> client says that the network name is no longer available. But it is a
> transient condition-- if I try again, it will copy another gig to
> gig-and-a-half before failing again.
>
> At 01:30 PM 3/10/2005 -0700, RYAN vAN GINNEKEN wrote:
> >Thank you everyone on this list i have gained access to the shared drive
> >again. Still have errors in the logs that worry me. Also the server
> >seems very slow to connect the first time a machine logs on and
> >unresponsive to open files. I will start a new thread for this later when
> >i have done some home work of my own as the documentation for samba is
> >very good.
> >Thank you crisis solved now i just need to some research on how beef up
> >preformace a little.
> >
> >RYAN vAN GINNEKEN wrote:
> >>I did a make deinstall and a reinstall to upgrade samba from 3.0.9 to
> >>3.0.11 last night at the office i work at and now i get this in the
> >>logs. I am sure this has been asswered 100 time on this list but no one
> >>can connect to the shared drives. This leave everyone point very angry
> >>fingers at me so please help here is the output of the logs.
> >>[2005/03/10 12:18:20, 1] lib/util_sock.c:get_peer_name(1109)
> >> Gethostbyaddr failed for 192.168.0.5
> >>[2005/03/10 12:18:20, 0] lib/access.c:check_access(328)
> >> Denied connection from 192.168.0.5 (192.168.0.5)
> >>[2005/03/10 12:18:20, 1] smbd/process.c:process_smb(1084)
> >> Connection denied from 192.168.0.5
> >>[2005/03/10 12:18:25, 1] lib/util_sock.c:get_peer_name(1109)
> >> Gethostbyaddr failed for 192.168.0.5
> >>[2005/03/10 12:18:25, 0] lib/access.c:check_access(328)
> >> Denied connection from 192.168.0.5 (192.168.0.5)
> >>[2005/03/10 12:18:25, 1] smbd/process.c:process_smb(1084)
> >> Connection denied from 192.168.0.5
> >
> >[Humor] Did Washington just flash a quarter for his ID? --Steven
> >Wright
> >--... ...-- -.. . -. ----. --.- --.- -...
> >tpeters at nospam.mixcom.com (remove "nospam") N9QQB (amateur radio)
> >"HEY YOU" (loud shouting) WEB ADDRESS http//www.mixweb.com/tpeters
> >43° 7' 17.2" N by 88° 6' 28.9" W, Elevation 815', Grid Square EN53wc
> >WAN/LAN/Telcom Analyst, Tech Writer, MCP, Cisco Certified CCNA
--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668
Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
More information about the samba
mailing list