[Samba] Help for problem samba between linux and windows

Christelle Ronce christelle.ronce at agriculture.gouv.fr
Mon Nov 21 10:04:18 GMT 2005


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 at agriculture.gouv.fr
Courriel Pôle Système : systeme.exploit.cerit.sg at agriculture.gouv.fr





More information about the samba mailing list