{"id":3426,"date":"2018-05-20T14:37:50","date_gmt":"2018-05-20T06:37:50","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=3426"},"modified":"2018-05-20T14:37:50","modified_gmt":"2018-05-20T06:37:50","slug":"centos7%e4%b8%8d%e8%83%bd%e4%b8%8a%e7%bd%91%ef%bc%8cjob-for-iptables-service-failed-because-the-control-process-exited-with-error-code","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/hemanual\/centos7%e4%b8%8d%e8%83%bd%e4%b8%8a%e7%bd%91%ef%bc%8cjob-for-iptables-service-failed-because-the-control-process-exited-with-error-code\/","title":{"rendered":"CentOS7\u4e0d\u80fd\u4e0a\u7f51\uff0cJob for iptables.service failed because the control process exited with error code."},"content":{"rendered":"<p>\u4e00\u3001\u5148\u68c0\u67e5\u81ea\u5df1\u7684\u7f51\u7edc\u914d\u7f6e\u4fe1\u606f\uff1a\u8def\u5f84\uff1a\u00a0vi \/etc\/sysconfig\/network-scripts\/ifcfg-eno1<\/p>\n<p>\u91cd\u542f\u7f51\u7edc\u914d\u7f6e\u7684\u547d\u4ee4\uff1aservice network restart\u6216\u8005\u662fsystemctl restart network<\/p>\n<p>\u6211\u5728\u91cd\u542f\u7f51\u7edc\u65f6\u62a5\u7684\u9519\u8bef\uff1a<\/p>\n<p>Job for iptables.service failed because the control process exited with error code. See &#8220;systemctl status iptables.service&#8221; and &#8220;journalctl -xe&#8221; for details.<\/p>\n<p>service network restart<\/p>\n<p>\u6839\u636e\u4e0a\u9762\u62a5\u7684\u9519\uff0c\u6211\u53bb\u67e5\u770b\u65e5\u5fd7\uff0c\u65e5\u5fd7\u8bf4\u597d\u50cf\u662f\u6ca1\u6709\u53ef\u4ee5\u94fe\u63a5\u7684\u8bbe\u5907\uff0c\u4f46\u662f\u6211\u662f\u6709\u7684\uff0c<\/p>\n<p>\u62a5\u7684\u9519\uff1aError: Connection activation failed: <strong>No suitable device found for this connection.<\/strong><\/p>\n<p>\u6211\u5728\u7f51\u4e0a\u627e\u4e86\u5f88\u591a\u65b9\u6cd5\u90fd\u4e0d\u884c\uff0c\u82b1\u8d39\u4e86\u6211\u597d\u957f\u65f6\u95f4\u3002<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<p>\u8fd0\u884c\u4e0b\u5217\u547d\u4ee4\uff1a<\/p>\n<p>chkconfig network off\u00a0 \u00a0\u00a0\/\/\u8fdc\u7a0b\u8fd9\u6b65\u64cd\u4f5c\u6ce8\u610f\uff0c\u5bb9\u6613\u5bfc\u81f4\u65e0\u6cd5\u8fdc\u7a0b<\/p>\n<p>chkconfig network on<\/p>\n<p>service NetworkManager stop\u00a0 \u00a0\/\/\u8fdc\u7a0b\u8fd9\u6b65\u64cd\u4f5c\u6ce8\u610f\uff0c\u5bb9\u6613\u5bfc\u81f4\u65e0\u6cd5\u8fdc\u7a0b<\/p>\n<p>service NetworkManager start<\/p>\n<p>\u8fd9\u547d\u4ee4\u7684\u610f\u601d\u662f\uff1a\u91cd\u65b0\u8fd0\u884c\u7f51\u7edc\u7ba1\u7406\u88c5\u7f6e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5148\u68c0\u67e5\u81ea\u5df1\u7684\u7f51\u7edc\u914d\u7f6e\u4fe1\u606f\uff1a\u8def\u5f84\uff1a\u00a0vi \/etc\/sysconfig\/network-scripts\/if &#8230; <a title=\"CentOS7\u4e0d\u80fd\u4e0a\u7f51\uff0cJob for iptables.service failed because the control process exited with error code.\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/hemanual\/centos7%e4%b8%8d%e8%83%bd%e4%b8%8a%e7%bd%91%ef%bc%8cjob-for-iptables-service-failed-because-the-control-process-exited-with-error-code\/\" aria-label=\"\u9605\u8bfb CentOS7\u4e0d\u80fd\u4e0a\u7f51\uff0cJob for iptables.service failed because the control process exited with error code.\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,49],"tags":[495],"class_list":["post-3426","post","type-post","status-publish","format-standard","hentry","category-hemanual","category-linux","tag-centos7-x"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/3426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=3426"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/3426\/revisions"}],"predecessor-version":[{"id":3427,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/3426\/revisions\/3427"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=3426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=3426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=3426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}