From: Randy on
Hello!

i have some trouble with my samba setup (v3.4.5 or 3.3.10).
the server is not responding (or very slow) for some minutes

in log.winbindd-idmap i get:
----------------------------
[2010/02/03 04:14:27, 1] lib/util_tdb.c:521(tdb_wrap_log)
tdb(/home/samba-server/samba/3.4.5/var/locks/mutex.tdb): tdb_lock failed on list 43 ltype=1 (Interrupted system call)
[2010/02/03 04:14:27, 0] lib/util_tdb.c:69(tdb_chainlock_with_timeout_internal)
tdb_chainlock_with_timeout_internal: alarm (40) timed out for key DOMAINSERVER in tdb /home/samba-server/samba/3.4.5/var/locks/mutex.tdb
[2010/02/03 04:14:27, 1] lib/server_mutex.c:71(grab_named_mutex)
Could not get the lock for DOMAINSERVER
[2010/02/03 04:14:27, 0] winbindd/winbindd_cm.c:782(cm_prepare_connection)
cm_prepare_connection: mutex grab failed for DOMAINSERVER
[2010/02/03 04:14:55, 0] libsmb/namequery.c:75(saf_store)
saf_store: refusing to store 0 length domain or servername!
[2010/02/03 04:14:55, 1] rpc_client/cli_pipe.c:949(cli_pipe_validate_current_pdu)
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR received from host DOMAINSERVER!

in log.winbindd i get:
----------------------
[2010/02/03 04:14:45, 1] lib/util_tdb.c:521(tdb_wrap_log)
tdb(/home/samba-server/samba/3.4.5/var/locks/mutex.tdb): tdb_lock failed on list 43 ltype=1 (Interrupted system call)
[2010/02/03 04:14:45, 0] lib/util_tdb.c:69(tdb_chainlock_with_timeout_internal)
tdb_chainlock_with_timeout_internal: alarm (40) timed out for key DOMAINSERVER in tdb /home/samba-server/samba/3.4.5/var/locks/mutex.tdb
[2010/02/03 04:14:45, 1] lib/server_mutex.c:71(grab_named_mutex)
Could not get the lock for DOMAINSERVER
[2010/02/03 04:14:45, 0] winbindd/winbindd_cm.c:782(cm_prepare_connection)
cm_prepare_connection: mutex grab failed for DOMAINSERVER
[2010/02/03 04:15:17, 0] libsmb/namequery.c:75(saf_store)
saf_store: refusing to store 0 length domain or servername!
[2010/02/03 04:19:18, 1] rpc_client/cli_pipe.c:949(cli_pipe_validate_current_pdu)
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR received from host DOMAINSERVER!
[2010/02/03 04:24:18, 0] winbindd/winbindd_dual.c:186(async_request_timeout_handler)
async_request_timeout_handler: child pid 5454 is not responding. Closing connection to it.

in log.wb-TESTDOM i get:
----------------------
[2010/02/03 04:18:40, 1] lib/util_tdb.c:521(tdb_wrap_log)
tdb(/home/samba-server/samba/3.4.5/var/locks/mutex.tdb): tdb_lock failed on list 43 ltype=1 (Interrupted system call)
[2010/02/03 04:18:40, 0] lib/util_tdb.c:69(tdb_chainlock_with_timeout_internal)
tdb_chainlock_with_timeout_internal: alarm (40) timed out for key DOMAINSERVER in tdb /home/samba-server/samba/3.4.5/var/locks/mutex.tdb
[2010/02/03 04:18:40, 1] lib/server_mutex.c:71(grab_named_mutex)
Could not get the lock for DOMAINSERVER
[2010/02/03 04:18:40, 0] winbindd/winbindd_cm.c:782(cm_prepare_connection)
cm_prepare_connection: mutex grab failed for DOMAINSERVER
[2010/02/03 04:19:18, 0] libsmb/namequery.c:75(saf_store)
saf_store: refusing to store 0 length domain or servername!
[2010/02/03 04:24:18, 1] rpc_client/cli_pipe.c:949(cli_pipe_validate_current_pdu)
cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR received from host DOMAINSERVER!
[2010/02/03 04:24:18, 0] winbindd/winbindd.c:190(winbindd_sig_term_handler)
Got sig[15] terminate (is_parent=0)


nmb and smb are running fine, no errors.
what are these 'tdb_lock failed' errors?
why do i get 'saf_store: refusing to store 0 length domain or servername!'

here is my smb.conf:
--------------------
[global]
netbios name = Domainserver
server string = File Server
workgroup = TESTDOM
realm = TESTDOM
bind interfaces only = yes
interfaces = lo eth0
smb ports = 137 138 139 445
security = user
encrypt passwords = true
passdb backend = tdbsam
guest ok = no
invalid users = bin deamon sys man postfix mail ftp
hosts allow = 127.0.0.1 172.16.1.0/24
hosts deny = 0.0.0.0/0
obey pam restrictions = yes
unix password sync = no
client ntlmv2 auth = yes
local master = yes
preferred master = yes
os level = 65
domain master = yes
domain logons = yes
logon path = \\%L\profiles\%U
logon drive = z:
logon script = login.bat
profile acls = yes
acl compatibility = auto
acl check permissions = True
hide files = /?esktop.ini/ntuser.ini/NTUSER.*/?humbs.db/
wins support = yes
name resolve order = wins bcast hosts
dns proxy = yes
log file = /home/samba-server/samba/current/var/log.%m
log level = 2
max log size = 1000
syslog = 0
strict locking = yes
socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
winbind separator = \\
winbind cache time = 3600
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind rpc only = Yes
allow trusted domains = no
load printers = yes
printing = cups
printcap = cups
printcap name = cups
time server = yes

Any idea what may be causing this?

Best regards,
Randy

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba