{"id":882,"date":"2014-10-28T20:28:13","date_gmt":"2014-10-28T20:28:13","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=882"},"modified":"2014-10-28T20:28:13","modified_gmt":"2014-10-28T20:28:13","slug":"cant-open-varlogclamavfreshclam-log-append-mode","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/10\/28\/cant-open-varlogclamavfreshclam-log-append-mode\/","title":{"rendered":"can&#8217;t open \/var\/log\/clamav\/freshclam.log in append mode"},"content":{"rendered":"<p>Error:<\/p>\n<p>[stextbox id=&#8221;warning&#8221;]ERROR: Problem with internal logger (UpdateLogFile = \/var\/log\/clamav\/freshclam.log).<br \/>\nERROR: Can&#8217;t open \/var\/log\/clamav\/freshclam.log in append mode (check permissions!).[\/stextbox]<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># cd \/var\/log\/clamav\n# ls -la freshclam.log\n-rw-r--r-- 1 clamav clamav 0 Oct 20 03:43 freshclam.log\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># nano \/etc\/freshclam.conf\n\n# By default when started freshclam drops privileges and switches to the\n# &quot;clamav&quot; user. This directive allows you to change the database owner.\n# Default: clamav (may depend on installation options)\nDatabaseOwner clam\n\n<\/pre>\n<p>Change to clamav<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# nano \/etc\/clamd.conf\n# Run as another user (clamd must be started by root for this option to work)\n# Default: don&#039;t drop privileges\nUser clam\n\n<\/pre>\n<p>Change to clamav<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error: [stextbox id=&#8221;warning&#8221;]ERROR: Problem with internal logger (UpdateLogFile = \/var\/log\/clamav\/freshclam.log). ERROR: Can&#8217;t open \/var\/log\/clamav\/freshclam.log in append mode (check permissions!).[\/stextbox] # cd \/var\/log\/clamav # ls -la freshclam.log -rw-r&#8211;r&#8211; 1 clamav clamav 0 Oct 20 03:43 freshclam.log # nano \/etc\/freshclam.conf # By default when started freshclam drops privileges and switches to the # &quot;clamav&quot; user. This directive &#8230; <a title=\"can&#8217;t open \/var\/log\/clamav\/freshclam.log in append mode\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/10\/28\/cant-open-varlogclamavfreshclam-log-append-mode\/\" aria-label=\"Read more about can&#8217;t open \/var\/log\/clamav\/freshclam.log in append mode\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-882","post","type-post","status-publish","format-standard","hentry","category-clamav"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=882"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/882\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}