[Samba] Re: Re[2]: [samba 3.0.28a, 1) PANIC: tdb_reopen_all failed

Marcin Kucharczyk marcinkk at enter.net.pl
Thu May 15 09:47:21 GMT 2008


Hello Gilles,

In your mail from May 12, 2008 (05:47:58) can be read:

G> On Sun, 11 May 2008 22:09:07 +0200, Marcin Kucharczyk
G> <marcinkk at enter.net.pl> wrote:
>>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 :(

G> Thanks. I thought about this, but the server didn't reboot. Restarting
G> Samba did the trick, but I'm concerned about this error occuring
G> again. I wish I could downgrade to the n-1 version of the Ports
G> collection.

In provious e-mial you wrote.

>> [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)

I've looked at the samba start script: /usr/local/etc/rc.d/samba and the file
"locking.tdb" is one of the files deleted before samba starts. Some more files
that genetates the error are also deleted, so information "No such file or
directory" is propper. Normally samba creates the files when starts, but
sometimes on FreeBSD generates PANIC.

I can't repeat the problem manually. Server's power unplug is not an option. TDB
files are deleted before samba starts and created when the one starts ... should
be created when doesn't exist. So why the error is
"tdb(/var/db/samba/locking.tdb): tdb_reopen: open failed (No such file or 
directory)"?  Why "PANIC (pid 43086): tdb_reopen_all failed."? I don't know how
completly to solve the problem :(

-- 
Best Regards,
 Marcin Kucharczyk                          mailto:marcinkk at enter.net.pl



More information about the samba mailing list