Bas van den Dikkenberg
2020-Aug-20 06:38 UTC
[nsd-users] error: database corrupted, cannot update
We are in process of upgrading to ubuntu 20.04.1 lts We get this error on all our nameservers running NSD version 4.1.26 [2020-08-20 08:35:14.831] nsd[32502]: error: database corrupted, cannot update [2020-08-20 08:35:14.834] nsd[32486]: info: xfrd: zone xxxx.nl written received XFR packet from 2a02:968:1:2:212:72:224:48 with serial 2020082005 to disk [2020-08-20 08:35:14.834] nsd[32486]: info: xfrd: zone xxxx.nl committed "received update to serial 2020082005 at 2020-08-20T08:35:14 from 2a02:968:1:2:212:72:224:48 TSIG verified with key sec_key" [2020-08-20 08:35:14.834] nsd[32589]: error: handle_reload_cmd: reload closed cmd channel [2020-08-20 08:35:14.834] nsd[32589]: warning: Reload process 1 failed, continuing with old database Any idea's I removed the db file so its recreated but that didn't solve it With kind regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20200820/8762d033/attachment.htm>
Op 20-08-2020 om 08:38 schreef Bas van den Dikkenberg via nsd-users:> We are in process of upgrading to ubuntu 20.04.1 lts>From which version?B.t.w. current recommendation is to run nsd without database. So with: server: database: "" -- Willem> > ? > > We get this error on all our nameservers running NSD version 4.1.26 > > ? > > ? > > [2020-08-20 08:35:14.831] nsd[32502]: error: database corrupted, cannot > update > > [2020-08-20 08:35:14.834] nsd[32486]: info: xfrd: zone xxxx.nl written > received XFR packet from 2a02:968:1:2:212:72:224:48 with serial > 2020082005 to disk > > [2020-08-20 08:35:14.834] nsd[32486]: info: xfrd: zone xxxx.nl committed > "received update to serial 2020082005 at 2020-08-20T08:35:14 from > 2a02:968:1:2:212:72:224:48 TSIG verified with key sec_key" > > [2020-08-20 08:35:14.834] nsd[32589]: error: handle_reload_cmd: reload > closed cmd channel > > [2020-08-20 08:35:14.834] nsd[32589]: warning: Reload process 1 failed, > continuing with old database > > ? > > Any idea?s > > ? > > I removed the db file so its recreated but that didn?t solve it > > ? > > ? > > With kind regards > > > _______________________________________________ > nsd-users mailing list > nsd-users at lists.nlnetlabs.nl > https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users >
richard lucassen
2020-Aug-20 11:39 UTC
[nsd-users] error: database corrupted, cannot update
On Thu, 20 Aug 2020 08:38:03 +0200 (CEST) Bas van den Dikkenberg via nsd-users <nsd-users at lists.nlnetlabs.nl> wrote:> [2020-08-20 08:35:14.834] nsd[32486]: info: xfrd: zone xxxx.nl written > received XFR packet from 2a02:968:1:2:212:72:224:48 with serial > 2020082005 to diskI had issues when upgrading to 4.1.26, the SOA serial number I used was too long. I now insert "$(date +%s)" (number of seconds after 1-1-1970) and now it works. I looked it up in the changelogs and somewhere between 4.1.13 and 4.1.26 was this "fix". R. -- richard lucassen https://contact.xaq.nl/