Hi, We are running Samba 2.2.5 on RedHat 7.3 rebuild with ldap support. We run Win2k Terminal Server, which provides most of the clients for the samba server. After a fairly long samba server up time (usually a couple of days, but this happened overnight), we end up with some odd entries in the smbstatus output in the "Locked files:" area.... Here is one line of the type I mean: Locked files: Pid DenyMode Access R/W Oplock Name -------------------------------------------------------------- 5890 DENY_NONE 0x20089 RDONLY NONE .^W Mon Aug 5 11:09:38 2002 Note the funny .^W in the name field. When this happens, there usually is a lot of locks with the same funny characters. When this is happening, people get all sorts of strange locking errors, typically not being able to save the document at all on the samba server, or only on particular drives; saving to local drives works. A samba restart (overnight) seems to fix these errors for a while, but they come back. Any ideas? -- Robert Stuart Systems Administrator Ph: 61 7 3864 0364 Fax: 61 7 3221 2553
Quoting Robert Stuart <Robert.Stuart@qsa.qld.edu.au>:> > I saw you message in the Samba archives concerning corruption of the > locking > > database. Since we upgraded from rh70 to rh73 a few days ago we are > see-ing the > > same thing. No change to Samba. Did you ever manage to resolve this > situation? > No, I haven't found a solution. Currently, I'm restarting samba > services each night and cleaning out the connection.tdb (and others in > the same area) files.Does your smbstatus -L output eventually look like (notice the filenames & paths are trashed)? - 32387 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 12:27:15 2002 14133 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 10:53:53 2002 32387 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 12:27:14 2002 14133 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 10:53:52 2002 14133 DENY_NONE 0x3 RDWR NONE /usr/pcnet/goldmine/Program Files/GoldMine/GMBase/Report32.DBT Wed Aug 21 11:13:53 2002 32387 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 12:27:14 2002 14133 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 10:53:41 2002 32387 DENY_NONE 0x3 RDWR EXCLUSIVE+BATCH ?u Wed Aug 21 12:27:51 2002 32387 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 12:27:15 2002 14133 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 10:53:52 2002 11977 DENY_NONE 0x3 RDWR NONE /usr/pcnet/deptdata/sales/Sales Department/Eckstrom/Leads/sl9.doc Wed Aug 21 08:18:09 2002 32387 DENY_NONE 0x3 RDWR EXCLUSIVE+BATCH ?u Wed Aug 21 12:27:52 2002 32387 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 12:27:15 2002 14133 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 10:53:53 2002 32387 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 12:27:14 2002 14133 DENY_NONE 0x3 RDWR NONE 57 Wed Aug 21 10:53:52 2002