[Samba] kcc_periodic output
Douglas Bagnall
douglas.bagnall at catalyst.net.nz
Wed Feb 7 21:40:47 UTC 2024
On 8/02/24 02:11, Elias Pereira via samba wrote:
> Any idea how I can debug this?
>>> I don't know the answer to that, but I think setting
>>>
>>> samba kcc command = /usr/sbin/samba_kcc -d5
>>>
I looked it up. Actually
samba kcc command = /path/to/samba_kcc --debug
*might* produce more interesting results (you'll probably want to use
`less -R` to view the logs).
You can run samba_kcc independently -- it should not do any harm, but
you can use the --readonly flag if you want to be careful.
But anyway, I don't think this is a samba_kcc specific problem, and
https://bugzilla.samba.org/show_bug.cgi?id=15568
is due to the same underlying issue. I don't know what that is.
>> [2024/02/02 20:05:17.752322, 0]
>> ../../source4/dsdb/repl/drepl_out_helpers.c:1300(dreplsrv_update_refs_done)
>> UpdateRefs failed with NT_STATUS_IO_TIMEOUT
This is a different replication failure, independent of the KCC.
samba_kcc works out where the DC should replicate from, and the drepl
code does the actual replication.
Both could fail with network weirdness, or if either the local or remote
database is locked up for some reason.
>> What does this part of the code do?
>> source4/dsdb/kcc/kcc_periodic.c:790
That just reports that samba_kcc failed.
cheers,
Douglas
More information about the samba
mailing list