Steve Snyder
2002-Feb-13 07:35 UTC
[Samba] "could not open file /var/lock/samba/unexpected.tdb"
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
Maybe Matching Threads
- SAMBA LOG: tdb/tdbutil.c:tdb_log(725) tdb(unnamed): tdb_open_ex: /var/cache/samba/unexpected.tdb (835, 457947) is already open in this process
- tdb(unnamed): tdb_open_ex: /var/run/samba/unexpected.tdb is already open in this process
- Overloaded samba server. Is it a bug?
- re. Initial Samba Setup
- unexpected.tdb already open