[Announce] Samba 4.3.1 Available for Download
Thomas Bork
tombork at web.de
Fri Oct 23 19:44:24 UTC 2015
Am 23.10.2015 um 21:22 schrieb Jeremy Allison:
> Can you try shutting down samba and removing /var/lock/samba/gencache_notrans.tdb
> and restarting ?
Success, thanks. This is a machine with a previous Samba in version 4.1.20.
So this tdb is not an persistent one, right? I'm cleaning following
tdb's on start now:
[...]
do_loadnmbd ()
{
if [ $nmbdstatus = alive ]
then
boot_mesg " Warning: nmbd is already running."
echo_warning
else
for tdb in $lockdir/brlock.tdb \
$lockdir/connections.tdb \
$lockdir/gencache.tdb \
$lockdir/gencache_notrans.tdb \
$lockdir/group_mapping.ldb \
$lockdir/group_mapping.tdb \
$lockdir/locking.tdb \
$lockdir/messages.tdb \
$lockdir/namelist.debug \
$lockdir/printing/?*.tdb \
$lockdir/sessionid.tdb \
$lockdir/unexpected.tdb
do
rm -f $tdb
done
[...]
group_mapping.tdb has an static mapping here and is initialized with a
script. Is there anything else I should clean?
testeis # ls -l /var/lock/samba
total 2052
-rw------- 1 root root 421888 Oct 23 21:49 account_policy.tdb
-rw------- 1 root root 8192 Oct 23 23:30 account_policy.tdb.samba.bak
-rw-r--r-- 1 root root 40200 Oct 23 23:30 brlock.tdb
-rw-r--r-- 1 root root 225 Oct 23 23:39 browse.dat
-rw------- 1 root root 696 Oct 23 23:13 dbwrap_watchers.tdb
-rw------- 1 root root 696 Oct 23 23:30 dbwrap_watchers.tdb.samba.bak
-rw-r--r-- 1 root root 425984 Oct 23 23:30 gencache.tdb
-rw-r--r-- 1 root root 16384 Oct 23 23:30 gencache_notrans.tdb
-rw------- 1 root root 696 Oct 23 23:30 group_mapping.tdb
-rw-r--r-- 1 root root 696 Oct 23 23:30 leases.tdb
-rw-r--r-- 1 root root 696 Oct 23 23:30 leases.tdb.samba.bak
-rw-r--r-- 1 root root 40200 Oct 23 23:30 locking.tdb
drwxr-xr-x 2 root root 4096 Oct 23 23:30 msg.lock
-rw------- 1 root root 696 Oct 23 21:49 mutex.tdb
-rw------- 1 root root 696 Oct 23 23:30 mutex.tdb.samba.bak
-rw-rw---- 1 root root 8192 Oct 23 23:30 names.tdb
-rw-r----- 1 root root 8192 Oct 23 23:30 names.tdb.samba.bak
-rw-r--r-- 1 root root 696 Oct 23 21:52 notify.tdb
-rw-r--r-- 1 root root 696 Oct 23 23:30 notify.tdb.samba.bak
-rw-r--r-- 1 root root 696 Oct 23 21:52 notify_index.tdb
-rw-r--r-- 1 root root 696 Oct 23 23:30 notify_index.tdb.samba.bak
-rw-r--r-- 1 root root 12288 Oct 23 23:30 printer_list.tdb
-rw-r--r-- 1 root root 12288 Oct 23 23:30 printer_list.tdb.samba.bak
drwxr-xr-x 2 root root 4096 Oct 23 21:52 printing
-rw------- 1 root root 528384 Oct 23 21:52 registry.tdb
-rw------- 1 root root 16384 Oct 23 23:30 registry.tdb.samba.bak
-rw-r--r-- 1 root root 8192 Oct 23 23:30 serverid.tdb
-rw-r--r-- 1 root root 8192 Oct 23 23:30 serverid.tdb.samba.bak
-rw------- 1 root root 421888 Oct 23 21:52 share_info.tdb
-rw------- 1 root root 8192 Oct 23 23:30 share_info.tdb.samba.bak
-rw------- 1 root root 696 Oct 23 23:30 smbXsrv_open_global.tdb
-rw------- 1 root root 696 Oct 23 23:30 smbXsrv_open_global.tdb.samba.bak
-rw------- 1 root root 696 Oct 23 23:30 smbXsrv_session_global.tdb
-rw------- 1 root root 696 Oct 23 23:30
smbXsrv_session_global.tdb.samba.bak
-rw------- 1 root root 696 Oct 23 23:30 smbXsrv_tcon_global.tdb
-rw------- 1 root root 696 Oct 23 23:30 smbXsrv_tcon_global.tdb.samba.bak
-rw------- 1 root root 16384 Oct 23 23:30 smbXsrv_version_global.tdb
-rw------- 1 root root 16384 Oct 23 23:30
smbXsrv_version_global.tdb.samba.bak
-rw-r--r-- 1 root root 0 Oct 23 23:30 unexpected.tdb
--
der tom
More information about the samba-technical
mailing list