Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-25-2005, 10:33 AM   #1
LQ Newbie
Registered: Feb 2005
Location: Nashville TN
Distribution: FC2, FC3, RH9, Linspire
Posts: 4

Rep: Reputation: 0
Samba/NFS locking up. - HELP -

I am running Samba 3.0.10 in a production environment sharing FTP directories to the Windows world. Problem is occasionally, becoming more frequent with load, the Samba connections lock up and I can't kill the daemon or process at all (kill -9 or kill -hup, service smb stop) and the weird thing is that my NFS share to the external FTP server locks up too. Any open terminals attempting to query one of the shares will lock up too, even if it is a #df command.

I haven't found anything useful in dmesg except :

SMB connection re-established (-5)

This is repeated like 30 or more times.

In the message log I am getting a ton of:
tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 46 ltype=0 (Bad file descriptor)
getpeername failed. Error was Transport endpoint is not connected

I am not sure if these are related or not.

I read in a post that the tdb_lock failed was due to Samba not having sufficient privilege on the gencache.tdb, so I gave it 777 perms to test - no resolve. For the getpeername failed error, I read that it was an issue with authentication discrepancies between a PDC and BDC if both are not synched immediately and Samba is pulling authentications from both. The "fix" was to specify one or the other in the smb.conf - no resolve.

This system is running FC3 with 2.6.10-1.766_FC3smp kernel on a Dell 2650. Killing the NFS share from the external FTP server doesn't release the NFS connection, and removing the system from the Window's domain doesn't help with disconnecting the locked Samba connection either. The only way I can get it to release is to do a cold reboot.

Thanks for any ideas!!!


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
NFS Locking.............FAILED xbill311x Fedora 13 11-16-2007 11:11 AM
NFS Locking? Meabert Linux - Software 5 11-30-2005 08:52 AM
Stopping NFS locking failed. travellers Linux - Software 1 11-28-2005 11:51 AM
NFS locking up jmickens Linux - Enterprise 1 10-13-2005 05:41 PM
samba 3.0 locking ash4stuff Linux - Software 0 04-04-2004 04:50 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:38 PM.

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