Samba (winbindd) database commit & read errors - shares still function

Status
Not open for further replies.

BigJ

Dabbler
Joined
Nov 20, 2014
Messages
28
Hi All

A very minor issue as I don't appear to have lost any functionality so this is mostly for information. After updating to BETA 2014-11-22 06:50:19 (1416634263-1) I started noticing errors in the console relating to samba such as the following.

log.winbindd-idmap:
STATUS=daemon 'winbindd' finished starting up and ready to serve connectionstdb(/var/db/samba4/winbindd_idmap.tdb): tdb_transaction_commit: transaction error pending
[2014/11/23 21:22:29.343614, 1] ../source3/winbindd/idmap_tdb_common.c:140(idmap_tdb_common_allocate_id)
Error allocating a new GID
[2014/11/23 22:04:11.185766, 1] ../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
tdb(/var/db/samba4/winbindd_idmap.tdb): tdb_transaction_commit: transaction error pending

log.smbd:
[2014/11/23 21:22:29.367126, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers)
pcap cache not loaded
[2014/11/23 21:22:48.945663, 1] ../source3/smbd/service.c:1130(close_cnum)
j-omega (ipv4:192.168.1.64:24892) closed connection to service video
[2014/11/23 21:22:48.946546, 1] ../source3/smbd/service.c:1130(close_cnum)
j-omega (ipv4:192.168.1.64:24892) closed connection to service su
STATUS=daemon 'smbd' finished starting up and ready to serve connectionsFailed to fetch record!
[2014/11/23 22:04:11.198926, 1] ../source3/smbd/server_reload.c:69(delete_and_reload_printers)
pcap cache not loaded
[2014/11/23 22:04:24.305507, 1] ../source3/printing/printer_list.c:226(printer_list_get_last_refresh)
Failed to fetch record!

I think the winbind daemon is trying to create a new user mapping, failing and leaving an open transaction so a record(s) can't be read. The read failures seem to be limited to "printing" which is why I'm assuming file sharing is working. I don't have any printers on my network by the way.

I removed my shares which stopped the uncommitted transaction errors but the read errors remained. Not being too bothered if I trash my box I deleted the mapping file winbindd_idmap.tdb assuming it would be rebuilt once the service was restarted. It was recreated (with fewer entries) but still getting the read errors though recreating the shares (again working) didn't start the transaction errors again.

Not sure what else to try so I'll attempt to boot the previous beta build to see what happens before applying the latest beta update.

Regards
 
D

dlavigne

Guest
Is this still an issue? If so, it might be worth making a report at bugs.freenas.org. If you do, post the issue number here.
 

BigJ

Dabbler
Joined
Nov 20, 2014
Messages
28
Hi dlavigne

Sorry for not following up with my results. Going back a build left me in the same state but updating to a newer version works fine with no errors reported. I'm all good currently :)

Thanks
 
Status
Not open for further replies.
Top