[Samba] "could not open file /var/lock/samba/unexpected.tdb"

Steve Snyder steves at formation.com
Wed Feb 13 07:35:56 GMT 2002


When I start winbindd (Samba v2.2.3a on Linux), I get the entries in
log.winbindd shown below.  What's the story on all those complaints about
file "unexpected.tdb"?  There is no general problem with Samba writing to
that subdirectory:

# ll /var/lock/samba/
total 288
-rw-r--r--    1 root     root          696 Feb 12 22:01 brlock.tdb
-rw-r--r--    1 root     root          231 Feb 13 10:15 browse.dat
-rw-r--r--    1 root     root         8192 Feb 12 21:59 connections.tdb
-rw-r--r--    1 root     root         8192 Feb 12 22:54 locking.tdb
-rw-------    1 root     root          696 Feb 12 21:59 messages.tdb
-rw-r--r--    1 root     root           20 Feb 12 21:59 nmbd.pid
-rw-------    1 root     root         8192 Feb 12 22:01 ntdrivers.tdb
-rw-------    1 root     root          696 Feb 12 22:01 ntforms.tdb
-rw-------    1 root     root         8192 Feb 12 22:01 ntprinters.tdb
-rw-------    1 root     root         8192 Feb 12 22:01 printing.tdb
-rw-r--r--    1 root     root         8192 Feb 12 22:01 sessionid.tdb
-rw-------    1 root     root         8192 Feb 12 22:01 share_info.tdb
-rw-r--r--    1 root     root           20 Feb 12 21:59 smbd.pid
-rw-------    1 root     root          696 Feb 12 21:59 winbindd_cache.tdb
-rw-------    1 root     root         8192 Feb 12 21:59 winbindd_idmap.tdb
-rw-r--r--    1 root     root          313 Feb 13 10:08 wins.dat

What can/should I do to stop these complaints?

Thanks.

--------------------------

[2002/02/12 21:59:21, 1] lib/debug.c:debug_message(248)
  INFO: Debug class all level = 1   (pid 919 from pid 919)
[2002/02/12 21:59:21, 1] nsswitch/winbindd_util.c:get_domain_info(137)
  getting trusted domain list
[2002/02/12 21:59:21, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:22, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:23, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:23, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:23, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:23, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:23, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 21:59:23, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 22:01:01, 1] nsswitch/winbindd_util.c:get_domain_info(137)
  getting trusted domain list
[2002/02/12 22:01:01, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 22:01:02, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 22:01:02, 0] tdb/tdbutil.c:tdb_log(475)
  tdb((null)): tdb_open_ex: could not open file
/var/lock/samba/unexpected.tdb:
No such file or directory
[2002/02/12 22:01:22, 1] libsmb/cliconnect.c:cli_establish_connection(855)
  failed session setup
[2002/02/12 22:01:22, 1] nsswitch/winbindd_util.c:get_domain_info(137)
  getting trusted domain list
[2002/02/12 22:01:27, 1] nsswitch/winbindd_util.c:get_domain_info(137)
  getting trusted domain list





More information about the samba mailing list