{"id":3003,"date":"2019-08-16T19:40:55","date_gmt":"2019-08-16T18:40:55","guid":{"rendered":"https:\/\/kudzia.eu\/b\/?p=3003"},"modified":"2019-08-17T17:28:21","modified_gmt":"2019-08-17T16:28:21","slug":"bind9-fails-to-start-after-an-upgrade-to-debian-buster","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2019\/08\/bind9-fails-to-start-after-an-upgrade-to-debian-buster\/","title":{"rendered":"bind9 fails to start after an upgrade to Debian Buster"},"content":{"rendered":"<p>i&#8217;ve done a routine upgrade to Buster on some server and all went fine&#8230; except bind9 no longer started.<\/p>\n<p>every attempt to restart it ended up with long waiting and an error message:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nroot@xyz:~# service bind9 start\r\nJob for bind9.service failed because a timeout was exceeded.\r\nSee &quot;systemctl status bind9.service&quot; and &quot;journalctl -xe&quot; for details.\r\nroot@xyz:~# journalctl -xe\r\nAug 16 18:38:25 xyz systemd&#x5B;1]: bind9.service: Failed with result 'timeout'.\r\n-- Subject: Unit failed\r\n-- Defined-By: systemd\r\n-- Support: https:\/\/www.debian.org\/support\r\n--\r\n-- The unit bind9.service has entered the 'failed' state with result 'timeout'.\r\nAug 16 18:38:25 xyz systemd&#x5B;1]: Failed to start BIND Domain Name Server.\r\n-- Subject: A start job for unit bind9.service has failed\r\n-- Defined-By: systemd\r\n-- Support: https:\/\/www.debian.org\/support\r\n--\r\n-- A start job for unit bind9.service has finished with a failure.\r\n--\r\n-- The job identifier is 15979 and the job result is failed.\r\n<\/pre>\n<p>logs did not contain anything interesting &#8211; actually they showed that bind would start and then after ~ a minute was shut down. i&#8217;ve ruled out that the issue was caused by my configuration &#8211; the server did not start even with the default content of \/etc\/bind.<\/p>\n<p>the culprit was an old systemd override file that i&#8217;ve created ages ago to pass some parameter to named. after removing \/etc\/systemd\/system\/bind9.service.d\/local.conf and systemctl daemon-reload the dns server started.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>i&#8217;ve done a routine upgrade to Buster on some server and all went fine&#8230; except bind9 no longer started. every attempt to restart it ended up with long waiting and an error message: root@xyz:~# service bind9 start Job for bind9.service failed because a timeout was exceeded. See &quot;systemctl status bind9.service&quot; and &quot;journalctl -xe&quot; for details. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,51],"tags":[105],"class_list":["post-3003","post","type-post","status-publish","format-standard","hentry","category-tech","category-unimportant","tag-debian-buster"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=3003"}],"version-history":[{"count":2,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3003\/revisions"}],"predecessor-version":[{"id":3005,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3003\/revisions\/3005"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=3003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=3003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=3003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}