I get the following errors in the smb.log file. If anyone has any ideas about this please let me know. [2001/05/01 09:51:46, 0] lib/util_sock.c:set_socket_options(154) Failed to set socket option TCP_NODELAY (Error Connection reset by peer) [2001/05/01 09:51:46, 0] lib/util_sock.c:open_socket_in(827) Get_Hostbyname: Unknown host [2001/05/01 09:51:46, 0] smbd/oplock.c:open_oplock_ipc(93) open_oplock_ipc: Failed to get local UDP socket for address 100007f. Error was Undefined error: 0 The samba hosts name is defined in the /etc/hosts file. The system that samba is on is a FreeBSD (4.1) firewall. It has a few rules that I'm not sure my cause the above errors 00050 0 0 divert 8668 ip from any to any via dc0 00100 0 0 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 65000 0 0 allow ip from any to any 65535 0 0 deny ip from any to any Thank you.
Cuyler Dingwell wrote:> > I get the following errors in the smb.log file. If anyone has any ideas > about this please let me know. > > [2001/05/01 09:51:46, 0] lib/util_sock.c:open_socket_in(827) > Get_Hostbyname: Unknown hostWith regard to this one, make sure you have DNS set up properly, the easiest fix is to be sure the short name is in the host file. i.e.: <RIGHT> 192.168.0.1 fileserver fileserver.domain.com <NOT QUITE ENOUGH> 192.168.0.1 fileserver.domain.com Also, making sure /etc/resolv.conf is set up properly helps. Things like "search" and "domain" options are key (see man resolv.conf) Hope this helps, Bill
Everything like that is set up fine (currently the machine routes traffic to the internet perfectly) and the /etc/hosts file is as your specified. Bill Moran wrote:> Cuyler Dingwell wrote: > > > > I get the following errors in the smb.log file. If anyone has any ideas > > about this please let me know. > > > > [2001/05/01 09:51:46, 0] lib/util_sock.c:open_socket_in(827) > > Get_Hostbyname: Unknown host > > With regard to this one, make sure you have DNS set up properly, the > easiest fix is to be sure the short name is in the host file. i.e.: > > <RIGHT> > 192.168.0.1 fileserver fileserver.domain.com > > <NOT QUITE ENOUGH> > 192.168.0.1 fileserver.domain.com > > Also, making sure /etc/resolv.conf is set up properly helps. Things like > "search" and "domain" options are key (see man resolv.conf) > > Hope this helps, > Bill