{"id":92,"date":"2021-02-25T18:46:58","date_gmt":"2021-02-25T09:46:58","guid":{"rendered":"http:\/\/www.feelkind.com\/blog\/?p=92"},"modified":"2021-02-25T18:46:58","modified_gmt":"2021-02-25T09:46:58","slug":"centos7-9%e3%80%81root%e5%ae%9b%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ab%e3%83%8f%e3%83%9e%e3%82%8b%e3%81%ae%e5%b7%bb","status":"publish","type":"post","link":"http:\/\/www.feelkind.com\/blog\/?p=92","title":{"rendered":"CentOS7.9\u3001root\u5b9b\u30e1\u30fc\u30eb\u306b\u30cf\u30de\u308b\u306e\u5dfb"},"content":{"rendered":"\n<p>\u5148\u65e5\u518d\u5ea6\u306e\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u305fCentOS7.9(x64)\u30b5\u30fc\u30d0\u30fc\u306b\u3066\u3001cron\u541b\u304c\u3054\u4e01\u5be7\u306b\u6bce\u65e5root\u5b9b\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30e1\u30fc\u30eb\u3092\u51fa\u3057\u3066\u304f\u308c\u307e\u3059\u3002<br>\u4e00\u5fdc\u30a6\u30a4\u30eb\u30b9\u30b9\u30ad\u30e3\u30ca\u300cclamav\u300d\u7cfb\u3067\u4f55\u3089\u304b\u306e\u30c8\u30e9\u30d6\u30eb\u304c\u8d77\u304d\u3066\u3044\u308b\u4e8b\u306f\u6587\u9762\u304b\u3089\u89e3\u308a\u307e\u3059\u3002\u6050\u3089\u304f\u306f\u300c\u30a6\u30a4\u30eb\u30b9\u30b9\u30ad\u30e3\u30f3\u7528\u306e\u66f4\u65b0\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u51fa\u6765\u307e\u305b\u3093\u3067\u3057\u305f\u300d\uff08fleshclam\u304c\u6b63\u3057\u304f\u52d5\u4f5c\u3067\u304d\u306a\u304b\u3063\u305f\uff09\u3068\u3044\u3063\u305f\u5185\u5bb9\u3002<br><br>\u4f46\u3057\u3001\u554f\u984c\u306f\u305d\u306e\u7406\u7531\u30fb\u30fb\u30fb<br>\u300cProblem with the SSL CA cert (path? access rights?)\u300d<br>\u30fb\u30fb\u30fb\u3053\u308c\u306f\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\uff08\u30eb\u30fc\u30c8\u8a3c\u660e\u66f8\uff1f\uff09\u95a2\u4fc2\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0\u304c\u6b63\u3057\u304f\u53c2\u7167\u51fa\u6765\u306a\u3044\u3068\u6012\u3089\u308c\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u3082\u305d\u3082\u8ad6\u3068\u3057\u3066\u3001\u3053\u306e\u72b6\u6cc1\u306e\u539f\u56e0\u30fb\u8981\u56e0\u304c\u89e3\u308a\u307e\u305b\u3093\u3000\uff1c\uff0d\u3053\u3053\u304c\u554f\u984c\u3002<br><br>\u30af\u30fc\u30b0\u30eb\u5148\u751f\u306b\u5c0b\u306d\u308b\u3082\u3001\u30a4\u30de\u30a4\u30c1\u771f\u3063\u5f53\u306a\u56de\u7b54\u304c\u5f97\u3089\u308c\u305a\u3001\u6570\u6642\u9593\u60a9\u307f\u7d9a\u3051\u307e\u3057\u305f\u3002<br>\u305d\u3057\u3066\u3084\u3063\u3068\u3001\u3053\u3061\u3089\u306e\u5148\u9054\u8005\u306e\u89e3\u306b\u305f\u3069\u308a\u7740\u304d\u307e\u3057\u305f\u3002<br><br>http:\/\/sci10.org\/on_ca-bundle_crt.html<br><br>\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u95a2\u9023\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u969b\u306b\u5931\u308f\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5f53\u305f\u308a\u524d\u3067\u3059\u304c\u3001\u518d\u5ea6\u6b63\u3057\u304f\u30d1\u30c3\u30b1\u30fc\u30b8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u308f\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u98db\u3070\u3057\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u3002<br><br><code># mv \/etc\/pki\/tls\/certs\/ca-bundle.crt \/etc\/pki\/tls\/certs\/ca-bundle.crt.bak<\/code><br><code># yum reinstall ca-certificates<\/code><br><br>\u3092\u5b9f\u884c\u3057\u3066\u3001\/etc\/pki\/tls\/certs\/\u30fb\u30fb\u30fb\u914d\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u7fa4\u3092\u66f4\u65b0\u3057\u305f\u5f8c\u3001\u30ef\u30fc\u30af\u30d5\u30a9\u30eb\u30c0\u306e\u6a29\u5229\u95a2\u4fc2\u3092\u30fb\u30fb\u30fb<br><br>#chown -R clamscan.clamscan<br>#chmod -R 755 workdir<br><br>\u30fb\u30fb\u30fb\u3057\u3066\u3084\u308b\u4e8b\u3067\u3001fleshclam\u541b\u304c\u6b63\u5e38\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br>\u3053\u308c\u3067\u660e\u65e5\u304b\u30891\u901a\u306f\u8b66\u544a\u30e1\u30fc\u30eb\u304c\u6e1b\u308b\u4e8b\u3067\u3057\u3087\u3046\uff08\u307e\u3060\u4ed6\u306b\u3082\u3042\u308b\uff09\u3002<br><br><br>\uff0d\uff0d\uff0d<br>&#8212;&#8212;&#8211; Forwarded Message &#8212;&#8212;&#8211;<br>Subject: Cron \/usr\/share\/clamav\/freshclam-sleep<br>Date: Thu, 25 Feb 2021 15:21:37 +0900 (JST)<br>From: (Cron Daemon) <a href=\"mailto:root@example.com\">root@example.com<\/a><br>To: root@example.com<\/p>\n\n\n\n<p>ERROR: Download failed (77) ERROR: Message: Problem with the SSL CA cert (path? access rights?)<br>ERROR: getpatch: Can&#8217;t download daily-26087.cdiff from https:\/\/database.clamav.net\/daily-26087.cdiff<br>ERROR: Download failed (77) ERROR: Message: Problem with the SSL CA cert (path? access rights?)<br>ERROR: getcvd: Can&#8217;t download daily.cvd from https:\/\/database.clamav.net\/daily.cvd<br>ERROR: Download failed (77) ERROR: Message: Problem with the SSL CA cert (path? access rights?)<br>ERROR: getpatch: Can&#8217;t download daily-26087.cdiff from https:\/\/database.clamav.net\/daily-26087.cdiff<br>ERROR: Download failed (77) ERROR: Message: Problem with the SSL CA cert (path? access rights?)<br>ERROR: getcvd: Can&#8217;t download daily.cvd from https:\/\/database.clamav.net\/daily.cvd<br>ERROR: Download failed (77) ERROR: Message: Problem with the SSL CA cert (path? access rights?)<br>ERROR: getpatch: Can&#8217;t download daily-26087.cdiff from https:\/\/database.clamav.net\/daily-26087.cdiff<br>ERROR: Download failed (77) ERROR: Message: Problem with the SSL CA cert (path? access rights?)<br>ERROR: getcvd: Can&#8217;t download daily.cvd from https:\/\/database.clamav.net\/daily.cvd<br>ERROR: Update failed for database: daily<br>ERROR: Database update process failed: Connection failed (5)<br>ERROR: Update failed.<br>\uff0d\uff0d\uff0d<\/p>\n\n\n\n<p><br><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u518d\u5ea6\u306e\u30af\u30ea\u30fc\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u305fCentOS7.9(x64)\u30b5\u30fc\u30d0\u30fc\u306b\u3066\u3001cron\u541b\u304c\u3054\u4e01\u5be7\u306b\u6bce\u65e5root\u5b9b\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30e1\u30fc\u30eb\u3092\u51fa\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u4e00\u5fdc\u30a6\u30a4\u30eb\u30b9\u30b9\u30ad\u30e3\u30ca\u300cclamav\u300d\u7cfb\u3067\u4f55\u3089\u304b\u306e\u30c8\u30e9\u30d6\u30eb\u304c\u8d77\u304d\u3066\u3044\u308b &hellip; <a href=\"http:\/\/www.feelkind.com\/blog\/?p=92\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=92"}],"version-history":[{"count":1,"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/92\/revisions"}],"predecessor-version":[{"id":93,"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/92\/revisions\/93"}],"wp:attachment":[{"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.feelkind.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}