LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2010, 10:59 AM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
Samba errors in messages file regularly


I have a samba file server that has Windows XP machines connecting to it. Fairly regularly, I get messages such as the following. Are these anything to worry about? What do they mean? Nobody ever has problems with disconnecting or losing their mapped drive or their desktop shortcut not working.

Code:
Nov 15 15:37:21 servername smbd[27516]: [2010/11/15 15:37:21, 0] lib/util_sock.c:read_socket_data(384)
Nov 15 15:37:21 servername smbd[27516]:   read_socket_data: recv failure for 4. Error = No route to host
Nov 15 15:57:19 servername smbd[28929]: [2010/11/15 15:57:19, 0] lib/util_sock.c:read_socket_data(384)
Nov 15 15:57:19 servername smbd[28929]:   read_socket_data: recv failure for 4. Error = Connection timed out
Nov 15 17:02:20 servername smbd[18567]: [2010/11/15 17:02:20, 0] smbd/nttrans.c:call_nt_transact_ioctl(2282)
Nov 15 17:02:20 servername smbd[18567]:   call_nt_transact_ioctl(0x9005c): Currently not implemented.
 
Old 12-15-2010, 08:30 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by rjo98 View Post
I have a samba file server that has Windows XP machines connecting to it. Fairly regularly, I get messages such as the following. Are these anything to worry about? What do they mean? Nobody ever has problems with disconnecting or losing their mapped drive or their desktop shortcut not working.

Code:
Nov 15 15:37:21 servername smbd[27516]: [2010/11/15 15:37:21, 0] lib/util_sock.c:read_socket_data(384)
Nov 15 15:37:21 servername smbd[27516]:   read_socket_data: recv failure for 4. Error = No route to host
Nov 15 15:57:19 servername smbd[28929]: [2010/11/15 15:57:19, 0] lib/util_sock.c:read_socket_data(384)
Nov 15 15:57:19 servername smbd[28929]:   read_socket_data: recv failure for 4. Error = Connection timed out
Nov 15 17:02:20 servername smbd[18567]: [2010/11/15 17:02:20, 0] smbd/nttrans.c:call_nt_transact_ioctl(2282)
Nov 15 17:02:20 servername smbd[18567]:   call_nt_transact_ioctl(0x9005c): Currently not implemented.
That's coming from the Windows side of things.

In your samba configuration file, try adding this line:
Code:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
and restart Samba. Worked for me in the past, especially with WindowsXP machines.
 
1 members found this post helpful.
Old 12-15-2010, 09:20 AM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
Thanks TB0ne, I will give it a shot. What exactly do all those options mean/do?
 
Old 12-15-2010, 11:31 AM   #4
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
Hey TB0ne, I checked and the server is already set like this:

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 
Old 12-15-2010, 01:35 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by rjo98 View Post
Hey TB0ne, I checked and the server is already set like this:

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
What about the IPTOS_LOWDELAY?

Those options are detailed here:
http://oreilly.com/catalog/samba/cha...k/appb_02.html

The last time I had to deal with WindowsXP workstations, those options fixed things up, and honestly, it's been years ago...I forget where I got that. The IPTOS_LODELAY should be set with the TCP_NODELAY option. The send/receive buffer options may not need to be set, and you've (of course), got to bounce Samba before those changes take effect.
 
Old 12-15-2010, 02:02 PM   #6
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
no IPTOS_LOWDELAY, i copied and pasted that line straight out of the config file. not sure if it was left out on purpose by previous admins or what.

Thanks for the info, I'll probably wait till a post-holiday day when its less busy to try messing with it, since i dont exactly have a test server to play around with.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
San related errors in the messages file. tnramya Linux - General 4 03-30-2012 02:37 PM
errors in messages log manser Linux - Software 1 10-21-2006 12:06 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 07:39 PM
syslog and firestarter - log messages to another file than messages mule Linux - Newbie 0 08-07-2003 04:35 AM
vsftpd errors in messages luckyluc01 Linux - Newbie 0 04-29-2003 08:19 AM


All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration