LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-22-2005, 02:46 PM   #1
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
Question Samba: smb_add_request: request timed out!


I have a very strange problem with Samba (that might be a bug) but I'm looking for any work arounds that someone might know. Set-up, FC 2 updated last week and Windows 2k server.

# rpm -q samba
samba-3.0.10-1.fc2
# rpm -q kernel
kernel-2.6.5-1.358
kernel-2.6.10-1.8_FC2
# uname -a
Linux tavarua 2.6.10-1.8_FC2 #1 Mon Jan 10 14:46:18 EST 2005 i686 i686 i386 GNU/Linux

Here is what I am trying to do: Share a Windows 2k folder via Samba and then create a symbolic link to serve out from Apache.

Code:
# pwd;ls -al
/var/www/html/tavarua
lrwxrwxrwx  1 root root   20 Dec 31 00:30 cloudbreak -> /mnt/cloudbreak/Web/
I believe that Samba is configured correctly (I can mount my home directory from windows and my shares are mounted correctly on FC2), see my mount output:

Code:
//cloudbreak/My_Documents on /mnt/cloudbreak type smbfs (0)
Apache seems to be working fine for other direcotries.

My services smb, httpd, are running. I've restarted them and they appear to not resolve the issue. I keep getting error messages in my logs like the following:

Code:
Jan 22 15:27:51 tavarua nmbd[16475]: [2005/01/22 15:27:51, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Jan 22 15:27:51 tavarua nmbd[16475]:   *****
Jan 22 15:27:51 tavarua nmbd[16475]:
Jan 22 15:27:51 tavarua nmbd[16475]:   Samba name server TAVARUA is now a local master browser for workgroup HAWAII on subnet 10.0.0.15
Jan 22 15:27:51 tavarua nmbd[16475]:
Jan 22 15:27:51 tavarua nmbd[16475]:   *****
Jan 22 15:28:05 tavarua mount.smbfs[2800]: [2005/01/22 15:28:05, 0] tdb/tdbutil.c:tdb_log(725)
Jan 22 15:28:05 tavarua mount.smbfs[2800]:   tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 39 ltype=0 (Bad file descriptor)
Jan 22 15:28:05 tavarua mount.smbfs[2800]: [2005/01/22 15:28:05, 0] tdb/tdbutil.c:tdb_log(725)
Jan 22 15:28:05 tavarua mount.smbfs[2800]:   tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 39 ltype=1 (Bad file descriptor)
Jan 22 15:28:05 tavarua mount.smbfs[2800]: [2005/01/22 15:28:05, 0] tdb/tdbutil.c:tdb_log(725)
Jan 22 15:28:05 tavarua mount.smbfs[2800]:   tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 39 ltype=1 (Bad file descriptor)
Jan 22 15:28:05 tavarua kernel: SMB connection re-established (-5)
Jan 22 15:28:35 tavarua kernel: smb_add_request: request [c5d73ee0, mid=2400] timed out!
Jan 22 15:28:40 tavarua kernel: smb_add_request: request [c5d73dc0, mid=2401] timed out!
Jan 22 15:29:10 tavarua kernel: smb_add_request: request [c5d73dc0, mid=2402] timed out!
Jan 22 15:29:40 tavarua kernel: smb_add_request: request [c5d73dc0, mid=2403] timed out!
Jan 22 15:30:10 tavarua kernel: smb_add_request: request [c5d73dc0, mid=2404] timed out!
Does anyone know what these error messages are and possibly any workarounds. I think I have all the information needed to troubleshoot this but any help is appreciated.
 
Old 01-22-2005, 03:02 PM   #2
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Original Poster
Rep: Reputation: 30
A reboot of the FC 2 machine seems to clear this issue which leads me to believe that this is problem du eto cache or some sort of system build-up. Next time this occurs, I will see if rebooting the windows system has a similar effect.

Still, any knowledge on this problem is helpful to me. Thanks!
 
Old 01-24-2005, 07:49 AM   #3
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Original Poster
Rep: Reputation: 30
bttt
 
Old 02-09-2005, 05:47 PM   #4
skubee
LQ Newbie
 
Registered: Sep 2003
Location: Portland, OR
Distribution: slackware
Posts: 22

Rep: Reputation: 15
ive been having the same errors come up recently. have you found any info about it? ive been sifting through google but i think im looking in the wrong places.
 
Old 02-10-2005, 10:38 AM   #5
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Original Poster
Rep: Reputation: 30
I have found no solution. I think that this is an NFS issue thought, not a SMB issue. I've had success running:

service nfs restart

sometimes. (I think that's it) The errors, looking more closely, are coming from the kernel.

This is just annyoing.
 
Old 02-22-2005, 07:07 PM   #6
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: PCLinuxOS 2010.12, Debian Lenny
Posts: 387

Rep: Reputation: 38
I am having this same problem here @ work using unattended.sourceforge.net

One system here just refused to run the install, constantly getting this error even after several samba restarts on the server side.

I hope someone has some lighto n this topic.
 
Old 02-23-2005, 10:43 PM   #7
grenobel
LQ Newbie
 
Registered: Feb 2005
Location: Nashville TN
Distribution: FC2, FC3, RH9, Linspire
Posts: 4

Rep: Reputation: 0
Unhappy Crazy netfs problems.

I have looked around, but have found no answer to this original post. Anybody have any luck correcting this error?

It does seem to affect NFS as well as SMB shares. I am having a major problem on a new FC3 install w/3.0.10 samba.

I am seeing a ton of tdb_lock failed messages as well as getpeername failed. When it happens I see a long list of SMB connection re-established lines in dmesg.

I can't figure out where this is coming from and is driving me crazy as I have to reboot the box in order to release dead connection sockets. It doesn't help to kill the connections on the Windows boxes or on the other Linux boxes with the nfs shares.

I am running this on a Dell 2650. I saw a few posts with references to these boxes causing problems with the 2.6 kernel, but I don't want to believe that is it because I have 2 of these with the 2.6 kernel and the other one is flawless but not running samba or nfs.

kernel is Linux ftp1 2.6.10-1.766_FC3smp #1 SMP Wed Feb 9 23:21:37 EST 2005 i686 i686 i386 GNU/Linux


Any ideas yet??? Please, somebody have the answer for this...
 
Old 03-15-2005, 07:53 PM   #8
ixe
LQ Newbie
 
Registered: Jul 2004
Location: Minnesota, USA
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Similar problem

I am having the same type of errors appearing in /var/log/messages on my Mdk 10.1 AMD64 edition laptop (hp zv5000z)
I noticed it just after building a new kernel (2.6.11) because every ten minutes or so XMMS would hang (my music is on a server on my network). I'll post again if I am able to fix it by using another kernel or tweaking .config.

Here're some of the messages I get:

Code:
Mar 15 19:43:29 hyper mount.smbfs[23125]: [2005/03/15 19:43:29, 0] tdb/tdbutil.c:tdb_log(725)
Mar 15 19:43:29 hyper mount.smbfs[23125]:   tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 82 ltype=0 (Bad file descriptor)
Mar 15 19:43:29 hyper mount.smbfs[23125]: [2005/03/15 19:43:29, 0] tdb/tdbutil.c:tdb_log(725)
Mar 15 19:43:29 hyper mount.smbfs[23125]:   tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 82 ltype=1 (Bad file descriptor)
Mar 15 19:43:29 hyper mount.smbfs[23125]: [2005/03/15 19:43:29, 0] tdb/tdbutil.c:tdb_log(725)
Mar 15 19:43:29 hyper mount.smbfs[23125]:   tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 82 ltype=1 (Bad file descriptor)
Mar 15 19:43:59 hyper kernel: smb_add_request: request [ffff81000639ee40, mid=478] timed out!
Mar 15 19:43:59 hyper kernel: smb_add_request: request [ffff81000639ecc0, mid=479] timed out!
 
Old 04-01-2005, 01:11 PM   #9
rebroad
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
Windows machine rebooted?

Am I right in think this happens if the Windoze machine (that the smbmount is connect to) reboots?

Anyone reading this found the fix to this yet? Surely linux should be able to cope in the same way that any Windoze PC (connecting to a shared drive) would cope?
 
Old 06-29-2005, 03:59 PM   #10
ksas025
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Rep: Reputation: 0
I was having the same error and restarting my network seemed to fix it. On my Gentoo machine I issued an /etc/init.d/net.et0 restart and my samba was working again.
 
Old 07-04-2005, 12:17 PM   #11
ixe
LQ Newbie
 
Registered: Jul 2004
Location: Minnesota, USA
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Well, my error has not gone away despite upgrading to a new distro & kernel (on the client) which makes me think it might be a server side problem. However, other linux and windows users on my network are not experiencing this problem. My computer is AMD64 mobile with Mandiva Linux 2005 LE for x86_64 and the 64bit stuff might be related to the problem. I don't know. I'll watch this thread, but now I've switched to other protocols instead of SMB so I'm not trying to figure this out any more. Good luck all
 
Old 07-04-2005, 12:21 PM   #12
ixe
LQ Newbie
 
Registered: Jul 2004
Location: Minnesota, USA
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Quote:
Originally posted by ksas025
I was having the same error and restarting my network seemed to fix it. On my Gentoo machine I issued an /etc/init.d/net.et0 restart and my samba was working again.
Does it fix it permanently? For me that only fixes it for a few minutes and then it happens again. Also sometimes I have to force a umount of the smbfs and wait a minute before trying again. Just curious...
 
Old 07-14-2005, 03:04 PM   #13
qwerty_42
LQ Newbie
 
Registered: Jul 2005
Location: Sweden/Hässleholm
Posts: 4

Rep: Reputation: 0
I had a similar problem, it seems that mounting with cifs instead of smbfs solves it.

mount -t cifs -o ...

instead of

mount -t smbfs -o ...
 
Old 07-18-2005, 06:01 PM   #14
Plague
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
I was having the same problems with smbfs. Switching to cifs got rid of the error messages, but it still got hung up. I was so frustrated I decided to FTP 2G worth of files over to the linux box I was working on, only to have FTP freeze up randomly as well. I finally thought to check my messages file and discovered it was all due to timeouts on my ethernet device. I popped in a known-good NIC and all is well now. Not sure if this is anyone else's problem, but it's worth checking if you haven't.

The culprit was an onboard sis900 adapter on an ASUS mobo I'm working with. Good thing I didn't pay for it myself or I'd be upset abotu wasting a PCI slot on a (first) NIC.

Good luck to all.
 
Old 11-03-2005, 07:57 AM   #15
V@no.
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Rep: Reputation: 0
I know this is an old topic, but wanted to bring this up, because this is a bug in kernel 2.6 itself and with every new version released this bug does not get fixed! There are some patches avalabe, but for those who install kernel from .rpm its not the sollution....
 
  


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
Samba timed out Lechio Linux - Networking 2 11-17-2008 04:23 PM
samba: 5718 session request failed ragecyr Linux - Networking 7 06-10-2005 12:21 PM
Samba config request gets redirected condosolon Linux - Software 0 03-04-2004 12:34 AM
win samba printer request vanishes in RH9 hartings Linux - Networking 2 12-22-2003 04:17 PM
Samba nmbd/smbd starting by client request to fileserver snocked Linux - Networking 0 11-11-2003 04:08 PM


All times are GMT -5. The time now is 02:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration