Displaying 20 results from an estimated 10000 matches similar to: "locking.tdb - Failed to open byte range locking database"
2002 Aug 22
7
a "hidden" setting for a samba server
does anyone know how to hide a samba server in SMB terms?
on an NT machine the command "net config server /hidden:yes"
will make the machine vanish from the network neighbourhood but
i cant figure out how to do this for a samba server
many thanks
sincerely,
bob reven
2002 Jun 20
1
brlock.tdb and locking.tdb always missing on RH 7.2
Hi!
I've been fighting with Samba for over a week now and I can't seem to work
it out. It all started when I installed the standard samba (2.2.1a-4) which
came with RH7.2.
I ran "smbstatus" and got the following error:
Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting.
I've tried the
2009 Oct 23
3
tdb locking issue - Solaris 10 and Samba 3.0.33
(Yes, I should upgrade Samba to 3.0.35).
We're running the Sun provided Samba daemon (SUNWsmbau and friends) on
Solaris 10 Generic_138888-08 (sparc).
Lots of Windows clients (mixed XP, 2003, 2008) hit this server and
periodically we'll start seeing smbd processes begin piling up. These
processes can't be killed with a normal kill -- only kill -9 will do
the trick.
In the past
2006 Apr 22
2
Re: TDB locking overhead and performance...
On Sat, Apr 22, 2006 at 06:15:31PM +0100, Daniel J Blueman wrote:
> As a test, I changed the opening of the locking.tdb and brlock.tdb
> files to use the TDB_INTERNAL flag, avoiding use of the fcntl(F_SETLK)
> syscall for locking individual database records. Performance was a lot
> snappier, with quite a bit less system time used.
>
> What is the scope of implementing shared
2002 Aug 27
1
tdb failure when attempting to use Samba
I have successfully implemented Samba in the past but I am now perplexed by
a new installation which fails smbstatus with the message:
"tdb((null)): tdb_open_ex: could not open file /var/cache/samba/brlock.tdb:
No such file or directory
Failed to open byte range locking database
"tdb((null)): tdb_open_ex: could not open file /var/cache/samba/locking.tdb:
No such file or directory
ERROR:
2002 Feb 20
0
Need help with Brlock.tdb and Locking.tdb
Hi all,
i am trying to run Samba 2.2.3a under a RedHat 7.2 i386 machine. After i compiled and installed the packages, i made a smb.conf up. Just some standard stuff nothing special. Now, when i start smbd and then check it with smbstatus it gives me this error :
Samba version 2.2.3a
Service uid gid pid machine
----------------------------------------------
tdb((null)): tdb_open_ex: could not
2004 Jun 29
2
tdb lock failures
We've just gone live with a file & print server, and are having major
problems with Samba. When used out of hours, with all PCs switched on
and connected to the domain, everything works fine. However, during the
day, we have problems where users can't print to any samba-hosted
printer, Access database applications (where the database is held on the
server) won't work, or work
2003 Mar 26
2
Failed to open byte range locking database
I am getting this error message when I type smbstatus.The message does not offer a lot of assistance. Is there any one with a good reason for this message??
Thx in advance
Glenn
Samba version 2.2.0a
Service uid gid pid machine
----------------------------------------------
Failed to open byte range locking database
ERROR: Failed to initialise
2004 Oct 03
0
brlock.tdb/locking.tdb permissions problem?
I'm running 2.11, and I've noticed a number of log entries that look
like so:
angie.log: tdb(/usr/local/samba/var/locks/locking.tdb): expand_file
ftruncate to 8192 failed (Permission denied)
[2004/10/03 15:14:36, 0] tdb/tdbutil.c:tdb_log(531)
tdb(/usr/local/samba/var/locks/brlock.tdb): expand_file ftruncate to
8192 failed (Permission denied)
The files in question look like this:
2005 Mar 21
2
what are *.tdb files?
In /varcache/samba/ I have several .tdb files. Like brlock.tdb,
locking.tdb, ntdrivers.tdb, etc. Excusing my ignorance, what are these
files, and what do they do? And why must they be copied when migrating
from one samba server to a new one?
2006 Apr 23
0
Re: TDB locking overhead and performance...
On Sat, Apr 22, 2006 at 06:15:31PM +0100, Daniel J Blueman wrote:
> I did some smbd profiling, and was seeing quite a lot of time spent
> (un)locking [1] TDB files.
>
> A quick workload of opening a few directory trees, we see a _lot_ of
> activity with a few TDB files:
>
> locking.tdb: 11943 accesses
> brlock.tdb: 690 accesses
> group_mapping.tdb: 126 accesses
>
2013 Nov 28
1
Samba4 git pull (11/28/2013) won't compile on FreeBSD 9.2
[2799/3801] Compiling source3/locking/locking.c
[2800/3801] Compiling source3/locking/brlock.c
../source3/locking/brlock.c: In function 'brl_get_locks_readonly_parser':
../source3/locking/brlock.c:2071: error: expected expression before 'struct'
../source3/locking/brlock.c:2071: warning: assignment makes pointer from
integer without a cast
../source3/locking/brlock.c: In function
2007 Feb 27
0
Nmbd crash with failure to open wins.tdb
Hello,
I've found this issue reported only once before but no real answer was
provided/found.
I am trying to migrate from an old 2.0.7 server, but the bundled
install 3.0.24 on FC6 is giving me major pain. Putting aside the
actual configuration and user migration which I need to figure out,
the problem is that nmbd refuses to start with the following errors in
the log:
[2007/02/26 14:05:26,
2007 May 08
2
TDB functionality document
Hi,
Does someone know a document which explains the TDB structure.
functionalites, and format of the TDB files etc.
I need to understand why some of the TDBs like messages.tdb, unexpected.tdb,
brlock if not read_only, locking.tdb, session.tdb, wins.tdb are called with
TDB_CLEAR_IF_FIRST tdb flags.
Why some TDBs are opend with O_RDWR|O_CREAT flags viz. gencache.tdb,
group_mapping.tdb,
2001 Apr 30
1
Unresponsive samba and 2 gigabyte TDB files, OH MY!
Hello,
I have been tracking this bug as much as possible, and it appears there is a
severe problem in the code that deals with .tdb files. Lately our samba 2.2
testbed has been having painfully slow network responsiveness. It would go
30-60 seconds without a response to a client on many occasions (both
browsing the network, and opening files/refreshing directories). Clients
include Windows 98se,
2007 Jan 17
1
smbstatus -B segmentation fault
When using Samba 3.0.23b (slightly old, I know) on CentOS 4.4,
smbstatus -B fails with a segmentation fault. smbstatus works, and
tdbdump is able to dump brlock.tdb and locking.tdb without any errors
(which is not what I expected).
Here's the backtrace (non-ASCII characters replaced with 'X'):
#0 0x0017fa2c in memcpy () from /lib/tls/libc.so.6
#1 0x0029b19f in tdb_write
2002 Feb 20
1
Running Samba 2.2.3a under RedHat 7.2
Hi all,
i am trying to run Samba 2.2.3a under a RedHat 7.2 i386 machine. After i compiled and installed the packages, i made a smb.conf up. Just some standard stuff nothing special. Now, when i start smbd and then check it with smbstatus it gives me this error :
Samba version 2.2.3a
Service uid gid pid machine
----------------------------------------------
tdb((null)):
2002 Feb 13
0
"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
2012 Jun 19
2
smb locks
Hi,
I see samba with ctdb locking has following mapping when
kernel oplocks = yes.
share mode reservations = flock(2)
posix byte range locking = fcntl(2)
SMB locks (mandatory) = ctdb using brlock.tdb
oplocks = fcntl(2) using F_SETLEASE
Am I correct or I am missing something? I hope only SMB range
locks are implemented with tdb, all else are being used from filesystem.
What
2007 Jan 27
0
Problem with MAX OPEN FILES REACHED
I am using CALDERA OPENLINUX 3.1.1 with latest patches and Samba 2.2.5 on it.
But recently I start to receive linux error "kernel: VFS MAX FILES REACHED"
and Samba error "Too many open files". After it I tuning linux increase open
files descriptors in
/etc/security/limits.conf
* soft nproc 4094
* hard nproc 16384
* soft