{"id":2784,"date":"2017-10-15T15:43:28","date_gmt":"2017-10-15T14:43:28","guid":{"rendered":"https:\/\/kudzia.eu\/b\/?p=2784"},"modified":"2017-10-15T15:43:28","modified_gmt":"2017-10-15T14:43:28","slug":"opendkim-failing-to-start-after-recent-routine-debian-update","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2017\/10\/opendkim-failing-to-start-after-recent-routine-debian-update\/","title":{"rendered":"opendkim failing to start after recent routine debian update"},"content":{"rendered":"<p>on 2017-10-12 i&#8217;ve done a routine <b>apt-get update; apt-get upgrade<\/b> on a debian stretch vm that, among other services, runs opendkim service that adds a digital signature in the headers of the outgoing mails. during the update i was asked weather to keep or replace the \/etc\/opendkim.conf; as usual in such cases i&#8217;ve answered no which led to situation where the opendkimd no longer started. in \/var\/log\/syslog i saw:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nOct 12 07:00:06 server opendkim&#x5B;763]: OpenDKIM Filter v2.11.0 terminating with status 0, errno = 0\r\nOct 12 07:01:19 server systemd&#x5B;1]: opendkim.service: PID file \/var\/run\/opendkim\/opendkim.pid not readable (yet?) after start: No such file or directory\r\nOct 12 07:01:19 server opendkim&#x5B;6107]: OpenDKIM Filter v2.11.0 starting (args: -x \/etc\/opendkim.conf)\r\nOct 12 07:02:49 server systemd&#x5B;1]: opendkim.service: Start operation timed out. Terminating.\r\n<\/pre>\n<p>i&#8217;ve diffed the existing and proposed configs and noticed a new directive that was not present in my original, admitably archaic, file:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nPidFile               \/var\/run\/opendkim\/opendkim.pid\r\n<\/pre>\n<p>adding it and restarting the service resolved the problem. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>on 2017-10-12 i&#8217;ve done a routine apt-get update; apt-get upgrade on a debian stretch vm that, among other services, runs opendkim service that adds a digital signature in the headers of the outgoing mails. during the update i was asked weather to keep or replace the \/etc\/opendkim.conf; as usual in such cases i&#8217;ve answered no [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[],"class_list":["post-2784","post","type-post","status-publish","format-standard","hentry","category-unimportant"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2784","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=2784"}],"version-history":[{"count":1,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2784\/revisions"}],"predecessor-version":[{"id":2785,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/2784\/revisions\/2785"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=2784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=2784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=2784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}