Re[2]: [samba 3.0.28a,1) PANIC: tdb_reopen_all failed | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hello, Saturday, May 10, 2008, 4:30:47 PM, somebody wrote: VL> On Sat, May 10, 2008 at 03:39:19PM +0200, Gilles wrote: >> Hello >> >> I got a bunch of PANIC messages this morning on a FreeBSD 6.3 host, >> and had to restart Samba: >> >> ======== >> [2008/05/10 10:28:51, 0] lib/util.c:smb_panic(1633) >> PANIC (pid 43086): tdb_reopen_all failed. >> >> [2008/05/10 10:28:51, 0] lib/util.c:log_stack_trace(1737) >> BACKTRACE: 3 stack frames: >> #0 0x8220341 <smb_panic+73> at /usr/local/sbin/smbd >> #1 0x82b9389 <main+4773> at /usr/local/sbin/smbd >> #2 0x8086b8e <_start+118> at /usr/local/sbin/smbd >> >> [2008/05/10 10:28:51, 0] lib/fault.c:dump_core(181) >> dumping core in /var/log/samba/cores/smbd >> >> [2008/05/10 10:29:59, 0] lib/util_tdb.c:tdb_log(664) >> tdb(/var/db/samba/locking.tdb): tdb_reopen: open failed (No such >> file or directory) VL> Is it possible that a cronjob is kicking in deleting VL> /var/db/samba/locking.tdb? VL> Volker I'm not sure about cause of the the problem, but I can write more. When system (FreeBSD) is closed unexpectedly tdb files are corrupted. After boot samba tries to start, but because of corrupted tdb files it is impossible :( Samba version 3.0.28a a tries to start, generates PANIC message, runs a lot of smbd/nmbd processes and "eats" system resources. System is not available from network, access to console is needed. Older samba - I'm not sure, but I think prior to to 3.0.25a, for example 3.0.24 - tries to start, generates panic message and doesn't work, but system is stable. Fast solution: kill all smbd and nmbd processes, delete all tdb files from /var/db/samba/ directory, start samba ... should be ok. After next unexpected system restart problem can back :( As I remember older samba port (3.0.24) doesn't need manual remove of tdb files. Command "/usr/local/etc/rc.d/samba restart" is enough. Temporary solution: find old port, version 3.0.24 is OK, compile and install. I found old ports in iso images of previous version of FreeBSD. Is it possible to check tdb files before samba start and make an action (delete or repair the files) before start? How to do it? -- Best regards, Marcin mailto:marcinkk@xxxxxxxxxxxx -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Linux] [Info Cyrus] [LARTC] [Christmas Music] [Bugtraq] [Netfilter] [Internet Dating Forums] [RAID] [Yosemite News] [Photography]
![]() |
![]() |