{"id":19282,"date":"2016-08-26T06:29:01","date_gmt":"2016-08-25T22:29:01","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/08\/26\/%e8%a7%a3%e6%b1%ba%e5%87%ba%e7%8f%be-warning-inet_protocols-ipv6-support-is-disabled-address-family-not-supported-by-protocol-%e7%9a%84%e9%8c%af%e8%aa%a4%e8%a8%8a%e6%81%af\/"},"modified":"2021-03-18T17:24:48","modified_gmt":"2021-03-18T09:24:48","slug":"%e8%a7%a3%e6%b1%ba%e5%87%ba%e7%8f%be-warning-inet_protocols-ipv6-support-is-disabled-address-family-not-supported-by-protocol-%e7%9a%84%e9%8c%af%e8%aa%a4%e8%a8%8a%e6%81%af","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/08\/26\/%e8%a7%a3%e6%b1%ba%e5%87%ba%e7%8f%be-warning-inet_protocols-ipv6-support-is-disabled-address-family-not-supported-by-protocol-%e7%9a%84%e9%8c%af%e8%aa%a4%e8%a8%8a%e6%81%af\/","title":{"rendered":"\u89e3\u6c7a\u51fa\u73fe warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol \u7684\u932f\u8aa4\u8a0a\u606f"},"content":{"rendered":"<p>\u57f7\u884c logwatch \u6642\u51fa\u73fe\u5982\u4e0b\u7684\u932f\u8aa4\u8a0a\u606f<br \/># <span style=\"color: #ff0000\">logwatch &#8211;output stdout<\/span><br \/><span style=\"color: #0000ff\">logwatch: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol<\/span><br \/><span style=\"color: #0000ff\">logwatch: warning: inet_protocols: configuring for IPv4 support only<\/span><\/p>\n<p>\u770b\u8d77\u4f86\u554f\u984c\u4f3c\u4e4e\u662f IPv6 \u88ab\u53d6\u6d88\u4e86\uff0c\u9019\u662f\u56e0\u70ba\u5728\u5bb6\u88e1\u7528\u4e0d\u5230\u3002[@more@]\u89e3\u6c7a\u65b9\u5f0f\uff1a<br \/>\u53c3\u8003\u7db2\u7ad9\uff1a<br \/><a href=\"http:\/\/unix.stackexchange.com\/questions\/64414\/ipv6-support-is-disabled-warnings\" target=\"_blank\" rel=\"noopener noreferrer\">email &#8211; &#8220;IPv6 support is disabled&#8221; warnings &#8211; Unix &amp; Linux Stack Exchange<\/a><\/p>\n<p>1. \u5099\u4efd\u539f\u8a2d\u5b9a\u6a94<br \/># <span style=\"color: #ff0000\">cp \/etc\/postfix\/main.cf \/etc\/postfix\/main.cf.$(date +%F)<\/span><\/p>\n<p>2. \u5c07 <span style=\"color: #0000ff\">inet_protocols = all<\/span> \u6539\u6210 <span style=\"color: #0000ff\">inet_protocols =<\/span><span style=\"color: #ff0000\"> ipv4<\/span><br \/># <span style=\"color: #ff0000\">sed -i &#8216;s\/^(inet_protocols = ).*$\/1&#8221;ipv4\/&#8217; \/etc\/postfix\/main.cf<\/span><\/p>\n<p>3. \u91cd\u65b0\u555f\u52d5 postfix \u670d\u52d9<br \/># <span style=\"color: #ff0000\">systemctl restart postfix<\/span><\/p>\n<p>4. \u6aa2\u67e5\u4e00\u4e0b<br \/># <span style=\"color: #ff0000\">logwatch &#8211;output stdout<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u57f7\u884c logwatch \u6642\u51fa\u73fe\u5982\u4e0b\u7684\u932f\u8aa4\u8a0a\u606f# logwatch &#8211;output stdoutlo &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2016\/08\/26\/%e8%a7%a3%e6%b1%ba%e5%87%ba%e7%8f%be-warning-inet_protocols-ipv6-support-is-disabled-address-family-not-supported-by-protocol-%e7%9a%84%e9%8c%af%e8%aa%a4%e8%a8%8a%e6%81%af\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u89e3\u6c7a\u51fa\u73fe warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol \u7684\u932f\u8aa4\u8a0a\u606f\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[],"class_list":["post-19282","post","type-post","status-publish","format-standard","hentry","category-c-78462"],"meta_key":{"_pingme":["1"],"_encloseme":["1"],"lt_post_id":["650587"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19282"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=19282"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19282\/revisions"}],"predecessor-version":[{"id":20832,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/19282\/revisions\/20832"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=19282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=19282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=19282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}