Opened 15 years ago
Closed 15 years ago
#93 closed defect (lack of feedback)
Destructions of *.tdb files
Reported by: | digi | Owned by: | Silvan Scherrer |
---|---|---|---|
Priority: | blocker | Milestone: | Samba Server for eCS (OS/2) 1.1.0 |
Component: | Samba Server | Version: | 3.0.34 |
Keywords: | Cc: |
Description
SAMBA in role PDC. Nearby 120 users and up to 50 "guests". In working hours often happen destructions of *.tdb files. The size of files %ETC%\samba\private\passdb.tdb and %ETC%\samba\private\schannel_store.tdb becomes only 4096 byte. In some minutes after restoration from backup a situation repeats. Various utilities inform on damage %ETC%\samba\lock\connections.tdb. In a reality this file appears locked (opened), and one of processes smbd.exe turns to "zombie":
C:\programs\samba>smb stop Shutting down SMB services: Failed to open connections database: Permission denied Can't find pid for destination 'nmbd' Done.
C:\programs\samba>smbstatus.exe Samba version 3.0.34-RC11-20090526 PID Username Group Machine ------------------------------------------------------------------- 128 antipov sdtu it-16 (172.28.143.16) <..skip..> 132 yertner gris oris-138 (172.28.143.138) C:\MPTN\ETC\samba\lock/connections.tdb not initialised This is normal if an SMB client has never connected to your server. Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 145 123 DENY_NONE 0x2019f RDWR NONE T:/PUB Exchange/gris/АКТ вып. дог. обязат.Кишмишян.doc Mon Jun 15 15:10:29 2009 <..skip..>
Change History (8)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Correctly, the file (connections.tdb, passdb.tdb or schannel_store.tdb) breaks, the program creates new. At essential loading files passdb.tdb and schannel_store.tdb breaks in some seconds after restoration from backups!
comment:3 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Some programs on this computer use LIBC: samba, apache, php, mysql and other.
The problem with .tdb files is solved as follows:
- copy libc064x.dll to the samba's directory (my path is C:\programs\samba);
- start samba with next script:
set LIBPATHSTRICT=T SET BEGINLIBPATH=C:\programs\samba set libpath=.;%libpath% call smb start
It seems the problem is caused by bag in libc.
comment:4 by , 15 years ago
Note: smb.cmd of http://svn.netlabs.org/samba/changeset/283 has BEGINLIBPATH feature added.
Note: smb.cmd of http://svn.netlabs.org/samba/changeset/299 has LIBPATHSTRICT feature added as a disabled option.
Note: set libpath=.;%libpath% is useless as LIBPATH is no environment variable.
comment:5 by , 15 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
The problem has returned. But now it began to occur much less often. However, for a server it also is critical.
comment:6 by , 15 years ago
comment:7 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:8 by , 15 years ago
Resolution: | → feedback pending |
---|---|
Status: | new → closed |
wasn't that fixed with changing from jfs to hpfs?
the size of 4096 bytes is not necessary a broken file. as most of the new tdb files get this size.