On 2016-11-09 16:45, Jeroen Massar wrote:
On 2016-11-09 16:33, Ondřej Surý wrote:
Hi Jeroen,
just a quick reply - the debugging packages are now in separate
archive:
https://wiki.debian.org/AutomaticDebugPackages
Ah, installing those.
Could you try installing debugging symbols and
run this under
gdb and/or valgrind?
Will go for valgrind with gdb trap ;)
Find attached, otherwise email will mess up the formatting anyway.
That is against 2.3.2-1 from Debian unstable.
Also would you
be able to provide the /var/lib/knot and /etc/knot
for inspection?
I am just using a test domain for this, thus yep no prob, can drop those
somewhere.
After backing-up /var/lib/knot you could try
bisecting /var/lib/knot
by deleting journal .db files one by one and/or timers database.
There is only two domains, and I am quite sure which one it is.
Yep, removing it and stuff starts up again.
We would be
interested in seeing a corrupted .db file if you can
detect which one is causing the troubles.
Digging up next ;)
See the db file attached. Not so big (105k only) as it is a test domain
with almost nothing in there, thus should be perfect for testing /
debugging where this went wrong.
The knotd config for this is simple (relevant pieces below).
It has something special which might cause the issue: "zonefile-sync:
-1", this as I do not want it to overwrite the zone files that I put
there (they exist in git), get updated and a reload issued to let knot
know to update them.
A "zonefile-alt-path" config variable would be a good thing if one wants
to really store them btw.
Thus maybe me changing the file and then reloading it caused the db to
go inconsistent?
Noting also these two error messages:
error: [secluded.ch] changes from journal applied 1 -> 1 (invalid parameter)
error: [secluded.ch] zone event 'load' failed (invalid parameter)
If you need more data, or something to test, yell ;)
Greets,
Jeroen
--
policy:
- id: default
nsec3: on
template:
- id: default
dnssec-signing: on
dnssec-policy: default
# Do not store DNSSEC edition
zonefile-sync: -1
# Verify contents
semantic-checks: on
# DNS
acl: acl_cluster
# Zone files
file: "/etc/knot/zones/%s"
# Ignore SOA, just use filetime
serial-policy: "unixtime"
zone:
- domain: secluded.ch