Christelle Ronce
2005-Nov-21 22:16 UTC
[Samba] Help for problem samba between linux and windows
Hi, Excuse my poor english !! I have a problem samba between linux and windows. I explain my actual situation : - windows 2000 SP4 - share a directory my_windows : d:\jagodin\partage - linux Redhat ES 4 - kernel version 2.6.9-5 in /etc/fstab : //my_windows/partage /export/home/cerit/jagodin/partage smbfs username=tomcat,password=xxxxx,rw,uid=tomcat,gid=tomcat,codepage=cp850,iocharset=utf8 0 0 result of df - k : //eurus/partage 65536000 3373056 62162944 6% /export/home/cerit/jagodin/partage But, there are frequently many errors in the /var/log/messages of my linux. *** Sometimes the problem is resolved automatiquely : for examples : Nov 17 23:30:32 corus kernel: smb_add_request: request [dba3ae80, mid=1222] timed out! Nov 17 23:35:01 corus mount.smbfs[1830]: [2005/11/17 23:35:01, 0] tdb/tdbutil.c:tdb_log(725) Nov 17 23:35:01 corus mount.smbfs[1830]: tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 38 ltype=0 (Mauvais descripteur de fichier) Nov 17 23:35:01 corus mount.smbfs[1830]: [2005/11/17 23:35:01, 0] tdb/tdbutil.c:tdb_log(725) Nov 17 23:35:01 corus mount.smbfs[1830]: tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 38 ltype=1 (Mauvais descripteur de fichier) Nov 17 23:35:01 corus mount.smbfs[1830]: [2005/11/17 23:35:01, 0] tdb/tdbutil.c:tdb_log(725) Nov 17 23:35:01 corus mount.smbfs[1830]: tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 38 ltype=1 (Mauvais descripteur de fichier) Nov 17 23:35:01 corus kernel: SMB connection re-established (-5) *** Sometimes the system crash after a lot of timed out. The solution is the reboot. for examples : Nov 20 16:40:31 corus kernel: smb_add_request: request [ded9ce80, mid=2596] timed out! Nov 20 16:45:31 corus kernel: smb_add_request: request [dee2ae80, mid=2597] timed out! Nov 20 16:50:31 corus kernel: smb_add_request: request [def32e80, mid=2598] timed out! Nov 20 16:55:31 corus kernel: smb_add_request: request [f150fe80, mid=2599] timed out! I have searched on the web. But i don't find a solution. Have you already meet this problem. Thank you for your help. cordially, -- Christelle Ronce Administrateur des syst?mes D?partement Exploitation Minist?re de l?agriculture et de la p?che S.D.SI./C.E.R.I. BP 12668 31326 CASTANET TOLOSAN CEDEX T?l?phone : 05 61 28 94 24 F?l?copie : 05 61 28 92 82 Courriel : christelle.ronce@agriculture.gouv.fr Courriel P?le Syst?me : systeme.exploit.cerit.sg@agriculture.gouv.fr
Christelle Ronce
2005-Nov-21 22:16 UTC
[Samba] Re: Help for problem samba between linux and windows -2 -
I forgot the version of samba - 3.0.10 samba-common-3.0.10-1.4E samba-3.0.10-1.4E system-config-samba-1.2.21-1 samba-client-3.0.10-1.4E Christelle Ronce a ?crit :> > Hi, > Excuse my poor english !! > I have a problem samba between linux and windows. > I explain my actual situation : > > - windows 2000 SP4 - share a directory > my_windows : d:\jagodin\partage > > - linux Redhat ES 4 - kernel version 2.6.9-5 > in /etc/fstab : > //my_windows/partage /export/home/cerit/jagodin/partage smbfs > username=tomcat,password=xxxxx,rw,uid=tomcat,gid=tomcat,codepage=cp850,iocharset=utf8 > 0 0 > result of df - k : > //eurus/partage 65536000 3373056 62162944 6% > /export/home/cerit/jagodin/partage > > But, there are frequently many errors in the /var/log/messages of my linux. > *** Sometimes the problem is resolved automatiquely : > for examples : > Nov 17 23:30:32 corus kernel: smb_add_request: request [dba3ae80, > mid=1222] timed out! > Nov 17 23:35:01 corus mount.smbfs[1830]: [2005/11/17 23:35:01, 0] > tdb/tdbutil.c:tdb_log(725) > Nov 17 23:35:01 corus mount.smbfs[1830]: > tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 38 ltype=0 > (Mauvais descripteur de fichier) > Nov 17 23:35:01 corus mount.smbfs[1830]: [2005/11/17 23:35:01, 0] > tdb/tdbutil.c:tdb_log(725) > Nov 17 23:35:01 corus mount.smbfs[1830]: > tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 38 ltype=1 > (Mauvais descripteur de fichier) > Nov 17 23:35:01 corus mount.smbfs[1830]: [2005/11/17 23:35:01, 0] > tdb/tdbutil.c:tdb_log(725) > Nov 17 23:35:01 corus mount.smbfs[1830]: > tdb(/var/cache/samba/gencache.tdb): tdb_lock failed on list 38 ltype=1 > (Mauvais descripteur de fichier) > Nov 17 23:35:01 corus kernel: SMB connection re-established (-5) > > > *** Sometimes the system crash after a lot of timed out. The solution is > the reboot. > for examples : > Nov 20 16:40:31 corus kernel: smb_add_request: request [ded9ce80, > mid=2596] timed out! > Nov 20 16:45:31 corus kernel: smb_add_request: request [dee2ae80, > mid=2597] timed out! > Nov 20 16:50:31 corus kernel: smb_add_request: request [def32e80, > mid=2598] timed out! > Nov 20 16:55:31 corus kernel: smb_add_request: request [f150fe80, > mid=2599] timed out! > > I have searched on the web. But i don't find a solution. > Have you already meet this problem. > Thank you for your help. > cordially, >-- Christelle Ronce Administrateur des syst?mes D?partement Exploitation Minist?re de l?agriculture et de la p?che S.D.SI./C.E.R.I. BP 12668 31326 CASTANET TOLOSAN CEDEX T?l?phone : 05 61 28 94 24 F?l?copie : 05 61 28 92 82 Courriel : christelle.ronce@agriculture.gouv.fr Courriel P?le Syst?me : systeme.exploit.cerit.sg@agriculture.gouv.fr
Jay Fenlason
2005-Nov-21 22:30 UTC
[Samba] Help for problem samba between linux and windows
On Mon, Nov 21, 2005 at 11:04:18AM +0100, Christelle Ronce wrote:> > Hi, > Excuse my poor english !! > I have a problem samba between linux and windows. > I explain my actual situation : > > - windows 2000 SP4 - share a directory > my_windows : d:\jagodin\partage > > - linux Redhat ES 4 - kernel version 2.6.9-5 > in /etc/fstab : > //my_windows/partage /export/home/cerit/jagodin/partage smbfs > > username=tomcat,password=xxxxx,rw,uid=tomcat,gid=tomcat,codepage=cp850,iocharset=utf8 > 0 0That's a Linux Kernel SMBFS problem, not a Samba problem. The first thing to try is the Linux CIFS filesystem instead. See http://www.samba.org/samba/Linux_CIFS_client.html or "man mount.cifs" but it may be as simple as replacing "smbfs" with "cifs" in your /etc/fstab. If that doesn't help, contact your Red Hat support person, or an appropriate Linux kernel mailing list. Unfortunatly, I don't think smbfs has an upstream maintainer, so switching to cifs really is the best option. -- JF